OR Calculator (Bitwise)

Your details

Choose how you want to enter the two operands.
First non-negative integer. Enter in the base selected above.
Second non-negative integer. Enter in the base selected above.
Pad the binary display to a fixed width. "Auto" uses the fewest bits needed.
Result (decimal)
61

Bitwise OR result in base 10

Result (binary)00111101
Result (hexadecimal)3D
Result (octal)75
A in decimal60
B in decimal13
Bits in result6
A (decimal)60
B (decimal)13
A OR B61

60 OR 13 = 61

  • A OR B = 61 (decimal) = 00111101 (binary).
  • The result needs 6 bits to represent in binary.

Next stepBitwise OR is commonly used in systems programming to set specific flags without disturbing others - for example, enabling a permission bit in a Unix file mode or combining CSS colour channels.

= Powered by OnlyCalculators