Ad Space
Math Calculators

OR Calculator (Bitwise)

Perform a bitwise OR operation on two integers and see the binary result.

A OR B (decimal)
A in binary
B in binary
Result in binary
Ad Space — 300×250

About the OR Calculator (Bitwise)

The bitwise OR operation compares two numbers bit by bit: each resulting bit is 1 if either (or both) of the corresponding input bits is 1.

Formula: result bit = 1 if at least one input bit is 1, else 0

OR is often used to "set" specific bits — for example, to turn on flag bits without disturbing the others.

Ad Space