Skip to content
AllCalcHub

Integer Calculator

Add, subtract, multiply and divide positive and negative numbers, with the sign rules explained and the jump shown on a number line.

About the Integer Calculator

Integers are whole numbers that can be negative, zero or positive. Adding a positive number moves right on the number line; adding a negative moves left. Subtracting a number is the same as adding its opposite.

For multiplying and dividing, the sign rule is simple: same signs give a positive answer, different signs give a negative one.

The formula

a − b = a + (−b); (−a) × (−b) = ab

Sign rules

Signs× or ÷ gives
+ and ++
− and −+
+ and −−
− and +−

Worked example

7 + (−10)

  1. Different signs: subtract the sizes, 10 − 7 = 3
  2. 10 is larger and negative, so the answer is −3

Questions people ask

Why is a negative times a negative positive?

Multiplying by −1 flips direction on the number line. Flipping twice brings you back to the positive side.

Is zero positive or negative?

Neither. Adding or subtracting zero changes nothing.