OR Calculator

Perform a bitwise OR on two numbers and see the result in binary, decimal, and octal.

OR Calculator

Our OR Calculator applies the bitwise OR operation to two numbers, bit by bit. Enter each number as decimal, binary, or octal, choose a bit width, and get the result in every format at once.

OR Operation Explained

OR: a result bit is 1 when at least one of the two numbers has a 1 in that position; the result bit is 0 only when both numbers have a 0 in that position. Formula: A OR B.

Truth Table

A  B  |  OR
0  0  |   0
0  1  |   1
1  0  |   1
1  1  |   1

Example Calculation (8-bit)

A = 12 (00001100), B = 10 (00001010)

OR: 00001100 | 00001010 = 00001110 = 14

Features of Our OR Calculator

✅ Accepts decimal, binary, or octal input
✅ Choose 4, 8, 12, or 16-bit representation
✅ Computes the bitwise OR of two numbers
✅ Shows signed and unsigned decimal, binary, and octal results

Who Can Use This Calculator?

Programmers – For debugging flags, masks, and bitwise logic
Students – For digital logic and computer science coursework
Network & Systems Engineers – For subnet masks and permission flags
Puzzle Solvers – For quick binary logic checks

👉 Try our OR Calculator to perform bitwise OR on any two numbers instantly.