Adding & Subtracting Integers Calculator
Add or subtract up to 8 integers and get step-by-step working, a live number line, and full rule explanations — instantly.
Number Line
Each arrow shows one operation — right = positive movement, left = negative movement.
Step-by-Step Solution
Each operation is applied in order, converting subtraction to addition of the opposite.
What Are Integers?
Integers are a set of numbers that include all whole numbers — both positive and negative — and zero. They are represented by the symbol ℤ (from the German word Zahlen, meaning "numbers").
The Integer Number Line
Rules for Adding & Subtracting Integers
+ Addition Rules
Add the absolute values and keep the common sign.
Subtract the smaller absolute value from the larger. Keep the sign of the larger number.
− Subtraction Rule — "Add the Opposite"
To subtract an integer, add its opposite. Change the subtraction sign to addition, then flip the sign of the number being subtracted.
All 8 Integer Operation Combinations
| Operation Type | Rule Applied | Example | Result |
|---|---|---|---|
| Positive + Positive | Add absolute values, keep + | 3 + 4 | 7 |
| Negative + Negative | Add absolute values, keep − | (−3) + (−4) | −7 |
| Positive + Negative | Subtract, keep sign of larger | 3 + (−4) | −1 |
| Negative + Positive | Subtract, keep sign of larger | (−3) + 4 | 1 |
| Positive − Positive | Add opposite: a + (−b) | 3 − 4 | −1 |
| Negative − Negative | Add opposite: a + b (double neg) | (−3) − (−4) | 1 |
| Positive − Negative | Add opposite: a + b (double neg) | 3 − (−4) | 7 |
| Negative − Positive | Add opposite: a + (−b) | (−3) − 4 | −7 |
Properties of Integer Addition
Order doesn't matter for addition.
Grouping doesn't change the result.
Adding zero leaves a number unchanged.
Every integer plus its opposite equals zero.
Adding or subtracting any two integers always produces another integer. The set is "closed" under these operations.
Worked Examples
All 8 operation types — click Try it to load any example into the calculator.
Addition — Same Signs
Addition — Opposite Signs
Subtraction (Add the Opposite)
Multi-Step & Real-World
The temperature is −3°C. It rises 8°C, then drops 5°C. What is the final temperature?
Balance: ₹500. Withdraw ₹200, deposit ₹350, withdraw ₹400. Final balance?
Frequently Asked Questions
What is an integer?
An integer is any whole number — positive, negative, or zero — with no fractional or decimal part. The set of integers is ℤ = {…, −3, −2, −1, 0, 1, 2, 3, …}. Numbers like 2.5, ½, and √2 are not integers.
How do you add integers with the same sign?
Add the absolute values of both numbers and give the result the common sign. If both are positive, the result is positive. If both are negative, the result is negative. Example: (−4) + (−6) = −10 because |−4| + |−6| = 10, and both have the negative sign.
How do you add integers with opposite signs?
Subtract the smaller absolute value from the larger, then use the sign of the number with the larger absolute value. Example: 5 + (−8): |−8| > |5|, so 8 − 5 = 3, and the result takes the sign of −8 → result is −3.
What does "subtracting a negative" mean?
Subtracting a negative number is the same as adding a positive — the two minus signs cancel: a − (−b) = a + b. Example: 4 − (−3) = 4 + 3 = 7. Think of it as "taking away a debt," which gives you more money.
What is the absolute value?
The absolute value of a number is its distance from zero on the number line — always non-negative. Written as |n|. Examples: |5| = 5, |−7| = 7, |0| = 0. Absolute value ignores the sign and tells you "how far" from zero.
What is a number's opposite (additive inverse)?
The opposite of a number is the same number with the sign flipped. Adding a number and its opposite always gives zero: a + (−a) = 0. The opposite of 6 is −6. The opposite of −9 is 9. The opposite of 0 is 0.
Does the order of addition matter for integers?
For addition, no — the commutative property says a + b = b + a. You can add integers in any order and get the same result. For subtraction, yes — order matters. 5 − 3 = 2 but 3 − 5 = −2. However, subtraction can always be rewritten as addition, and then the commutative property applies.