Arithly

← All topics

Integer Calculator

An integer is a whole number that can be positive, negative or zero: …, −3, −2, −1, 0, 1, 2, 3, … This calculator adds, subtracts, multiplies and divides integers and compares two of them, showing every step — including the sign rule that decides each answer. Pick a mode, set the numbers with the buttons (the +/− button flips a number’s sign), and the working appears as you go. For the ideas behind the buttons, read the sign rules below; or ask the question in your own words on the Arithly home page — hints first, then the whiteboard. Free, no sign-up.

Same signs: add the sizes and keep the sign. Different signs: subtract the sizes and take the sign of the bigger size.

The result appears here as you change the numbers.

The sign rules

Every integer answer is decided by two things: the sign (whether the number is positive, negative or zero) and the size (how far the number is from zero — its distance on the number line). The rules:

How the calculator works

Every answer can be checked in words: the Solve box solves the same questions with hints and a whiteboard, and the five worked examples below are its own output, word for word.

Think first

Arithly gives hints before the answer. For the first worked example below, the hints are:

Worked examples

-8 + 5

  1. Work one operation at a time, keeping every sign with its number.
  2. The signs are DIFFERENT: subtract the smaller size from the larger size, 8 − 5 = 3.
  3. The larger size belongs to −8, so the answer takes its sign: −8 + 5 = −3.
  4. Answer: -3.

Answer: -3

Try it in the calculator above: mode Add, first integer -8, second integer 5 — the same answer, worked the same way.

-4 - -9

  1. Work one operation at a time, keeping every sign with its number.
  2. Subtracting a negative is the same as ADDING its positive: −4 − (−9) becomes −4 + 9.
  3. The signs are DIFFERENT: subtract the smaller size from the larger size, 9 − 4 = 5.
  4. The larger size belongs to 9, so the answer takes its sign: −4 + 9 = 5.
  5. −4 − −9 = 5.
  6. Answer: 5.

Answer: 5

That one is mode Subtract: first integer -4, second integer -9 (use the flip button to make the second number negative).

-6 x -7

  1. Work one operation at a time, keeping every sign with its number.
  2. Sign rule for multiplying: the signs are the SAME, so the answer is POSITIVE — a negative times a negative gives a positive.
  3. Multiply the sizes: 6 × 7 = 42, then give it the sign from the rule: −6 × −7 = 42.
  4. Answer: 42.

Answer: 42

Mode Multiply with -6 and -7: two negatives, one positive answer.

-36 / -9

  1. Work one operation at a time, keeping every sign with its number.
  2. Sign rule for dividing (the same as for multiplying): the signs are the SAME, so the answer is POSITIVE.
  3. Divide the sizes: 36 ÷ 9 = 4, then give it the sign from the rule: −36 ÷ −9 = 4.
  4. Answer: 4.

Answer: 4

Mode Divide with -36 and -9.

Which is greater, -3 or -7?

  1. On the number line, numbers further to the RIGHT are greater; numbers further to the LEFT are smaller.
  2. −7 sits further left than −3 — on the negative side, the number further from zero is the smaller one, so −3 is the greater number.
  3. Answer: -3.

Answer: -3

And that one is mode Compare: -3 against -7.

Ask it in words

Every shape below is one the Arithly Solve box answers today, with the same hints, steps and checking as the examples above:

Honest notes: dividing by zero is never answered — it has no answer. A chain of operations is worked when every division in it comes out exact; a single division may answer as a fraction. The dress “-9 squared” is not answered, because it is genuinely ambiguous (−(92) or (−9)2) — ask “What is the square of -9?” instead. Ordering a list of integers lives with the number-line questions in the Solve box.

Practice

Each question opens in the Arithly solver — try it yourself first, then compare:

Related topics

Absolute value

The size of an integer — its distance from zero — which is what every sign rule above works with.

Binomial Distribution Calculator

Count successes in repeated trials: exact and cumulative probabilities, mean and standard deviation.

Probability Calculator

One event, complements, two events and repeated trials — exact fractions with steps.

HCF and LCM

Highest common factors and lowest common multiples of positive whole numbers, worked in full.

More topics: all maths topics · Next topic: Solving Exponential Equations

Arithly — free maths help, hints first. About · Privacy · Licence (CC BY-NC 4.0)