Numbers & Arithmetic

Dividing Integers

To divide integers, divide their absolute values, then make the answer positive if the two signs match and negative if they differ. So −84÷7=−12-84 \div 7 = -12, while −84÷(−7)=12-84 \div (-7) = 12.

ab=q  ⟺  a=b⋅q,−ab=a−b=−ab,−a−b=ab(b≠0)\frac{a}{b}=q \iff a=b\cdot q,\qquad \frac{-a}{b}=\frac{a}{-b}=-\frac{a}{b},\qquad \frac{-a}{-b}=\frac{a}{b}\quad (b\neq 0)

Try it with your numbers

Show every step

Division is multiplication run backwards, which is why the sign rules are exactly the ones from multiplying integers. The sections below show why those rules must be true, what happens with several divisions in a row, with zero, and with answers that are not whole numbers.

How do you divide integers step by step?

Every integer division is two separate jobs: finding the size and finding the sign. The size is ordinary whole-number division of the absolute values, and the sign comes from comparing the signs you started with.

  1. Ignore the signs and divide the absolute values.
  2. Compare the sign of the dividend (the number being divided) with the sign of the divisor.
  3. Same signs give a positive quotient. Different signs give a negative quotient.
Dividend Divisor Quotient Example
++ ++ ++ 18÷3=618 \div 3 = 6
−- −- ++ −18÷(−3)=6-18 \div (-3) = 6
++ −- −- 18÷(−3)=−618 \div (-3) = -6
−- ++ −- −18÷3=−6-18 \div 3 = -6

Take −84÷7-84 \div 7. The sizes give 84÷7=1284 \div 7 = 12, and the signs differ, so the answer is −12-12. Now take −96÷(−8)-96 \div (-8). The sizes give 96÷8=1296 \div 8 = 12, and both signs are negative, so the answer is +12+12.

−84÷7=−12−96÷(−8)=12-84 \div 7 = -12 \qquad -96 \div (-8) = 12

The slip that costs the most points is reading only the sign of the first number. The divisor carries exactly as much weight as the dividend: change either sign alone and the answer flips, change both and it flips back.

Quick check

−72÷9-72 \div 9

Why a negative divided by a negative is positive

Rules are easier to trust once you see that they cannot be otherwise. Division is defined through multiplication: a÷b=qa \div b = q means b⋅q=ab \cdot q = a. So to find −12÷(−3)-12 \div (-3), ask which number qq satisfies −3⋅q=−12-3 \cdot q = -12.

−3⋅4=−12works,−3⋅(−4)=12does not-3 \cdot 4 = -12 \quad\text{works},\qquad -3 \cdot (-4) = 12 \quad\text{does not}

The answer must be +4+4. The same test settles the mixed case: for 12÷(−3)12 \div (-3), you need −3⋅q=12-3 \cdot q = 12, and only q=−4q = -4 does it. Every sign rule for division is the matching multiplication fact read backwards, so if you trust (−3)(4)=−12(-3)(4) = -12 and (−3)(−4)=12(-3)(-4) = 12, you already trust all four division rules.

This is also where students mix up addition and division. In adding integers, two negatives stay negative: −5+(−3)=−8-5 + (-3) = -8. In division, two negatives cancel into a positive. The operations have different sign behavior, so learn them as separate rules rather than one blurry one.

Dividing by negative one

Dividing any integer by −1-1 only flips its sign, and dividing by 11 changes nothing. For example, −9÷(−1)=9-9 \div (-1) = 9 and 9÷(−1)=−99 \div (-1) = -9.

Dividing integers in a row: counting negatives

Two division chains with the same numbers give 3 and 12 depending on parentheses
Division is not associative, so grouping 4 ÷ (−2) first turns the answer from 3 into 12.

When a problem chains several divisions, you do not need to track the sign at every step. Count the negative signs in the whole expression: an odd count gives a negative result, an even count gives a positive one. Then divide the absolute values from left to right, following the usual order of operations.

−48÷(−6)÷(−2)=8÷(−2)=−4-48 \div (-6) \div (-2) = 8 \div (-2) = -4

There are three negatives, an odd number, so the result is negative, and the step-by-step work agrees. The count is a built-in check: if your final sign disagrees with it, an arithmetic slip happened somewhere.

The trap here is grouping. Division is not associative, so moving parentheses changes the answer:

−24÷4÷(−2)=−6÷(−2)=3-24 \div 4 \div (-2) = -6 \div (-2) = 3

−24÷(4÷(−2))=−24÷(−2)=12-24 \div \bigl(4 \div (-2)\bigr) = -24 \div (-2) = 12

A useful way to see the first line: dividing by 44 and then by −2-2 is the same as dividing once by their product, −24÷(4⋅(−2))=−24÷(−8)=3-24 \div (4 \cdot (-2)) = -24 \div (-8) = 3. Dividing by a quotient is a different operation entirely, which is why the second line lands on 1212.

Dividing integers by zero, and zero by integers

Zero behaves differently in the dividend and in the divisor. The multiplication definition from earlier explains all three cases at once.

  • 0÷n=00 \div n = 0 for any nonzero integer nn, because n⋅0=0n \cdot 0 = 0.
  • n÷0n \div 0 is undefined when n≠0n \neq 0, because no qq makes 0⋅q=n0 \cdot q = n.
  • 0÷00 \div 0 has no single answer, because every qq satisfies 0⋅q=00 \cdot q = 0.

Zero has no sign, so 0÷(−5)=00 \div (-5) = 0, never −0-0. The undefined case is not a matter of convention or politeness: asking for 5÷05 \div 0 is asking for a number that, multiplied by 00, gives 55, and such a number does not exist. Calculators and software report an error for the same reason.

Try this: Try to solve 0⋅q=50 \cdot q = 5 by testing five different values of qq, then try 0⋅q=00 \cdot q = 0. Write one sentence explaining why the first has no answer and the second has too many.

When dividing integers does not give an integer

Number line showing −17 divided by 5 with remainder 3 in Python and −2 in C
Rounding the quotient down lands on −20 and adds 3, while truncating lands on −15 and adds −2, and both reach −17.

The integers are closed under addition, subtraction and multiplication, but not under division. 7÷27 \div 2 is not an integer, and neither is −20÷8-20 \div 8. The result is an integer only when the divisor is a factor of the dividend. Non-integer quotients are rational numbers, so the answer lives in a bigger set, and the extra step is just to write it as a fraction or decimal.

Take −17÷5-17 \div 5. Same rule, same sizes: 17÷517 \div 5 gives 175\frac{17}{5}, and the signs differ, so the quotient is negative.

−17÷5=−175=−3.4=−325-17 \div 5 = -\frac{17}{5} = -3.4 = -3\frac{2}{5}

Remainder form is where programming and school math disagree. Many languages (Python’s floor division, for example) round toward negative infinity, so −17//5-17 // 5 gives −4-4 with remainder 33, because −17=5(−4)+3-17 = 5(-4) + 3. Languages such as C and Java truncate toward zero and give −3-3 with remainder −2-2. Both are consistent with the same identity, so when a remainder is involved, check which convention the course or tool uses.

Quick check

Write −20÷8-20 \div 8 as a simplified fraction and as a decimal.

Where does the negative sign go in a fraction?

A division of integers is often written as a fraction, and a fraction can carry its negative sign in three places with the same value. A single negative sign in the numerator, in the denominator, or in front of the whole fraction means the same number. Two negatives, one top and one bottom, cancel.

−124=12−4=−124=−3−12−4=124=3\frac{-12}{4} = \frac{12}{-4} = -\frac{12}{4} = -3 \qquad\qquad \frac{-12}{-4} = \frac{12}{4} = 3

The tidy convention is to move a lone negative to the front or the numerator, so the denominator stays positive. This matters later when you simplify rational expressions and compare answers with a key, since 3−4\frac{3}{-4} and −34-\frac{3}{4} are the same value in different clothes.

Dividing is also multiplying by the reciprocal, and a reciprocal keeps its sign. That gives a second route to the same result: −12÷(−4)=−12⋅(−14)=3-12 \div (-4) = -12 \cdot \left(-\tfrac{1}{4}\right) = 3. The same reciprocal move drives dividing fractions, so integer division is the simplest case of a rule you keep using.

Faster ways to divide large integers

For big numbers, split the sign decision from the arithmetic and then shrink the arithmetic. The first shortcut is cancelling common factors, the same idea as simplifying fractions. Trailing zeros are the easiest to spot: dividing top and bottom by 1010 removes one from each.

−4200−70=−420−7=60\frac{-4200}{-70} = \frac{-420}{-7} = 60

The signs match, so the answer is positive, and 420÷7=60420 \div 7 = 60 finishes it. The second shortcut is to divide by a composite number in stages. For −756÷12-756 \div 12, divide by 44 and then by 33:

−756÷4=−189,−189÷3=−63-756 \div 4 = -189, \qquad -189 \div 3 = -63

So −756÷12=−63-756 \div 12 = -63. To know in advance whether a division will come out exactly, use the divisibility rules: the digits of 756756 add to 1818, so it is divisible by 33 and 99, and it ends in an even two-digit number divisible by 44, which is why splitting 1212 into 4⋅34 \cdot 3 worked cleanly.

Sign first, size second

Decide the sign of the answer before touching the digits, and write it down. A correct size with a forgotten sign is the most common wrong answer in this topic.

Where dividing integers shows up in real life

Anywhere a total change is shared evenly, the total and the count are integers and the answer can be negative. A balance that drops by 540540 dollars over 66 months gives −540÷6=−90-540 \div 6 = -90, a loss of 9090 dollars per month. A debt of $360 split equally between 44 people is −360÷4=−90-360 \div 4 = -90 each. A diver who changes depth by −96-96 meters over 1212 minutes moves at −8-8 meters per minute.

The same operation sits inside the slope of a line, which is a change in yy divided by a change in xx. From (1,5)(1, 5) to (4,−1)(4, -1):

slope=−1−54−1=−63=−2\text{slope} = \frac{-1 - 5}{4 - 1} = \frac{-6}{3} = -2

A negative result means the quantity falls as the other rises. This is the core of slope-intercept form, and it is why fluent sign handling in division pays off long after arithmetic class.

Quick check

A temperature changes by −15-15 degrees over 55 hours at a steady rate. What is the change per hour?

How to check an integer division answer

The cleanest check is to multiply back: the quotient times the divisor must give the dividend. For −96÷(−8)=12-96 \div (-8) = 12, test 12⋅(−8)=−9612 \cdot (-8) = -96. That matches the original dividend, so the answer is right, sign included.

q⋅b=a⟺a÷b=qq \cdot b = a \quad\Longleftrightarrow\quad a \div b = q

Two quick checks run before multiplying. First, count the negatives: odd means a negative answer, even means positive. Second, estimate the size. For −1248÷6-1248 \div 6, round 12481248 to 12001200 and get about −200-200, so an answer like −20-20 or −2080-2080 is wrong immediately. The exact answer is −208-208, and 6⋅(−208)=−12486 \cdot (-208) = -1248 confirms it.

If you are working with larger systems of numbers, the real number system shows where integers sit among rationals and irrationals, and why division is the operation that pushes you out of the integers.

Practice problems

0 of 5 solved

  1. 42÷(−6)42 \div (-6)

  2. −56÷(−8)-56 \div (-8)

  3. −135÷9-135 \div 9

  4. −240÷15÷(−4)-240 \div 15 \div (-4)

  5. (−18−42)÷(7−10)(-18 - 42) \div (7 - 10)

Common questions

What are the rules for dividing integers?

Divide the absolute values, then look at the signs. If both integers have the same sign the quotient is positive, and if the signs differ the quotient is negative. For example, −20÷(−4)=5-20 \div (-4) = 5 and −20÷4=−5-20 \div 4 = -5.

Why is a negative divided by a negative positive?

Division undoes multiplication. Since −4⋅5=−20-4 \cdot 5 = -20, it follows that −20÷(−4)=5-20 \div (-4) = 5. A negative quotient would break that link, because −4⋅(−5)=20-4 \cdot (-5) = 20, not −20-20.

What is zero divided by a negative number?

It equals 00. For any nonzero integer nn, 0÷n=00 \div n = 0 because n⋅0=0n \cdot 0 = 0. Zero has no sign, so the answer is simply 00, never −0-0.

Can you divide a number by zero?

No. Division by zero is undefined, because no number multiplied by 00 can give a nonzero dividend. The case 0÷00 \div 0 is also not a single answer, since every number would satisfy 0⋅q=00 \cdot q = 0.

Is dividing integers always an integer?

No. Integers are not closed under division, so 7÷27 \div 2 gives 3.53.5, which is a rational number but not an integer. The result is an integer only when the divisor is a factor of the dividend.

Do you divide integers left to right?

Yes. When a problem has only multiplication and division, work from left to right. Grouping differently changes the answer: −24÷4÷(−2)=3-24 \div 4 \div (-2) = 3, but −24÷(4÷(−2))=12-24 \div (4 \div (-2)) = 12.

Up next