Math

How Long Division Works (Remainders, Decimals and Repeating Digits)

Long division works digit by digit: divide, multiply, subtract, bring down the next digit and repeat. 1,234 ÷ 12 = 102 remainder 10, or 102.8333… as a decimal. 22 ÷ 7 = 3.142857142857…, where the block 142857 repeats forever.

By CalculatorHub Editorial TeamPublished December 2, 2026Updated December 2, 20267 min read
Run the numbers yourself. Try our free Long Division Calculator and see the result with your own figures.

The four steps

  1. Divide: find how many times the divisor fits into the current part of the dividend.
  2. Multiply: multiply that digit by the divisor.
  3. Subtract: take the result away from the current part.
  4. Bring down the next digit and repeat from step 1.

A worked example: 1,234 ÷ 12

12 goes into 1 zero times, so take the first two digits: 12 ÷ 12 = 1, remainder 0. Bring down 3 to make 3: 12 goes into 3 zero times, remainder 3. Bring down 4 to make 34: 12 goes into 34 twice (24), remainder 10. The digits of the quotient are 1, 0, 2, so the answer is 102 remainder 10.

Checking the answer

Multiply the quotient by the divisor and add the remainder: 102 × 12 + 10 = 1,224 + 10 = 1,234. If you get the dividend back, the division is right.

Writing the remainder

  • As “r 10”, common in primary school.
  • As a fraction of the divisor: 102 10/12, which simplifies to 102 5/6.
  • As a decimal: continue the division with a decimal point and extra zeros.

Continuing into decimals

Place a decimal point after the whole part and bring down zeros. For 17 ÷ 5: 17 ÷ 5 = 3 remainder 2; 20 ÷ 5 = 4 remainder 0. The answer is 3.4. When the remainder hits 0, the decimal ends. For 1,234 ÷ 12 the remainder 10 becomes 100; 12 goes into 100 eight times (96), remainder 4; 40 ÷ 12 = 3, remainder 4, and so on, giving 102.8333….

Why decimals repeat

In the division by 7, the possible remainders are 1 to 6. Since there are only six possible remainders, one must repeat within six steps, and once a remainder repeats the digits cycle. That is why 1 ÷ 7 = 0.142857142857…, with a repeating block of six digits. A fraction in lowest terms has a terminating decimal only when its denominator has no prime factors other than 2 and 5: ¼ = 0.25 and ⅕ = 0.2 end, while ⅓ and 1/7 repeat.

FractionDecimal
1/30.(3)
1/60.1(6)
1/70.(142857)
1/80.125
1/90.(1)

Common mistakes

  • Forgetting to write a zero in the quotient when the divisor does not fit.
  • Subtracting wrongly or bringing down the wrong digit.
  • Stopping before the remainder is smaller than the divisor.
  • Rounding a repeating decimal and treating it as exact.

See every step in the long division calculator, and convert fractions with the fraction calculator or simplify with the GCF and LCM calculator.

Key terms

  • Dividend: The number being divided.
  • Divisor: The number you divide by.
  • Quotient: The result of the division.
  • Remainder: What is left over.
  • Repeating decimal: A decimal whose digits cycle forever.

Practice questions

Try each one before you read the answer.

  1. What is 100 ÷ 8 with a remainder?
    Answer: 12 remainder 4.
  2. What is 1 ÷ 8 as a decimal?
    Answer: 0.125.
  3. Check: 12 × 8 + 4 equals what?
    Answer: 100.

Practice problems

Try 845 ÷ 5 (169), 1,000 ÷ 8 (125), 100 ÷ 3 (33 remainder 1, or 33.333…) and 2,345 ÷ 7 (335 exactly). After each, multiply back to check. If the remainder is equal to or larger than the divisor, you stopped too early: the divisor still fits at least once more.

Frequently asked questions

What is a remainder?

It is what is left over when the divisor does not go into the dividend a whole number of times. It is always smaller than the divisor.

Why do some divisions give repeating decimals?

Because a remainder repeats, which makes the digits cycle. It happens when the denominator has prime factors other than 2 and 5.

How do I check long division?

Multiply the quotient by the divisor and add the remainder. The result should equal the dividend.

Try the calculators

Keep reading