Number Base Converter

Recent Conversions

No conversions yet. Start converting to see your history here.

Popular Number Base Conversions

Binary (Base 2)

  • Uses digits: 0, 1
  • Common in computing
  • Example: 1010₂ = 10₁₀

Octal (Base 8)

  • Uses digits: 0-7
  • Historical computing
  • Example: 12₈ = 10₁₀

Hexadecimal (Base 16)

  • Uses digits: 0-9, A-F
  • Modern computing
  • Example: A₁₆ = 10₁₀

Number Base Reference

Common Bases

  • Base 2: Binary (0,1)
  • Base 8: Octal (0-7)
  • Base 10: Decimal (0-9)
  • Base 16: Hexadecimal (0-9,A-F)

Extended Bases

  • Base 20: Vigesimal (0-9,A-J)
  • Base 26: Alphabetic (0-9,A-P)
  • Base 32: Base32 encoding
  • Base 36: Alphanumeric (0-9,A-Z)

Applications

  • Binary: Computer logic
  • Octal: Unix permissions
  • Hex: Memory addresses
  • Base 36: URL shorteners

Conversion Examples

Binary to Decimal

1010₂ = 1×2³ + 0×2² + 1×2¹ + 0×2⁰ = 8 + 0 + 2 + 0 = 10₁₀

Decimal to Hexadecimal

255₁₀ = FF₁₆ (15×16¹ + 15×16⁰ = 240 + 15 = 255)

Hexadecimal to Binary

A₁₆ = 1010₂ (each hex digit = 4 binary digits)

Base 36 Example

Z₁₆ = 35₁₀ (Z is the 35th character in base 36)