Integer Calculator

Add, subtract, multiply and divide positive and negative integers step by step, with the sign rules explained and a list adder.

Loading calculator...

Integer calculator in short
On this page

How to use the integer calculator

1

Choose a mode

Two integers, or a list of integers to add.

2

Enter the integers

Use a minus sign for negatives, such as −8.

3

Pick the operation

Add, subtract, multiply or divide.

4

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.

Related tools

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

A whole number that can be positive, negative or zero, such as −3, 0 or 12. It has no fractional or decimal part.

Add the absolute values and keep the negative sign. −4 + (−6) = −10.

A positive. (−6) × (−4) = 24.

Change it to adding the positive. 7 − (−3) = 7 + 3 = 10.

Yes. −7 ÷ 2 = −3.5. The calculator also shows the quotient and remainder and the fraction −7/2.

Yes. Switch to the list mode and enter as many integers as you like.

Embed this calculator on your website

Free to use on any site. Copy the code below and paste it into an HTML block on your page. Please keep the credit link under the calculator.

Show the embed code

Works with WordPress, Wix, Squarespace, Webflow and most site builders that allow HTML. How embedding works.

Estimates, not advice

PureCalculate’s calculators give estimates for planning and education. They aren’t financial, tax or legal advice. Fees and tax rules change, so check the official source before making a decision. Spotted a mistake? Please tell us through the contact page.

Scroll to Top