Number converter

Type a number, pick its base, and see it in every base at once.

How base conversion works

value = Σ digit × base^position

Each digit is multiplied by the base raised to its position, counting from 0 on the right. Binary 1101 = 1×8 + 1×4 + 0×2 + 1×1 = 13. Hexadecimal FF = 15×16 + 15 = 255.

Common values
DecimalBinaryOctalHex
1111
21022
81000108
10101012A
16100002010
321000004020
64100000010040
100110010014464
25511111111377FF
256100000000400100
1024100000000002000400

Frequently asked questions

How do I convert binary to decimal?

Multiply each binary digit by 2 raised to its position, counting from 0 on the right, then add the results. For example, 1101 = 8 + 4 + 0 + 1 = 13.

What is hexadecimal?

Hexadecimal is base 16. It uses the digits 0 to 9 and the letters A to F, where A is 10 and F is 15.

How large a number can I convert?

Any size. The tool uses arbitrary-precision integers. Roman numerals are shown for 1 to 3,999.