🔢 Positional Number System Converter
Number Base Converter
Convert integers between Decimal (Base 10), Binary (Base 2), Hexadecimal (Base 16), and Octal (Base 8).
Presets:
255 (Dec)
11111111 (Bin)
FF (Hex)
377 (Oct)
42 (Dec)
DEADBEEF (Hex)
Decimal (Base 10)
255
Binary (Base 2)
11111111
Hexadecimal (Base 16)
FF
Octal (Base 8)
377
Bit-Width Representations:
8-bit Binary
11111111
16-bit Binary
0000000011111111
32-bit Binary
00000000000000000000000011111111
Understanding Positional Number Systems
Every number system uses positional notation, where each digit's value depends on its position (power of the base). The four most common systems in computing are:
| System | Base | Digits Used | Common Use |
|---|---|---|---|
| Decimal | 10 | 0–9 | Everyday human counting |
| Binary | 2 | 0, 1 | CPU registers, machine code |
| Hexadecimal | 16 | 0–9, A–F | Memory addresses, CSS colors |
| Octal | 8 | 0–7 | Unix file permissions (chmod) |