Integer Calculator

Enter two integers and choose an operation.

A whole number, positive or negative.

Operation

What to do with the two integers.

A whole number, positive or negative.

Try

Result

You entered(−15)÷3\left(-15\right) \div 3

−5\displaystyle -5
Show the work
  1. Sign rule for quotients

    Divide the sizes of the two numbers. If the signs are the same the quotient is positive; if they differ it is negative.

    (−15)÷3=−(15÷3)=−5\begin{aligned} \left(-15\right) \div 3 &= -\left(15 \div 3\right) \\ &= -5 \end{aligned}
  2. Result

    So (−15)÷3=−5\left(-15\right) \div 3 = -5.

Worked examples