Base Calculator
Enter the values into the base calculator and click on “Calculate” to perform arithmetic operations across different base number systems (such as binary, octal, decimal, or hexadecimal). The tool will show the results in each selected base.
Base Calculator - Add, Subtract, Multiply, or Divide Numbers of Any Base
This base calculator is designed to perform arithmetic operations on numbers represented in different base systems. With the help of our tool, you can also convert one base into another.
What is Base?
A base or radix indicates a count of different digits representing numbers within a positional numeral system.
Types of Base:
There are four most common bases that include:
- Binary (base 2)
- Octal (base 8)
- Decimal (base 10)
- Hexadecimal (base 16)
Arithmetic Operations in Different Bases
Arithmetic operations (addition, subtraction, multiplication, and division) can be performed on different bases, but they need to understand the given below rules:
Addition:
- Add the digits from right to left and convert them into decimal
- If the addition of values is less than the base then write the results
- If the sum is greater or equal to the base, then write the remainder and carry quotient to the next column
Subtraction:
- Subtract the numbers from right to left
- If the minuend is greater than or equals the subtrahend then write their difference
- When the number is too small to subtract, borrow from the next large value and equal the base to the original digit.
Multiplication:
- Similar to the decimal multiplications, but performed through the base calculations
- Use the partial values and sum up these digits together
Division:
- The base division is also similar to decimal division, but the calculations can be done under the base
In addition to the mathematical operations, the modulus operations are also considered by the base calculator. This modulus principle short form “mod” yields the remainder when a number is divided by the base.
Mod:
The mod is used in the base number system to determine the remainder after division. It works with the data represented in various numeral systems.
Binary, Decimal, Octal, Hexadecimal Equivalents
| Binary (Base-2) | Decimal (Base-10) | Octal (Base-8) | Hexadecimal (Base-16) |
| 0 | 0 | 0 | 0 |
| 1 | 1 | 1 | 1 |
| 10 | 2 | 2 | 2 |
| 11 | 3 | 3 | 3 |
| 100 | 4 | 4 | 4 |
| 101 | 5 | 5 | 5 |
| 110 | 6 | 6 | 6 |
| 111 | 7 | 7 | 7 |
| 1000 | 8 | 10 | 8 |
| 1001 | 9 | 11 | 9 |
| 1010 | 10 | 12 | A |
| 1011 | 11 | 13 | B |
| 1100 | 12 | 14 | C |
| 1101 | 13 | 15 | D |
| 1110 | 14 | 16 | E |
| 1111 | 15 | 17 | F |
| 10000 | 16 | 20 | 10 |
| 10001 | 17 | 21 | 11 |
| 10010 | 18 | 22 | 12 |
| 10011 | 19 | 23 | 13 |
| 10100 | 20 | 24 | 14 |
Related Tools