Long Division Calculator with Steps

Divide whole numbers or decimals, see the exact quotient and signed remainder, and follow the digit-by-digit work.

0–80; a short limit can stop before a repeat is visible.

Example: 1,250.50. Use a period for decimals.

Result

Enter values and select Calculate.

How is this calculated?

Scale decimals to whole numbers without changing the quotient, then use the remainder to produce each digit.

Worked example: Divide 58 by 12 and identify the repeating digit

Four groups of 12 use 48, so 10 remains. The quotient is 29/6. After the decimal point, 100 gives digit 8 and remainder 4; 40 gives digit 3 and the same remainder 4, so 3 repeats.

Method and limits

The remainder satisfies dividend = quotient × divisor + remainder, with quotient rounded toward zero. The decimal is truncated when the selected digit limit cannot reveal the complete expansion. Parentheses mark an identified repeating block.

How to use this calculator

  1. Enter the dividend and a nonzero divisor. Choose enough decimal digits to see the behavior beyond the whole-number quotient.
  2. Compare the exact fraction, the decimal expansion and the remainder before reading the individual steps.

Check the leftovers before reading the decimal

For 58 ÷ 12, four groups use 48 and leave 10. The exact value is 29/6 and the expansion is 4.8(3), with the digit 3 repeating.

Check the whole-number result

Multiply the reported whole-number quotient by the divisor, then add the signed remainder. This must reproduce the original dividend. For −58 ÷ 12, the whole-number quotient is −4 and the remainder is −10, so (−4 × 12) + (−10) = −58.

Clear the decimal places without changing the quotient

For 4.2 ÷ 0.16, multiply both numbers by 100 to get 420 ÷ 16. The exact quotient is 105/4, or 26.25. The remainder from the whole-number part is 4 in the scaled setup, but only 0.04 in the original units.

Tell a repeat from a cutoff

Each new decimal digit comes from ten times the previous remainder. If a remainder recurs, subsequent digits repeat in the same order. An ellipsis without parentheses means the selected search stopped too early, not that no pattern exists.

Frequently asked questions

What does 4.8(3) mean?
It means 4.83333… with the 3 repeating indefinitely. Only the digits in parentheses repeat.
Why can the remainder be negative?
The whole-number quotient is truncated toward zero, so a nonzero remainder has the same sign as the dividend.
Does the calculator round a truncated expansion?
No. It stops at the requested digit limit; the exact fraction still represents the full answer.
Can I divide by zero?
No. Zero as the divisor makes division undefined, including 0 ÷ 0.

Common mistakes and limits

Sources & methodology

Related calculators