Long Division Calculator with Steps
Divide whole numbers or decimals, see the exact quotient and signed remainder, and follow the digit-by-digit work.
Result
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
- Enter the dividend and a nonzero divisor. Choose enough decimal digits to see the behavior beyond the whole-number quotient.
- 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
- The decimal search allows 0–80 places and the work shows at most 26 steps. The internal whole-number setup is limited to 150 digits.
- The work uses magnitudes; the output applies the quotient and remainder signs separately.
Sources & methodology
Related calculators
- Number Sequence Calculator: Terms and Sums
Find a term and cumulative sum for an arithmetic, geometric or Fibonacci sequence using exact integers or fractions.
- Rounding Calculator: Decimal Places or Fractions
Round an exact number to a chosen decimal place or positive increment, with a separate rule for ties and negative numbers.
- Fraction Calculator: Exact Fractions and Mixed Numbers
Add, subtract, multiply, divide or simplify fractions. Enter mixed numbers, decimals or recurring decimals, and get an exact fraction plus a decimal view.
- Roman Numeral Converter
Convert Roman numerals, ordinary decimal numbers, and separated components in either direction.