01Number Base Converter
Number base conversion translates numbers between different positional numeral systems. Computers use binary (base 2) internally; hexadecimal (base 16) is used as a compact human-readable form of binary data; octal (base 8) appears in Unix file permissions. Understanding number bases is fundamental to computing, networking, and digital electronics.
- 1Binary (base 2): digits 0–1, place values 1, 2, 4, 8, 16...
- 2Octal (base 8): digits 0–7, place values 1, 8, 64, 512...
- 3Decimal (base 10): digits 0–9, place values 1, 10, 100...
- 4Hexadecimal (base 16): digits 0–9 and A–F (10–15)
- 5Convert to decimal first, then convert from decimal to target base
Binary 1010 → decimal=101×8 + 0×4 + 1×2 + 0×1 = 10
Decimal 255 → hex=FF255 = 15×16 + 15 = 0xFF
Hex 1F → decimal=311×16 + 15 = 31
| Decimal | Binary | Octal | Hex |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 8 | 1000 | 10 | 8 |
| 10 | 1010 | 12 | A |
| 15 | 1111 | 17 | F |
| 16 | 10000 | 20 | 10 |
| 255 | 11111111 | 377 | FF |
| 256 | 100000000 | 400 | 100 |
🔒
100% Ilmainen
Ei rekisteröintiä
✓
Tarkka
Vahvistetut kaavat
⚡
Välitön
Tulokset heti
📱
Mobiiliystävällinen
Kaikki laitteet