Number Base Converter
Convert between binary, octal, decimal, and hexadecimal
Type in any field to convert instantly
Decimal
Base 10
Binary
Base 2
Octal
Base 8
Hex
Base 16
Number Bases Explained
Different number systems use different bases to represent values. Computers internally work in binary (base 2), while hexadecimal (base 16) is a compact way to represent binary data.
Quick Reference
- Binary (Base 2) — digits: 0, 1. Used internally by all computers.
- Octal (Base 8) — digits: 0–7. Used in Unix file permissions.
- Decimal (Base 10) — digits: 0–9. Standard human counting.
- Hexadecimal (Base 16) — digits: 0–9, A–F. Used in colors, memory addresses, encoding.