Loading calculator...
- Adds, subtracts, multiplies and divides positive and negative integers.
- Explains the sign rule used at each step.
- Adds a whole list of integers at once.
- For division, also shows the quotient, remainder and fraction.
How to use the integer calculator
Choose a mode
Two integers, or a list of integers to add.
Enter the integers
Use a minus sign for negatives, such as −8.
Pick the operation
Add, subtract, multiply or divide.
Read the steps
The answer appears with the sign rule and each step of the working.
Rules for integer operations
Adding and subtracting
Same signs: add the absolute values and keep the sign
Different signs: subtract the smaller absolute value from the larger and keep the sign of the larger
a − b = a + (−b): subtracting is adding the opposite
Multiplying and dividing
Positive × positive = positive
Negative × negative = positive
Positive × negative = negative
The same sign rules apply to division.
Example 1: adding with different signs
−8 + 5
- Absolute values 8 and 5
- Subtract 8 − 5 = 3
- Sign of the larger (−8) negative
- Answer −3
On a number line, start at −8 and move 5 steps right.
Example 2: subtracting a negative
7 − (−3)
- Add the opposite 7 + 3
- Answer 10
Two minus signs next to each other become a plus.
Example 3: multiplying and dividing
Sign rules in action.
- (−6) × (−4) 24
- (−20) ÷ 4 −5
- (−7) ÷ 2 −3.5 = −7/2
- −7 + 12 + (−3) + 5 7
For a list, add the positives (17) and the negatives (−10), then combine them.
Where an integer calculator helps
Pre-algebra homework
Check integer problems and learn the sign rules from the steps.
Temperatures
Work out changes above and below zero.
Money in and out
Add deposits and withdrawals, or profits and losses.
Elevation
Find the difference between heights above and below sea level.
For fractions, use the fraction calculator. For numbers with a decimal point, try the decimal calculator, and for powers of negative numbers the exponent calculator.
Integer calculator FAQ
What is an integer?
A whole number that can be positive, negative or zero, such as −3, 0 or 12. It has no fractional or decimal part.
What is a negative plus a negative?
Add the absolute values and keep the negative sign. −4 + (−6) = −10.
What is a negative times a negative?
A positive. (−6) × (−4) = 24.
How do I subtract a negative number?
Change it to adding the positive. 7 − (−3) = 7 + 3 = 10.
Can dividing integers give a decimal?
Yes. −7 ÷ 2 = −3.5. The calculator also shows the quotient and remainder and the fraction −7/2.
Can I add more than two integers?
Yes. Switch to the list mode and enter as many integers as you like.