Binary Calculator
Convert and calculate between binary, decimal, and hex.
Binary
1011
Decimal
11
Hexadecimal
B
Octal
13
Bits needed
4
Positional notation, base 2
Binary uses only 0 and 1, with each position worth a power of two: 1011₂ = 8 + 0 + 2 + 1 = 11. Converting decimal to binary repeatedly divides by 2 and reads the remainders backward.
Why computers count this way
A transistor is on or off — two states — so base 2 is the natural hardware alphabet. Hex exists as compressed binary: one hex digit is exactly four bits, which is why memory addresses and colors (#FF6B35) are written in it.
Related calculators
Percentage Calculator
Solve any percentage problem: percent of, percent change, and more.
Fraction Calculator
Add, subtract, multiply, and divide fractions with simplified results.
Scientific Calculator
A full scientific calculator with trig, logs, and exponents.
Random Number Generator
Generate random numbers in any range, with or without repeats.