Base Calculator
Add, subtract, multiply and divide numbers written in any base from 2 to 36.
Change the values and press Calculate to work out your own figures.
Choose the base, enter two numbers and choose an operation.
Show the working
- Convert to decimal: 656₇ = 335 and 5₇ = 5
- Work it out: 335 ÷ 5 = 67
- Convert back to base 7: 67 = 124₇
How to use it
Choose the base, enter two numbers and choose an operation.
Letters stand for digits above 9 (A = 10 … Z = 35) and can be typed in either case; prefixes such as 0b and 0x, spaces and underscores are ignored. Show the working gives each step.
Key facts
a ₍b₎ ∘ c ₍b₎: convert to exact values, compute, convert back to base b
How it works
Each number is turned into an exact value from its place values, the arithmetic is done exactly, and the answer is written back in the same base, with any repeating fraction digits in parentheses.
Questions
What is 656 ÷ 5 in base 7?
124 (335 ÷ 5 = 67 in decimal).
Which digits does base 36 use?
0–9 and A–Z.
Formulas
a ₍b₎ ∘ c ₍b₎: convert to exact values, compute, convert back to base b
Sources
Limitations
- Numbers have at most 1,000 characters; Roman numerals cover whole numbers from 1 to 3,999,999.