🔢 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:

SystemBaseDigits UsedCommon Use
Decimal100–9Everyday human counting
Binary20, 1CPU registers, machine code
Hexadecimal160–9, A–FMemory addresses, CSS colors
Octal80–7Unix file permissions (chmod)
Copied to clipboard!