Skip to content
RK Calculator
Menu

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.

About baseThe base both numbers are written in.
About first numberWritten in the base chosen above.
About operationWhat to do with the two numbers.
About second numberWritten in the base chosen above.
Result
Quotient in base 7
124
Quotient and remainder
124 R 0
In decimal
335 ÷ 5 = 67
Answer in binary
1000011
Answer in octal
103
Answer in hexadecimal
43

656 ÷ 5 = 124 in base 7.

Show the working
  1. Convert to decimal: 656₇ = 335 and 5₇ = 5
  2. Work it out: 335 ÷ 5 = 67
  3. 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.

Formula version 0.1.0Reviewed