Long Division Calculator

See the full step-by-step long division of two whole numbers, with quotient, remainder and every working step shown.

How to use this calculator

  1. 1Enter the dividend (the number being split up) and the divisor (the number splitting it).
  2. 2Follow the step-by-step table to see exactly how the quotient is built, digit by digit.

How the calculation works

Dividend = Quotient × Divisor + Remainder, where 0 ≤ Remainder < Divisor
Dividend
The number being divided
Divisor
The number dividing by
Quotient
How many times the divisor fits
Remainder
What's left over — always smaller than the divisor

Long division processes one digit of the dividend at a time: bring down the next digit, see how many times the divisor fits into the running value, write that as the next quotient digit, and carry the remainder into the next step.

Worked example

987 ÷ 12

  1. 1.Bring down 9: 9 ÷ 12 = 0 remainder 9.
  2. 2.Bring down 8, making 98: 98 ÷ 12 = 8 (8×12=96), remainder 2.
  3. 3.Bring down 7, making 27: 27 ÷ 12 = 2 (2×12=24), remainder 3.
  4. 4.Quotient: 82, remainder 3.

Result: 82 remainder 3

What long division actually does

Long division breaks a big division problem into a sequence of small, manageable ones. Instead of asking how many times the divisor goes into the whole dividend at once, it works through the dividend one digit at a time — bringing down the next digit, figuring out how many times the divisor fits into the running value, writing that count as the next digit of the quotient, and carrying whatever is left over into the next step. Each of those small steps only ever needs single-digit multiplication and subtraction, which is exactly what makes it doable by hand even for large numbers.

Why it's called 'long'

Long division gets its name because every step of the working is written out in full underneath the problem, in contrast to short division, where the same steps are done in a compressed, mostly mental form with only the answer and small carried remainders noted above the line. Short division is faster once the numbers are small enough to track in your head, but it becomes error-prone with larger divisors — long division trades speed for a visible, checkable trail of every intermediate calculation, which is exactly why it is taught first.

The foundation other division methods build on

Long division is not just an arithmetic exercise — the same digit-by-digit process underlies several methods that get introduced later in maths.

  • Decimal expansion of fractionscontinuing long division past the ones place, bringing down zeros instead of digits, is exactly how a fraction like 1/3 is converted into its decimal form (0.333…) — and why some fractions terminate while others repeat forever.
  • Polynomial long divisionalgebra extends the identical process to divide one polynomial by another, matching leading terms instead of leading digits at each step, which is essential for factoring and for simplifying rational expressions.
  • Base conversionconverting a number between number bases, such as decimal to binary, is typically done by repeated division, keeping the remainder at each step — the same core operation this calculator performs, just applied over and over.
  • Manual square rootsbefore calculators, square roots were commonly extracted using a long-division-like algorithm that processes the digits of a number two at a time.

A common mistake: mixing up the remainder and the decimal

987 ÷ 12 can correctly be written two different ways — 82 remainder 3, or 82.25 — and both are right, because they answer slightly different questions. The remainder form says a divisor of 12 fits into 987 exactly 82 whole times, with 3 left over that cannot be split further as whole numbers; useful when dividing up discrete things like people, boxes or coins. The decimal form instead continues dividing that leftover 3 into fractional parts, which is the more useful answer when the quantity being divided can be split continuously, like measurements of length or money. Mixing the two up — reporting a remainder as if it were a decimal, or the reverse — is one of the most common long-division errors.

What this assumes, and where it stops

Assumptions

  • Both numbers are treated as whole numbers (integers).

Limitations

  • For a repeating or terminating decimal result rather than a remainder, see the decimal figure in the results — this calculator focuses on the whole-number quotient and remainder.

Common questions

What is the difference between the remainder and the decimal part?

The remainder is a whole number — whatever is left over after the divisor no longer fits evenly (987 ÷ 12 = 82 remainder 3). The decimal form instead continues the division into fractional digits (987 ÷ 12 = 82.25). Both describe the same division; which one you want depends on the context — sharing 987 items into groups of 12 leaves 3 leftover items, which is the remainder form.

Why is the remainder always smaller than the divisor?

If the remainder were equal to or larger than the divisor, the divisor would fit in at least once more, which means it would already have been counted in the quotient — a genuine remainder is by definition what is left after the divisor no longer fits.

Formula and content last reviewed on .

Results are estimates for information only, not professional advice.

Report an error

Tools people commonly use alongside the long division calculator.

See all math calculators →