Back to Home
Published: June 2026•By Web Util Slyce Team•6 min read
Number Systems — Binary, Octal, Decimal, Hex
A co mplete reference for number base systems. Convert between bases with our Number Base Converter.
Base Overview
| Name | Base | Digits | Example | Common Use |
|---|---|---|---|---|
| Binary | 2 | 0, 1 | 1010 (decimal 10) | Computer hardware, bitwise operations |
| Octal | 8 | 0–7 | 12 (decimal 10) | Unix file permissions (chmod 755) |
| Decimal | 10 | 0–9 | 42 | Everyday arithmetic, human-readable |
| Hexadecimal | 16 | 0–9, A–F | 2A (decimal 42) | Color codes, memory addresses, hash output |
Conversion Table (1–20)
| Decimal | Binary | Octal | Hex |
|---|---|---|---|
| 1 | 1 | 1 | 1 |
| 2 | 10 | 2 | 2 |
| 3 | 11 | 3 | 3 |
| 4 | 100 | 4 | 4 |
| 5 | 101 | 5 | 5 |
| 6 | 110 | 6 | 6 |
| 7 | 111 | 7 | 7 |
| 8 | 1000 | 10 | 8 |
| 9 | 1001 | 11 | 9 |
| 10 | 1010 | 12 | A |
| 11 | 1011 | 13 | B |
| 12 | 1100 | 14 | C |
| 13 | 1101 | 15 | D |
| 14 | 1110 | 16 | E |
| 15 | 1111 | 17 | F |
| 16 | 10000 | 20 | 10 |
| 17 | 10001 | 21 | 11 |
| 18 | 10010 | 22 | 12 |
| 19 | 10011 | 23 | 13 |
| 20 | 10100 | 24 | 14 |
Power Reference
Binary Powers
2¹ = 22² = 42³ = 82⁴ = 162⁸ = 2562¹⁰ = 1,0242¹⁶ = 65,5362³² = 4,294,967,296Hex Powers
16¹ = 1616² = 25616³ = 4,09616⁴ = 65,53616⁵ = 1,048,57616⁶ = 16,777,216