math.wiki
Number › Arithmetic › Multiplication and division › Long division › The standard long division algorithm
Open on the map
Grade 5 · 5.NBT.B.6 · 6.NS.B.2

The standard long division algorithm

A number is far too big for any times table. How do you divide it, one digit at a time?

Where you are 4 in Long division

When you reach for it

A shipping depot has 852 boxes to load onto 3 trucks, the same number on each truck. No times-table fact gives 852 \div 3, and handing the boxes out three at a time would take hundreds of rounds. Partial quotients would get there, by taking away 3 \times 200, then 3 \times 80, then 3 \times 4, but you have to choose the chunks yourself and add them up at the end.

The standard long division algorithm is partial quotients with no choosing. It works through the dividend one place at a time, from the biggest place down, and each step writes exactly one digit of the quotient, in its own place. Reach for it whenever a whole number is too big to divide in your head, by a divisor of one digit or two, and whenever you want the remainder as well as the quotient. With a one-digit divisor each step is a basic fact, as in Dividing by a single digit; with a two-digit divisor each step needs an estimate first.

The words: in 852 \div 3 = 284, the number being shared, 852, is the dividend; the number it is divided by, 3, is the divisor; the answer, 284, is the quotient. What is left when no more equal groups can be made is the remainder.

On paper the divisor goes outside a bracket, the dividend inside it, and the quotient on top. Each digit of the quotient is written straight above the last digit of the part of the dividend it came from, which is how the quotient keeps its place value.

The procedure

Part 1: one place at a time, and the bring-down step

Read 852 as 8 hundreds, 5 tens and 2 ones, and share the biggest pieces first.

Hundreds. Share 8 hundreds among 3 trucks. Each truck can get 2 hundreds, since 2 \times 3 = 6 and 3 \times 3 = 9 is more than 8. Write 2 above the 8, in the hundreds place. Multiply to see how many were handed out: 2 \times 3 = 6 hundreds. Subtract to see what is left: 8 - 6 = 2 hundreds.

Bring down. Two hundreds cannot be shared among three trucks as whole hundreds, so trade them: 2 hundreds are 20 tens, and with the 5 tens already there that makes 25 tens. Writing the 5 beside the 2 to make 25 is the bring-down step. It is that trade, done on paper.

Tens. Share 25 tens: each truck gets 8 tens, since 8 \times 3 = 24 and 9 \times 3 = 27 is too many. Write 8 above the 5. Subtract: 25 - 24 = 1 ten left. Bring down the 2: one ten and two ones are 12 ones.

Ones. Share 12 ones: 4 each, since 4 \times 3 = 12. Write 4 above the 2. Subtract: 12 - 12 = 0, and there are no digits left to bring down. So 852 \div 3 = 284.

3 2 5 8 2 6 − 5 2 8 4 2 − 2 1 4 2 1 − 0
Figure 1852 \div 3 = 284. Each digit of the quotient sits above the last digit of the number it came from, and each line is a subtraction.

Every place runs the same four moves: divide, multiply, subtract, bring down. Each one has a reason.

  • Divide finds the most that each group can get at this place. The digit goes above that place because it counts units of that place: the 2 in 284 means 2 hundreds.
  • Multiply finds how many were handed out in total.
  • Subtract finds what is left. What is left must be less than the divisor. If 3 or more were left, every truck could have had one more, so the digit was too small. If the product is bigger than what you had, the digit was too big.
  • Bring down trades what is left for ten times as many of the next smaller unit, and joins it to the digit already in that place.

Why the answer is right: the three steps handed out 600, 240 and 12 boxes, which together are all 852. By the distributive property,

852 = 3 \times 200 + 3 \times 80 + 3 \times 4 = 3 \times 284

So these are partial quotients after all, the largest possible one at each place.

A quotient digit is never more than 9. What is left after a subtraction is at most 2 when the divisor is 3, so after a bring-down the number being divided is at most 29, and 29 holds fewer than ten 3s. The same holds for any divisor.

Where the first digit goes. If the first digit of the dividend is smaller than the divisor, no group gets one of that place. Start with the first two digits instead (with a two-digit divisor, take as many digits as it needs to reach a number at least as big as the divisor). Each digit skipped at the start is one digit fewer in the quotient (Example 2).

Checking. Multiplication undoes division (Multiplication and division undo each other), so multiply back: 284 \times 3 = 852.

Part 2: zeros in the quotient

Divide 624 by 3. Hundreds: 6 hundreds give 2 each, 2 \times 3 = 6, and 0 are left. Bring down the 2: there are now 2 tens. Tens: 2 tens shared among 3 gives each group no tens at all. The digit is 0, and it is written, above the 2. Then 0 \times 3 = 0, and 2 - 0 = 2 tens are still left. Bring down the 4: 2 tens and 4 ones are 24 ones. Ones: 8 each, since 8 \times 3 = 24, and nothing is left. So 624 \div 3 = 208.

3 4 2 6 2 6 − 2 0 0 − 4 2 8 4 2 − 0
Figure 2624 \div 3 = 208. Two tens cannot be shared among three, so the tens digit of the quotient is 0.

The 0 holds the tens place. Leave it out and the 2 and the 8 slide together into 28, and 28 \times 3 = 84, nowhere near 624. The rule that prevents this: once the first digit of the quotient is written, every bring-down puts one more digit into the quotient, even when that digit is 0. So the quotient has a digit above every digit of the dividend from the first one used to the last.

An estimate catches a lost zero before you even multiply. 624 \div 3 is about 600 \div 3 = 200, so the answer is in the hundreds and has three digits. A zero can also come last, when the final number brought down is smaller than the divisor (Example 4).

Part 3: two-digit divisors and estimating each digit

Divide 896 by 32. The first digit, 8, is smaller than 32, so start with 89 tens. First estimate the whole answer with Friendly numbers and deliberate over and under estimates: 896 \div 32 is about 900 \div 30 = 30, so the quotient is about 30, with two digits.

Tens. How many 32s are in 89? That is not a basic fact, so estimate. Round the divisor to 30 and think of 89 as about 90: 9 tens divided by 3 tens is 3. Try 3: 3 \times 32 = 96, which is more than 89. Too big, so try 2: 2 \times 32 = 64, and 89 - 64 = 25, which is less than 32. The digit is 2.

Ones. Bring down the 6 to make 256. Estimate again: 256 \div 30 is about 25 \div 3, roughly 8. Try 8: 8 \times 32 = 256, and 256 - 256 = 0. So 896 \div 32 = 28, and 28 \times 32 = 896.

2 3 6 9 8 2 4 6 − 6 5 2 8 6 5 2 − 0
Figure 3896 \div 32 = 28. Only the digits that passed the test after estimating are written.

The four moves are the same as in Part 1. The only new thing is that the divide step is now a guess followed by two tests, and the tests are the ones from Part 1:

  • the product is bigger than the number being divided: the guess is too big; lower it by one;
  • what is left is as big as the divisor or bigger: the guess is too small; raise it by one.

The direction of the rounding tells you which way a guess tends to miss. Here 32 was rounded down to 30, and dividing by a smaller number gives a bigger answer, so the first guess came out too big. A divisor rounded up, such as 47 to 50, tends to give guesses that are too small (Example 6). Either way the tests catch it. Choosing trial multiples of a larger divisor is practiced further in Dividing by a two-digit number.

Part 4: remainders and checking

Divide 437 by 6, say 437 boxes packed onto pallets of 6. The 4 is smaller than 6, so start with 43 tens: 7 each, 7 \times 6 = 42, 1 left. Bring down the 7 to make 17: 2 each, 2 \times 6 = 12, 5 left. No digits are left to bring down, and 5 is less than 6, so no further group can be made. The 5 is the remainder, written

437 \div 6 = 72 \text{ R } 5

so the depot fills 72 pallets and has 5 boxes over.

6 7 3 4 7 2 4 − 7 1 2 2 1 − 5 R 5
Figure 4437 \div 6 = 72 \text{ R } 5. The 5 at the bottom is less than 6, so no more groups can be made.

Checking a division with a remainder needs two things:

\text{quotient} \times \text{divisor} + \text{remainder} = \text{dividend}

and the remainder must be less than the divisor. Here 72 \times 6 + 5 = 432 + 5 = 437, and 5 < 6. Both conditions matter: 71 \times 6 + 11 is also 437, but 11 is more than 6, so 71 is not the quotient. With both conditions the quotient and remainder are the only possible pair, a fact stated in general as the division algorithm.

The check catches a wrong digit, a lost zero and a missed bring-down alike (Example 8). What a remainder means in a story, whether to round up, drop it or share it, is the subject of Remainders and what they mean.

Worked examples

Examples 1 and 2 go with Part 1, 3 and 4 with Part 2, 5 and 6 with Part 3, and 7 and 8 with Part 4. In each table, one row is one place, and the columns follow the four moves: “have” is the number in play at that place after the bring-down, counted in that place’s units; “digit” is the quotient digit (divide); “used” is the digit times the divisor (multiply); and “left” is have minus used (subtract).

Example 1

A fact at every step

Babajide’s depot sends 5{,}736 boxes out on 4 trucks, the same number on each. How many boxes go on each truck?

Solution

Estimate first: 4{,}000 \div 4 = 1{,}000 and 8{,}000 \div 4 = 2{,}000, so the answer is between 1{,}000 and 2{,}000, with four digits and 1 in the thousands place.

HaveDigitUsedLeft
5 thousands141
17 hundreds4161
13 tens3121
16 ones4160

Each “have” number is the 1 left over with the next digit brought down beside it, and each “left” is less than 4, so no digit was too small. Each truck takes 1{,}434 boxes.

Check: 1{,}434 \times 4 = 5{,}736.

Example 2

When the first digit is too small

Signe loads 2{,}958 boxes onto 6 trucks, the same number on each. How many on each truck?

Solution

The first digit, 2, is smaller than 6: no truck can get a thousand boxes. So start with 29 hundreds, and the quotient begins in the hundreds place. The estimate agrees: 3{,}000 \div 6 = 500, a three-digit number.

HaveDigitUsedLeft
29 hundreds4245
55 tens9541
18 ones3180

Each truck takes 493 boxes, close to the estimate of 500.

Check: 493 \times 6 = 2{,}958.

Example 3

A zero in the middle

Teodor shares 7{,}236 boxes equally among 9 loading bays. How many boxes go to each bay?

Solution

7 is smaller than 9, so start with 72 hundreds. Estimate: 7{,}200 \div 9 = 800.

HaveDigitUsedLeft
72 hundreds8720
3 tens003
36 ones4360

After the hundreds nothing is left, and bringing down the 3 gives only 3 tens, too few for each of 9 bays to get one. The tens digit is 0, and the 3 tens stay to be traded for 30 ones. Each bay gets 804 boxes. Without the zero the answer would read 84, and the estimate of 800 rules that out at once.

Check: 804 \times 9 = 7{,}236.

Example 4

Zeros at the end, and two in a row

Divide (a) 4{,}850 \div 5 \qquad (b) 6{,}024 \div 6

Solution

(a) Start with 48 hundreds, since 4 < 5. Digit 9, 9 \times 5 = 45, 3 left. Bring down the 5 to make 35 tens: digit 7, 7 \times 5 = 35, 0 left. Bring down the 0: 0 ones, so the digit is 0. The quotient is 970.

That last 0 is easy to drop, because nothing was left before it. But the dividend has a ones digit, so the quotient needs one too, and 4{,}850 \div 5 is about 5{,}000 \div 5 = 1{,}000, which 970 fits and 97 does not. Check: 970 \times 5 = 4{,}850.

(b) 6 thousands give digit 1, with 0 left. Bring down the 0: 0 hundreds, digit 0. Bring down the 2: 2 tens, fewer than 6, digit 0, with 2 left. Bring down the 4: 24 ones, digit 4. The quotient is 1{,}004, with two zeros in a row. The estimate 6{,}000 \div 6 = 1{,}000 confirms four digits. Check: 1{,}004 \times 6 = 6{,}024.

Example 5

A two-digit divisor

Mina packs 5{,}184 boxes onto pallets of 24. How many pallets does she fill?

Solution

5 < 24 but 51 > 24, so start with 51 hundreds. Estimate: 5{,}000 \div 25 = 200, so expect about 200, three digits. For each digit, round 24 to 20.

Hundreds. 51 \div 20 is about 2. Try 2: 2 \times 24 = 48, and 51 - 48 = 3, less than 24. The digit is 2.

Tens. Bring down the 8: 38. Thinking of 38 as about 40 gives 40 \div 20 = 2, but 2 \times 24 = 48 is more than 38. Too big, so try 1: 1 \times 24 = 24, and 38 - 24 = 14. The digit is 1.

Ones. Bring down the 4: 144. 140 \div 20 = 7, but 7 \times 24 = 168 is more than 144. Too big; try 6: 6 \times 24 = 144, and nothing is left. The digit is 6.

Mina fills 216 pallets. Rounding 24 down to 20 made two of the three guesses too big, which is the direction Part 3 predicts.

Check: 200 \times 24 = 4{,}800 and 16 \times 24 = 384, so 216 \times 24 = 5{,}184.

Example 6

Rounding the divisor up

Ahmad packs 9{,}729 boxes onto pallets of 47. How many pallets?

Solution

Start with 97 hundreds. Round 47 to 50. Estimate: 10{,}000 \div 50 = 200.

Hundreds. 100 \div 50 = 2. Try 2: 2 \times 47 = 94, 97 - 94 = 3. The digit is 2.

Tens. Bring down the 2: 32, smaller than 47. The digit is 0, and 32 is left.

Ones. Bring down the 9: 329. Thinking of 329 as about 330, and 6 \times 50 = 300, gives a guess of 6. Try it: 6 \times 47 = 282, and 329 - 282 = 47. What is left is not less than 47, so a whole extra 47 is still there: the guess is too small. Try 7: 7 \times 47 = 329, and nothing is left.

Ahmad fills 207 pallets. Rounding 47 up made the guess too small this time, and the zero in the tens place came from a bring-down that left a number smaller than the divisor, exactly as in Part 2.

Check: 200 \times 47 = 9{,}400 and 7 \times 47 = 329, so 207 \times 47 = 9{,}729.

Example 7

A remainder after a zero

Oona has 3{,}250 boxes and pallets that hold 8. How many full pallets can she make, and how many boxes are left over?

Solution
HaveDigitUsedLeft
32 hundreds4320
5 tens005
50 ones6482

There are no digits left to bring down, and 2 < 8, so 3{,}250 \div 8 = 406 \text{ R } 2. Oona makes 406 full pallets with 2 boxes left over.

Check: 406 \times 8 + 2 = 3{,}248 + 2 = 3{,}250, and 2 < 8.

Example 8

Using the check to catch a slip

A truck holds 45 crates. Babajide works out 6{,}000 \div 45 and writes 13 \text{ R } 15. Check his answer, and correct it if it is wrong.

Solution

13 \times 45 + 15 = 585 + 15 = 600, not 6{,}000. The answer is wrong, and being off by a factor of ten suggests a missing digit. The estimate agrees: 6{,}000 \div 50 = 120, so the quotient has three digits.

Divide again, rounding 45 to 50. Start with 60 hundreds: digit 1, 1 \times 45 = 45, 15 left. Bring down a 0: 150 tens. 150 \div 50 = 3, and 3 \times 45 = 135, 15 left. Bring down the last 0: 150 ones, digit 3 again, 15 left. Babajide stopped one bring-down early.

6{,}000 \div 45 = 133 \text{ R } 15

Check: 133 \times 45 + 15 = 5{,}985 + 15 = 6{,}000, and 15 < 45. So 133 trucks go out full, and 15 crates are left; moving every crate takes 134 trucks.

Boundaries

The divisor cannot be 0. No number of groups of 0 makes 852, so 852 \div 0 has no answer, and the first divide step has nothing to find.

The remainder is always less than the divisor, at every step and at the end. A leftover as big as the divisor means the digit above it was too small.

Each quotient digit is a single digit, 0 to 9. If an estimate says 10, take 9: a leftover less than the divisor, with one digit brought down, always holds fewer than ten divisors.

A dividend smaller than the divisor gives quotient 0 and leaves the whole dividend as the remainder: 5 \div 8 = 0 \text{ R } 5.

The method works for any divisor. A three-digit divisor needs no new idea, but the estimate step gets harder, and it is usually easier to think in multiples, as in Dividing by a two-digit number.

Whole numbers only. Here the division stops at the ones place and leaves a remainder. Carrying on past the ones place, with a decimal point, gives a decimal quotient instead; that is Dividing decimals and Dividing multi-digit decimals with the standard algorithm.

Where this goes next

The same divide, multiply, subtract, bring down is the engine of every later division. Taken past the ones place it gives decimal quotients, first when the dividend has a decimal point (Dividing decimals) and then for any decimals (Dividing multi-digit decimals with the standard algorithm). Run on a fraction’s numerator and denominator it turns the fraction into a decimal (Converting between fractions and decimals), and there the remainders that come back again are what make some decimals repeat.

The check from Part 4, quotient times divisor plus remainder equals dividend, with the remainder smaller than the divisor, is The division algorithm, the fact behind remainders, divisibility and the greatest common factor. And longer two-digit divisions, where choosing the trial multiple is most of the work, are Dividing by a two-digit number.

Exercises

Part 1: one-digit divisors

Divide, and check by multiplying.

  1. 96 \div 4
  2. 738 \div 3
  3. 4{,}165 \div 5
  4. 9{,}184 \div 7
  5. Babajide shares 2{,}592 boxes equally among 8 trucks. How many boxes go on each truck?

Part 2: zeros in the quotient

  1. 618 \div 6
  2. 2{,}840 \div 4
  3. 5{,}445 \div 5
  4. 8{,}016 \div 8
  5. Signe works out 7{,}231 \div 7 and gets 133. Show that she is wrong without dividing, then find the right quotient.

Part 3: two-digit divisors

  1. 672 \div 21
  2. 1{,}564 \div 34
  3. 3{,}096 \div 43
  4. 8{,}265 \div 15
  5. 5{,}488 \div 56
  6. 6{,}496 \div 32
  7. Oona has 4{,}368 boxes and pallets that hold 52. How many pallets does she fill?

Part 4: remainders and checking

Divide, give the remainder, and check.

  1. 875 \div 4
  2. 5{,}003 \div 6
  3. 2{,}917 \div 23
  4. 4{,}000 \div 64
  5. Ahmad says 3{,}145 \div 8 = 392 \text{ R } 9, and points out that 392 \times 8 + 9 = 3{,}145. Is his answer right? If not, correct it.
  6. Teodor has 1{,}250 boxes to move, and each truck carries 36. How many trucks are full, how many boxes are left over, and how many trucks does he need to move every box?

Reasoning

  1. Mina is dividing by 7. At one step her subtraction leaves 9. What went wrong, and how does she fix it?
  2. Without dividing, explain how many digits the quotient of 3{,}412 \div 43 has. Then divide.
  3. Liesel divides 745 by 5. After the hundreds step 2 is left, and she brings down the 4 to make 24. Explain what the 24 counts, and why the next quotient digit goes above the 4 and not above the 7. Then finish the division.
Answers
  1. 24. 9 tens: digit 2, 8 used, 1 left; 16 ones: digit 4. Check: 24 \times 4 = 96.
  2. 246. 7: digit 2, 1 left; 13: digit 4, 1 left; 18: digit 6. Check: 246 \times 3 = 738.
  3. 833. Start with 41 hundreds: digit 8, 1 left; 16: digit 3, 1 left; 15: digit 3. Check: 833 \times 5 = 4{,}165.
  4. 1{,}312. 9: digit 1, 2 left; 21: digit 3, 0 left; 8: digit 1, 1 left; 14: digit 2. Check: 1{,}312 \times 7 = 9{,}184.
  5. 324 boxes. Start with 25 hundreds: digit 3, 1 left; 19: digit 2, 3 left; 32: digit 4. Check: 324 \times 8 = 2{,}592.
  6. 103. 6: digit 1; 1 ten is fewer than 6, digit 0; 18: digit 3. Check: 103 \times 6 = 618.
  7. 710. 28: digit 7; 4: digit 1; the last 0: digit 0. Check: 710 \times 4 = 2{,}840.
  8. 1{,}089. 5: digit 1; 4 is fewer than 5, digit 0, 4 left; 44: digit 8, 4 left; 45: digit 9. Check: 1{,}089 \times 5 = 5{,}445.
  9. 1{,}002. 8: digit 1; 0: digit 0; 1: digit 0, 1 left; 16: digit 2. Check: 1{,}002 \times 8 = 8{,}016.
  10. 1{,}033. 133 \times 7 = 931, nowhere near 7{,}231; and 7{,}000 \div 7 = 1{,}000, so the quotient has four digits. Dividing: 7: digit 1; 2: digit 0, 2 left; 23: digit 3, 2 left; 21: digit 3. She dropped the zero.
  11. 32. 67 \div 20 is about 3: 63, 4 left; 42: digit 2. Check: 32 \times 21 = 672.
  12. 46. 156: a guess of 5 gives 170, too big, so 4: 136, 20 left; 204: digit 6. Check: 46 \times 34 = 1{,}564.
  13. 72. 309: digit 7, 301, 8 left; 86: digit 2. Check: 72 \times 43 = 3{,}096.
  14. 551. 82: digit 5, 75, 7 left; 76: digit 5, 1 left; 15: digit 1. Check: 551 \times 15 = 8{,}265.
  15. 98. 548: digit 9, 504, 44 left; 448: a guess of 7 leaves 56, too small, so 8. Check: 98 \times 56 = 5{,}488.
  16. 203. 64: digit 2; 9 is smaller than 32, digit 0; 96: digit 3. Check: 203 \times 32 = 6{,}496.
  17. 84 pallets. 436: digit 8, 416, 20 left; 208: digit 4. Check: 84 \times 52 = 4{,}368.
  18. 218 \text{ R } 3. 8: digit 2; 7: digit 1, 3 left; 35: digit 8, 3 left. Check: 218 \times 4 + 3 = 875, and 3 < 4.
  19. 833 \text{ R } 5. 50: digit 8, 2 left; 20: digit 3, 2 left; 23: digit 3, 5 left. Check: 833 \times 6 + 5 = 4{,}998 + 5 = 5{,}003.
  20. 126 \text{ R } 19. 29: digit 1, 6 left; 61: digit 2, 15 left; 157: guesses of 8 and 7 are too big, so 6, 138, 19 left. Check: 126 \times 23 + 19 = 2{,}898 + 19 = 2{,}917.
  21. 62 \text{ R } 32. 400: digit 6, 384, 16 left; 160: digit 2, 128, 32 left. Check: 62 \times 64 + 32 = 3{,}968 + 32 = 4{,}000, and 32 < 64.
  22. No: 3{,}145 \div 8 = 393 \text{ R } 1. The first condition holds, but the remainder 9 is not less than 8, so one more 8 fits. Check: 393 \times 8 + 1 = 3{,}145.
  23. 34 full trucks, 26 boxes left, 35 trucks needed. 125: digit 3, 108, 17 left; 170: digit 4, 144, 26 left. Check: 34 \times 36 + 26 = 1{,}250. The 26 boxes need one more truck.
  24. The digit she wrote is too small: 9 is not less than 7, so another 7 fits. She raises the digit by one and subtracts 7 more, leaving 9 - 7 = 2.
  25. Two digits, and 3{,}412 \div 43 = 79 \text{ R } 15. 34 is smaller than 43, so the first digit goes over the 1, in the tens place, and the ones place is the only other. Dividing: 341: a guess of 8 gives 344, too big, so 7, 301, 40 left; 402: the estimate 400 \div 40 = 10 is too many for one digit, so try 9: 387, 15 left. Check: 79 \times 43 + 15 = 3{,}397 + 15 = 3{,}412.
  26. 745 \div 5 = 149. The 2 left after the hundreds step is 2 hundreds, which trade for 20 tens; with the 4 tens already there they make 24 tens. Sharing 24 tens among 5 gives 4 tens each, so the digit 4 counts tens and belongs in the tens place, above the 4; written above the 7 it would mean 4 hundreds. Then 4 \times 5 = 20, leaving 4 tens; bringing down the 5 makes 45 ones, digit 9. Check: 149 \times 5 = 745.
kg1128 · updated 2026-10-12 · CC-BY-SA-4.0