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(−7)÷2\left(-7\right) \div 2

−3.5\displaystyle -3.5

Fraction

−72\displaystyle -\frac{7}{2}
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.

    (−7)÷2=−72=−3.5\begin{aligned} \left(-7\right) \div 2 &= -\frac{7}{2} \\ &= -3.5 \end{aligned}
  2. Result

    So (−7)÷2=−3.5\left(-7\right) \div 2 = -3.5.

Worked examples