Amran Hossain Patwary

Base Converter

Convert numbers between any base — 2 through 36

Converter
swap
⚠ Invalid digits for the selected base
Quick base: BIN 2 OCT 8 DEC 10 HEX 16 B32 32 B36 36
How It Works
  1. Convert source → decimal by multiplying each digit by the source base raised to its positional power (right = 0):
    decimal = Σ ( digit × baseposition )
  2. Convert decimal → target by repeatedly dividing by the target base. The remainders, read in reverse, form the result.