OR Calculator

Online calculator for bitwise OR operation on text in ASCII or numbers in Binary, Octal, Decimal, & Hex formats.

Multiple input numbers (even greater than 2) are supported by applying bitwise operations successively on the intermediate results.

All processing happens on the client-side, locally in your browser. No data is uploaded.

Choose the base of the input numbers
Choose the delimiter used to separate each item
Binary ResultThe result of OR operation in Binary
-
Octal ResultThe result of OR operation in Octal
-
Decimal ResultThe result of OR operation in Decimal
-
Hex ResultThe result of OR operation in Hex
-
Ascii ResultThe result of OR operation in Ascii
-
Input BaseThe base of the input numbers either explicitly specified or automatically detected
-

History

  • 2018-03-25Tool Launched

Settings explained

Input Base

Choose the base of the input numbers.

Auto Detect: the number base is detected from the input: binary when only 0s and 1s are used, decimal for other digits, hex for the letters A to F or a 0x, &h or $ prefix, and ASCII text for anything else. Octal is never guessed: choose it.

Binary (base 2)
1000 OR 1111 = 1111
Octal (base 8)
1000 OR 7777 = 7777
Decimal (base 10)
1000 OR 9999 = 10223
Hex (base 16)
1000 OR FFFF = FFFF
Ascii (base 256)
a OR B = c
Delimiter

What separates each item. Auto Detect takes any space, new line, tab, comma or semi-colon; the others take only that one, so a new line delimiter keeps the spaces in text.

Auto Cleansing

The operator written between the items is skipped, as a word (OR) or a symbol (|), and hex numbers run together (0x1F0x2A) are taken apart.

Calculate Intermediate Results

Shows each input and each result on the way in a table, in binary and in the input base. With more than two inputs, the operation is applied to the first two, then to that result and the next input, and so on.

OR Truth Table

Boolean Operations
A B Result
False False False
True False True
False True True
True True True
Bit Operations
A B Result
0 0 0
1 0 1
0 1 1
1 1 1