Number Base Converter

Edit any field — decimal, binary, hex, or octal — and all others update instantly. Supports values up to 4,294,967,295 (unsigned 32-bit max).

Quick Reference (0–15)
DecBinaryHexOctal
0000
1111
21022
31133
410044
510155
611066
711177
81000810
91001911
101010A12
111011B13
121100C14
131101D15
141110E16
151111F17

Frequently asked questions

How do you convert decimal to binary?

Repeatedly divide by 2, recording the remainder each time. Read remainders from bottom to top. Example: 13 ÷ 2 = 6 R1, 6 ÷ 2 = 3 R0, 3 ÷ 2 = 1 R1, 1 ÷ 2 = 0 R1 → 1101 in binary.

What is hexadecimal used for?

Hexadecimal (base 16) is used in computing to represent binary data compactly. One hex digit represents exactly 4 binary bits, making it easy to read memory addresses, color codes (#FF5733), and byte values.

How do you convert binary to octal?

Group the binary digits into groups of 3 from right to left, padding with leading zeros if needed. Convert each group to its octal digit. Example: 101110 → 101 110 → 5 6 → 56 in octal.

Other number tools