How to Do Long Division Step by Step (Remainder & Decimal)

Master Divide-Multiply-Subtract-Bring Down long division, interpret remainders vs decimals, and spot repeating decimal expansions cleanly.

Long Division Calculator Fraction Calculator

Long division turns a large division problem you cannot solve in your head into small single-digit arithmetic steps. Once you lock in the four-step loop — Divide, Multiply, Subtract, Bring Down (DMSB) — the exact same routine works for integer remainders and decimal answers alike.

Long Division CalculatorSolve long division with step-by-step quotient and remainder.Inspect Live Division Steps

The 4-Step Loop: Worked Example 487 ÷ 32

Set the dividend (487) inside the division bracket and the divisor (32) on the left.

Cycle 1: Working with 48

  1. Divide: 32 goes into 4 zero times, so look at 48. How many times does 32 fit into 48? 1 time. Write 1 above the 8.
  2. Multiply: 1 × 32 = 32. Write 32 under 48.
  3. Subtract: 48 − 32 = 16.
  4. Bring down: Drop the remaining 7 next to 16 to make 167.

Cycle 2: Working with 167

  1. Divide: How many times does 32 go into 167? 32 × 5 = 160 fits cleanly (since 32 × 6 = 192 is too big). Write 5 above the 7.
  2. Multiply: 5 × 32 = 160.
  3. Subtract: 167 − 160 = 7.
  4. Bring down: There are no integer digits left, so we stop here for integer division: Quotient = 15, Remainder = 7 (15 R7).

Check your result by reversing: (15 × 32) + 7 = 480 + 7 = 487.

Converting 15 R7 Into a Fraction or Decimal

Two ways to express what is left over:

  • As a simplified fraction: Place the remainder over the divisor (15 7/32). You can simplify, add, or convert fractions back to decimals anytime in the Fraction Calculator.
  • As a decimal: Add a decimal point (15.) and bring down .0 repeatedly:
    • 70 ÷ 32 = 2 (64, remainder 6)
    • 60 ÷ 32 = 1 (32, remainder 28)
    • 280 ÷ 32 = 8 (256, remainder 24)
    • 240 ÷ 32 = 7 (224, remainder 16)
    • 160 ÷ 32 = 5 (160, remainder 0 — terminates!)

So 487 ÷ 32 = 15.21875. Because 32 = 2⁵ contains only prime factor 2, the decimal is guaranteed to terminate; dividing by 7 or 3, by contrast, cycles cleanly forever (0.142857... or 0.333...).

Tools used in this guide

Free, and they run in your browser — nothing is uploaded. See every tool on the Math Calculators page.

Frequently asked questions

What are the 4 steps of long division?

Every cycle repeats four actions in order: Divide the current working number by the divisor, Multiply the quotient digit back by the divisor, Subtract to get a partial remainder, and Bring down the next digit from the dividend.

How do you write a long division remainder as a decimal or fraction?

Put the remainder over the divisor to form a mixed number (e.g., 15 R7 divided by 32 is 15 7/32), or append zeros after a decimal point and continue the same steps to get 15.21875.

When does a division produce a repeating decimal forever?

A fraction in lowest terms terminates only if its denominator's prime factors are 2s and 5s alone (such as 32 = 2⁵). Any other prime factor in the reduced denominator, like 3 in 1/3 or 7 in 1/7, creates an infinite repeating cycle.

What if the divisor does not fit into the next brought-down value?

Write 0 in that place of the quotient above the line, multiply by 0 (leaving the partial remainder unchanged), and immediately bring down the next digit before dividing again.