Numeral System Converter
Convert numbers between any bases from 2 to 36
Result
๐ข What is a numeral system
A numeral system is a way to write numbers. The same value can look different: 200 in decimal is 11001000 in binary, 310 in octal and C8 in hexadecimal.
The base shows how many distinct digits are used. Decimal uses 0โ9; hexadecimal uses 0โ9 and AโF.
๐ Main systems
Everyday system. Digits 0โ9.
Used in computing. Digits 0 and 1.
Used in digital electronics. Digits 0โ7.
Web colours (#FF0000), memory addresses. Digits 0โ9 and AโF.
โ๏ธ How to convert
To decimal
Multiply each digit by the base raised to its place power and sum. Example: 5678 = 5ร8ยฒ + 6ร8ยน + 7ร8โฐ = 37510.
From decimal
Divide repeatedly by the new base and write remainders in reverse. Example: 37510 โ 5678.
Between arbitrary bases
Convert to decimal first, then to the target โ the converter shows both steps.
๐ก Examples
- 10102 โ 1010: 1ร2ยณ + 0ร2ยฒ + 1ร2ยน + 0ร2โฐ = 8 + 2 = 10
- FF16 โ 25510: 15ร16ยน + 15ร16โฐ = 240 + 15 = 255
- 37510 โ 5678: division by 8 yields remainders 7, 6, 5
- 110010002 โ C816: via decimal: 20010