Number Base Converter

Convert numbers between decimal, binary, hexadecimal, and octal bases instantly.

Conversion Examples:

10 (Decimal)
= 1010 (Binary)
= 12 (Octal)
= A (Hex)
255 (Decimal)
= 11111111 (Binary)
= 377 (Octal)
= FF (Hex)
256 (Decimal)
= 100000000 (Binary)
= 400 (Octal)
= 100 (Hex)

Number Base Systems

Decimal (Base 10)

Uses digits 0-9. The standard numbering system used in everyday life.

Binary (Base 2)

Uses digits 0-1. Foundation of computer systems and digital electronics.

Octal (Base 8)

Uses digits 0-7. Historically used in computing before hex became dominant.

Hexadecimal (Base 16)

Uses digits 0-9 and letters A-F. Essential for color codes and memory addresses.

When to Use Each Base:

  • Decimal: General mathematics and everyday counting
  • Binary: Digital circuits, logic gates, bitwise operations
  • Octal: File permissions (Linux/Unix), legacy systems
  • Hexadecimal: Color codes (#FF6B6B), memory addresses, API responses