Long Division Calculator

Long division is the one piece of school arithmetic that is really an algorithm. Four instructions — divide, multiply, subtract, bring down — repeated once per column until the digits run out, and every intermediate value written down where you can see it. That last part is why it survives the calcu...

A remainder is not a decimal. 7 ÷ 2 is 3 remainder 1, and it is also 3.5 — but the 1 and the 5 are different quantities. The remainder counts leftover units of the dividend; the 5 counts tenths. Read one as the other and 3 r 1 becomes 3.1. Most divisions never resolve into a tidy decimal at all: of the 999 divisors between 2 and 1000, only 28 produce a decimal that ever stops. The rest repeat forever, and this page finds the repeating block exactly rather than cutting the answer off and hoping.

THE DIVISION

DIVIDEND

DIVISOR

DECIMAL PLACES

4
At that point:

125 ÷ 4 TO 4 PLACES

31.25

31.25

The division comes out exactly after 2 decimal places, so nothing is lost.

QUOTIENT AND REMAINDER

31 remainder 1

Check: 4 × 31 + 1 = 125 ✓ back to the dividend

SUBTRACTIONS

4

steps in the working

REPEATING BLOCK

none

it ends cleanly

BEFORE THE REPEAT

2

decimal places in total

EXACT AS A FRACTION

125/4

in lowest terms

WHAT IS HAPPENING

THE WORKINGdivide · multiply · subtract · bring down — one column at a time43125125001205410820200the last remainder is zero, so the division is finished

Every column asks the same question. How many whole times does the divisor fit into what is standing there? That count is the quotient digit, the multiple comes off, and the next digit drops down beside what is left. The leftover is always smaller than the divisor — if it were not, the digit above it was too small.

THE REMAINDERS DECIDE EVERYTHINGeach one determines the next digit — so the moment one comes back, the digits must too2205leftdigita remainder of zero ends it — nothing is left to bring the next digit out of
THE ANSWER, WRITTEN PROPERLYthis one stops, so every digit is final3125002 decimal places, then nothing

Every remainder computed exactly · the tableau and the answer are worked out separately and compared

Created with❤️byeaglecalculator.com

HOW TO USE

  1. 1

    Type the dividend and the divisor. Decimals are fine — if the divisor is not a whole number the page shifts both by the same power of ten and tells you so, which is exactly what you would do on paper.

  2. 2

    Read the tableau on the right. The quotient builds above the bar, each subtraction sits under the digits it came from, and the dashed lines show which digit is being brought down into the next step.

  3. 3

    Check the remainder trail underneath. It shows the leftover at every step, and marks the moment one repeats — which is the reason the decimal repeats, not a coincidence.

  4. 4

    Set how many decimal places you want and whether to round or cut at that point. The exact answer stays on screen with the repeating block barred, so you can always see what the shortened version threw away.

WORKED EXAMPLE

Take 125 ÷ 4. Four does not fit into 1, so the first quotient digit is 0 and is not written. Bring the 2 across: four fits into 12 exactly three times, so 3 goes above the 2 and 12 comes off, leaving nothing. Bring down the 5. Four fits into 5 once, so 1 goes above the 5, 4 comes off, and 1 is left. The whole-number part is finished: 125 ÷ 4 is 31 remainder 1. Notice that the remainder 1 means one unit of the dividend left over out of the four needed for another whole, not "one tenth". To continue, put a point in the quotient directly above the point in the dividend and start bringing down zeros. Bring one down beside the leftover 1 to make 10. Four fits into 10 twice, 8 comes off, 2 remains. Bring down another zero to make 20. Four fits into 20 exactly five times, 20 comes off, and the remainder is zero. The division is finished: 31.25. It finished because 4 is 2², and a decimal can only terminate when the divisor is built from the factors of ten. Change the divisor to 7 and nothing terminates. Take 22 ÷ 7. Seven fits into 22 three times with 1 left, so the answer starts 3 remainder 1. Bring down a zero: 10 gives 1 with 3 left. Then 30 gives 4 with 2 left, 20 gives 2 with 6 left, 60 gives 8 with 4 left, 40 gives 5 with 5 left, and 50 gives 7 with 1 left. That 1 is the remainder we already had after the first step, so from here every digit must repeat in the same order. The answer is 3.142857 with all six digits recurring, and that is exact — not a rounding, not a truncation. Seven is a full reptend divisor: its block uses every one of the six possible non-zero remainders before returning. Sixty divisors under 1000 do this. Now a decimal divisor: 12.5 ÷ 0.4. Multiply both by ten and it becomes 125 ÷ 4, which we have already done. Scaling the top and bottom of a fraction by the same amount cannot change its value, which is why the trick is legitimate rather than a shortcut. Finally, check it. 4 × 31 + 1 = 125, which is the dividend, so the whole-number answer is right. For the decimal, 4 × 31.25 = 125 exactly. Any long division you can check this way is a long division you can trust.

REFERENCE RULES

RuleWhat it saysWhy
The four stepsdivide · multiply · subtract · bring downOne quotient digit per column, repeated until the digits run out.
The checkdivisor × quotient + remainder = dividendThe only test that matters. This page runs it on every answer.
Remainder sizealways less than the divisorA remainder as large as the divisor means the quotient digit was too small.
A decimal divisorshift both, then divide12.5 ÷ 0.4 becomes 125 ÷ 4. Moving both points leaves the answer unchanged.
The point in the answerstraight above the point belowOnce the divisor is whole, the quotient point sits over the dividend point.
Remainder against decimal7 ÷ 2 = 3 r 1 = 3.5The remainder is 1 out of 2, not a tenth. r 1 and .1 are different things.
Going into decimalsbring down zerosThe dividend has an endless supply of them after the point.
When it terminatesdivisor is only 2s and 5sEvery other divisor repeats forever. Only 28 divisors under 1000 terminate.
How soon it stopsafter max(twos, fives) places1/40 = 1/(2³×5) stops after three places.
Period lengthat most divisor − 1Because only that many non-zero remainders exist before one must repeat.
Full reptendperiod = divisor − 11/7 = 0.142857 repeating, using all six. Sixty divisors under 1000 do this.
Writing a repeat0.1̅6̅ or 0.1(6)An overbar or brackets on the block. Writing 0.166 instead is a different number.
Negative, toward zero−7 ÷ 2 = −3 r −1What calculators, C and JavaScript do. The remainder follows the dividend.
Negative, floored−7 ÷ 2 = −4 r 1What Python and Ruby do. The remainder follows the divisor and never goes negative.

FREQUENTLY ASKED QUESTIONS

Four instructions repeated once per column. Divide: how many whole times does the divisor fit into the current working number? That is the next quotient digit. Multiply: that digit times the divisor. Subtract: take it off. Bring down: pull the next digit of the dividend alongside what is left and start again. When the dividend runs out you either have a remainder or, if you keep bringing down zeros, a decimal.

  • ·Divide, multiply, subtract, bring down — once per column
  • ·The quotient digit goes above the digit you just brought down
  • ·What is left must always be smaller than the divisor
  • ·Bring down zeros to carry on past the decimal point

RELATED CALCULATORS

MORE ALGEBRA CALCULATORS

Was this calculator helpful?

Last updated: August 5, 2026 · Every remainder exact, no floating point · divisor × quotient + remainder is checked on every answer.