Long Division Calculator — With Steps

In short: 945 ÷ 7 = 135 exactly, in three steps: 9÷7 = 1 rem 2, 24÷7 = 3 rem 3, 35÷7 = 5 rem 0. And 1234 ÷ 12 = 102 remainder 10 — check it: 102 × 12 + 10 = 1234.

The algorithm that divides anything

Long division looks elaborate and is actually one small idea repeated: never divide the whole number at once. Take just enough digits from the left to make a piece the divisor can handle, divide that piece, write the digit, multiply back, subtract, and slide one digit further right. Each step is a division a child can do from the multiplication table; the method's power is that it scales — the same four moves divide 945 by 7 and 94,518,203 by 7, at the cost of more steps, never of new ideas. That is also why it is still taught in a world of calculators: it is most people's first algorithm, a procedure guaranteed to terminate with the right answer, and the ancestor of the polynomial division and computer arithmetic built on the same pattern.

This calculator shows the working the way a careful teacher writes it: for every step, the partial dividend (the number actually being divided at that moment), the quotient digit it produces, the multiplication, and the subtraction that leaves the running remainder. Below the steps you get the answer in all three of its honest forms — quotient with remainder, the mixed fraction, and the decimal to the places you choose — plus the multiplication check that proves it.

How each step works

Start by scanning the dividend from the left until the piece formed is at least as big as the divisor — for 945 ÷ 7 the first digit alone, 9, already qualifies. Divide: 9 ÷ 7 = 1, the first quotient digit. Multiply back: 1 × 7 = 7. Subtract: 9 − 7 = 2. Bring down the next digit (4) beside the remainder, making 24, and repeat: 24 ÷ 7 = 3, 3 × 7 = 21, 24 − 21 = 3, bring down 5 → 35, 35 ÷ 7 = 5, 5 × 7 = 35, remainder 0. When the remainder hits zero exactly as the digits run out, the division is exact. When digits run out with a remainder standing, you choose: report it, fraction it, or add a decimal point and keep bringing down zeros.

Worked examples

945 ÷ 7 = 135, remainder 0 — steps: 9 → 1 (×7 = 7, rem 2); 24 → 3 (×7 = 21, rem 3); 35 → 5 (×7 = 35, rem 0).

1234 ÷ 12 = 102, remainder 10 — the first piece big enough is 12: 12 → 1 (rem 0); bring down 3 → 3 is too small, quotient digit 0; bring down 4 → 34 → 2 (×12 = 24, rem 10). As a decimal: 102.8333… As a fraction: 102 5⁄6.

22 ÷ 7 = 3.142857… — the famous π approximation; the remainder cycles 1, 3, 2, 6, 4, 5 and the digits 142857 repeat forever. Rounded to 6 places: 3.142857.

847 ÷ 25 = 33.88 exactly — integer steps give 33 rem 22; decimal steps: 220 → 8 (rem 20), 200 → 8 (rem 0). Terminating decimals happen when the divisor's prime factors are only 2s and 5s.

Where students actually go wrong

MistakeWhat it looks likeGuard
Missing zero in the quotient1234 ÷ 12 written as 12 r… instead of 102Every brought-down digit earns a quotient digit, even 0
Quotient digit too bigDigit × divisor exceeds the partial dividendThe subtraction must never go negative — reduce by 1
Quotient digit too smallRemainder after subtracting is ≥ the divisorThe remainder must always be smaller than the divisor
Misaligned digitsQuotient digits drift a columnWrite each digit directly above the digit just consumed

Three of the four guards are the same observation from different sides: at every step, remainder < divisor. Internalise that single invariant and long division becomes self-checking as you go — the final multiplication check then merely confirms what the steps already guaranteed.

Frequently asked questions

How does long division work, step by step?

Repeat four moves on each digit of the dividend, left to right: divide the current partial dividend by the divisor to get one quotient digit, multiply that digit by the divisor, subtract, and bring down the next digit into the remainder. For 945 divided by 7: 9/7 = 1 (subtract 7, remainder 2), bring down 4 making 24, 24/7 = 3 (subtract 21, remainder 3), bring down 5 making 35, 35/7 = 5 exactly. Quotient 135, remainder 0.

What do I do with a remainder?

Three honest options, chosen by context. State it: 1234 / 12 = 102 remainder 10 — the right form when the things being divided cannot be split, like people into cars. Convert it to a fraction: remainder over divisor, 10/12 = 5/6, so 102 and 5/6. Or continue into decimals by adding a decimal point and bringing down zeros — 10 becomes 100, and the division continues. This calculator shows the stated remainder and the decimal continuation.

How do I turn a remainder into a decimal answer?

Put a decimal point after the quotient, then treat the remainder as if a zero had been appended: remainder 10 becomes 100, divide again, and repeat — each brought-down zero buys one more decimal digit. Some divisions terminate (847 / 25 = 33.88 exactly); others repeat forever (22 / 7 = 3.142857142857...), and the honest answer is a rounded one, which is why this calculator lets you choose the decimal places and labels the result as rounded when it is.

How do I check a long division answer?

Multiply back: quotient x divisor + remainder must equal the original dividend. For 1234 / 12 = 102 r 10: 102 x 12 = 1224, plus 10 = 1234 — correct. This check catches nearly every long-division slip, because the common errors (a wrong multiplication in a step, a mis-copied digit) all break the identity. It takes ten seconds and is worth more than re-dividing.

What is the difference between long division and short division?

The same algorithm at two levels of written detail. Long division writes out every multiplication and subtraction, suiting larger divisors and learners who need to see the machinery. Short division (the 'bus stop' method) does the same steps but carries the remainders mentally as small digits, suiting single-digit divisors once the method is understood. If short division produces errors, dropping back to the full long form — as shown on this page — is the standard fix.

Note: This calculator works with whole-number dividends and divisors (up to 15 digits) and continues into decimals on request. For decimal dividends, scale both numbers by the same power of ten first — the quotient is unchanged.

Related tools

Algorithm and examples last verified: 24 November 2026. Everything is calculated in your browser — nothing you type is sent anywhere.