Number Base Converter
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Convert a whole number between bases 2 to 36: binary, octal, decimal, hexadecimal and more.
Result
Sample figures
Result
Decimal value
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
How this calculator works
The digits are read in the starting base (0-9, then A-Z for 10 to 35) and the exact value is rebuilt with arbitrary-precision integers, then written in the target base.
Worked example
| Number | 11,111,111 |
|---|---|
| From base | 2 (binary) |
| To base | 16 (hexadecimal) |
| Result | FF |
|---|---|
| Decimal value | 255 |
Frequently asked questions
What is 255 in binary?
11111111.
What is FF in decimal?
255.
Related calculators
MathSquare Root CalculatorFind the square root, cube root or any root of a number.MathLogarithm CalculatorFind log of a number in any base, along with the common, natural and binary logarithms.MathExponent CalculatorRaise any number to a power and see the result in scientific notation too.MathRoman Numeral ConverterConvert a number (1 to 3999) to Roman numerals, or Roman numerals back to a number.MathLog CalculatorCompute the log of a number in base 10, base e, base 2 or any base you type.MathGreatest Common Divisor CalculatorEnter two or three whole numbers to get their greatest common divisor (GCD) and their least common multiple (LCM).MathTriangular Number CalculatorEnter a position n to get the nth triangular number, or enter any whole number to see whether it is triangular and at which position.MathLong Division CalculatorEnter a dividend and a divisor (whole numbers) to get the quotient, the remainder and the decimal answer.