💻 TechnologybeginnerOffline

Binary Calculator

Bitwise AND, OR, XOR, NOT, SHIFT and base conversions for binary.

Inputs
Enter your values below.
Result
Your answer appears here.

Enter values and press Calculate — the result appears here.

How it works
The formula behind this calculator.

binary to decimal: Σ(bit × 2^position)

bit
0 or 1
position
Index from right, starting at 0

Each binary digit is a power of 2, doubled as you go left. 8-bit values range 0–255.

Example: 1010 = 1·8 + 0·4 + 1·2 + 0·1 = 10

Ref: Positional numeral system, base 2

Tips
  • 💡 Every binary digit (bit) is a power of 2, doubled as you go left.
  • 💡 Group binary into 4 bits per hex digit for compact display: 1010 = A, 1101 = D.

Related calculators