Back to Calculators

Binary Calculator

Convert between binary, decimal, hexadecimal, and octal number systems, plus perform binary arithmetic.

Number Conversion

Common Values

Reference

Powers of 2

2⁰1
2
4
8
2⁴16
2⁵32
2⁶64
2⁷128
2⁸256

Binary to Decimal

Example: 1011₂ to decimal
1×2³ + 0×2² + 1×2¹ + 1×2⁰
= 8 + 0 + 2 + 1 = 11

Bit Positions

Bit Position: 7 6 5 4 3 2 1 0
Example: 1 0 1 1 0 1 0 1

Tips

  • • Binary uses only 0s and 1s
  • • Each position represents a power of 2
  • • Computers use binary internally
  • • 8 bits = 1 byte
  • • Leading zeros don't change the value