A base (radix) tells you how many distinct digits exist before you carry to the next place. Decimal uses ten digits (0–9); binary uses two (0–1); hexadecimal uses sixteen (0–9 and A–F). The value of a numeral is the sum of each digit times the base raised to its place power, starting at 0 on the right.
To convert between bases, expand to decimal then divide out the target base. Our Number Base Conversions tool keeps decimal, hexadecimal, octal, and binary in sync as you type.
Binary 1011 to decimal: (1×2³) + (0×2²) + (1×2¹) + (1×2⁰) = 8 + 0 + 2 + 1 = 11. Hex B is also 11; so 1011₂ = B₁₆ = 11₁₀.
Each hex digit is exactly four bits. Split long binary strings into groups of four from the right, convert each nibble to hex, and concatenate. Example: 1101 1011 → D B → DB.
Standard positional numeral systems; Knuth, The Art of Computer Programming, vol. 2 (seminumerical algorithms).
Last updated: June 2026