Number Base Converter
Convert between any two number bases (2-36).
About Number Base Converter
Any number can be represented in any base (2-36). Common bases: binary (2), octal (8), decimal (10), hexadecimal (16).
$$n_{base1} \rightarrow n_{base2}$$
How to use this calculator
- Enter the number you want to convert in its current base.
- Choose the starting base, then choose the target base.
- Check the converted result in the new base.
- Use the step-by-step explanation to see how the digits were transformed.
The formula explained
The notation \(n_{base1} \rightarrow n_{base2}\) means a number written in one base is rewritten in another base without changing its value. The calculator finds the same quantity, just expressed with a different place-value system.
- n = the number being converted
- base1 = the original base the number is written in
- base2 = the base you want the number converted to
Step by step method
- Convert the original number to base 10 by expanding it with place values.
- Convert the base 10 value into the target base by repeated division or place-value grouping.
- Write the remainders in reverse order to form the new number.
Worked example
Problem. Convert \(1011_2\) to base 10.
- Start with place values: \(1011_2 = 1\cdot2^3 + 0\cdot2^2 + 1\cdot2^1 + 1\cdot2^0\).
- Calculate each term: \(1\cdot8 + 0\cdot4 + 1\cdot2 + 1\cdot1 = 8 + 0 + 2 + 1\).
- Add them: \(11\). So \(1011_2 = 11_{10}\).
Answer. \(1011_2 = 11_{10}\)
Tips and common mistakes
- Make sure every digit is valid for the chosen base, for example, a base 2 number can only use 0 and 1.
- If you are converting from a larger base to a smaller one, do not change the value digit by digit, first rewrite it using place values.
Frequently asked questions
How do I use the number base converter?+
Enter the number you want to convert, choose the starting base and the target base, then the calculator shows the converted value. If the tool supports it, it can also show the place value steps so you can see how each digit is interpreted.
What does converting between bases 2 through 36 mean?+
A base tells you how many digits a number system uses before it carries to the next place. Base 2 uses digits 0 and 1, base 10 uses 0 through 9, and bases above 10 use letters like A, B, C for values 10, 11, 12, and so on.
Why is my input rejected or giving an error?+
The most common reason is that the number contains a digit that is not allowed in the chosen base, such as 8 in base 8 or G in base 16. Also check for spaces, punctuation, or lowercase and uppercase letters if the tool expects a specific format.
Can the converter handle numbers with fractions or decimals?+
Base conversion can be done for whole numbers and, in many cases, for fractional parts too, but the fractional part may repeat in the target base. If a decimal repeats, the tool may round the result or show only a finite number of digits.
What is the difference between converting a number base and converting units or changing place value?+
Base conversion changes how the same quantity is written, not the quantity itself, so 1010 in base 2 and 10 in base 10 represent the same value. Unit conversion changes the measurement itself, like meters to feet, while base conversion only changes the numeral system.
More Mathematics Tools
Explore related calculators in this category
Absolute Value Calculator
Calculate the absolute value of any number. Use this free calculator for fast, accurate answers, complete with the formula and a worked example.
Absolute Value Equation Solver
Solve equations of the form |ax + b| = c.
Adding Fractions Calculator
Add two fractions with step-by-step simplification.
One-Way ANOVA Calculator
Perform one-way ANOVA on multiple groups.
You Might Also Like
Popular tools from other categories
AC to DC Converter Calculator
Convert AC voltage to DC voltage for different rectifier configurations. Free online calculator with instant, step-by-step results.
Acid-Base Titration Calculator
Calculate concentration from titration data. Get quick, accurate results with this free online calculator, including formulas and worked examples.
ABV Calculator
Calculate alcohol by volume from original and final gravity. Free calculator with instant calculations, the underlying formula, and an easy-to-follow example.
Amortization Schedule Calculator - Free Online
Free Generate a complete amortization schedule. Step-by-step solutions and formulas included. Free, accurate results with step-by-step explanations.
Can't Find the Right Calculator?
Try our AI Math Solver, type any problem in plain English and get instant step-by-step solutions.