Skip to content
thecalculatorstudio

Long Division Calculator with Steps

Enter a dividend and a divisor. You will see the quotient and remainder, a table of every long-division step, the check by multiplication, and the decimal answer with any repeating digits marked.

Last reviewed

7,845 ÷ 12

653 remainder 9

Check: 12 × 653 + 9 = 7,845

As a decimal
653.75
Quotient
653
Remainder
9

The steps

StepBring downNumberGoes inProductLeft over
1leading digits786726
24645604
35453369

What long division is

Long division is the written method for dividing one whole number (the dividend) by another (the divisor), one digit at a time. It gives a quotient, the number of times the divisor goes in, and a remainder, what is left over. The two are tied together by one check:

divisor × quotient + remainder = dividend

The steps

  1. Take digits from the left of the dividend until you have a number at least as big as the divisor.
  2. Work out how many times the divisor goes into it (0 to 9). Write that digit in the quotient.
  3. Multiply the digit by the divisor and subtract from the number you took. The result is smaller than the divisor.
  4. Bring down the next digit of the dividend, to the right of what is left. This gives a new number.
  5. Repeat from step 2 until there are no digits left. What remains is the remainder.

Worked example: 7,845 ÷ 12

Step Number Goes in Product Left over
1 78 (the first two digits, as 7 is less than 12) 6 6 × 12 = 72 6
2 64 (bring down the 4) 5 5 × 12 = 60 4
3 45 (bring down the 5) 3 3 × 12 = 36 9

The quotient digits are 6, 5, 3, so the answer is 653 remainder 9. Check: 12 × 653 = 7,836, and 7,836 + 9 = 7,845.

Carrying on to a decimal

You do not have to stop at a remainder. Put a decimal point after the quotient, bring down a 0 beside the remainder, and carry on.

  • 7,845 ÷ 12: the remainder is 9. Bring down a zero: 90 ÷ 12 = 7 (84), left 6. Bring down a zero: 60 ÷ 12 = 5, left 0. So the answer is 653.75.
  • 100 ÷ 8: 12 remainder 4. 40 ÷ 8 = 5, left 0. The answer is 12.5.

When the remainder reaches 0 the decimal ends, or terminates.

When the digits repeat

Sometimes the remainder never reaches 0. Every remainder is less than the divisor, so there are only so many it can be, and sooner or later one comes round again. From then on the digits repeat in a block.

  • 22 ÷ 7 is 3 remainder 1. The remainders go 1, 3, 2, 6, 4, 5, then back to 1. The digits are 3.142857 142857 … and the repeating block is written in brackets: 3.(142857).
  • 1 ÷ 3 is 0.(3), as the remainder is 1 every time.
  • 1 ÷ 6 is 0.1(6), since the 1 comes only once and then 6s follow. 1 ÷ 12 is 0.08(3).

A repeating block can be at most one digit shorter than the divisor, since there are only that many nonzero remainders. 1 ÷ 7 repeats after 6 digits and 1 ÷ 17 after 16: 0.(0588235294117647). Some blocks are far too long to show. 1 ÷ 97 has a block of 96 digits, so the page shows the first 30 digits and says it has stopped.

Which divisions end and which repeat

Write the division as a fraction in lowest terms. If the denominator has no prime factors other than 2 and 5, the decimal ends. 1/8 = 0.125 and 3/40 = 0.075 end. Any other prime factor, such as 3, 7 or 11, makes it repeat. The factor calculator shows a number’s prime factors, and the greatest common factor calculator gets a fraction to lowest terms.

Common mistakes

  • Skipping a zero in the quotient. In 1,005 ÷ 5, bringing down the 0 gives 0 ÷ 5 = 0, and that 0 must stay in the quotient: the answer is 201, not 21.
  • Forgetting to subtract. The remainder at each step must be smaller than the divisor. If it is not, the digit above was too small.
  • A quotient digit of 10 or more. The digit is always 0 to 9. If you need 10, take one more digit.
  • Treating the remainder as a decimal. 653 remainder 9 is not 653.9. As a decimal it is 653 and 9/12, which is 653.75.
  • Dividing by zero. It has no answer. The calculator says so.

How it is calculated

The dividend and divisor are read as exact whole numbers (up to 30 and 15 digits). The method above is applied digit by digit in exact integer arithmetic, and each step is recorded. For the decimal, each remainder is remembered; if one comes round again the digits between are the repeating block, and if the remainder reaches 0 the decimal ends. After 30 decimal digits with neither, the page stops and says so.

Frequently asked questions

How does long division work?

Take the first digits of the dividend until you have a number at least as big as the divisor. See how many times the divisor goes in, write that digit above, multiply back, subtract, bring down the next digit and repeat. For 7845 ÷ 12 the digits are 6, 5 and 3, with 9 left over.

What is the remainder?

What is left after the last step: the part of the dividend that is too small for the divisor to go into again. It is always less than the divisor. 7845 ÷ 12 is 653 remainder 9, because 12 × 653 = 7,836 and 7,845 − 7,836 = 9.

How do I check a long division answer?

Multiply the quotient by the divisor and add the remainder. You should get the dividend back. For 1,234 ÷ 5 = 246 remainder 4, check 5 × 246 + 4 = 1,234.

How do I carry on to decimals?

Put a point after the quotient, bring down a zero beside the remainder and keep dividing. 100 ÷ 8 is 12 remainder 4, and 40 ÷ 8 = 5 exactly, so the answer is 12.5.

What is a repeating decimal?

A decimal whose digits cycle for ever, because a remainder came round again. 22 ÷ 7 = 3.142857142857… and is written 3.(142857). 1 ÷ 3 is 0.(3). The calculator marks the repeating block in brackets.

Which divisions end and which repeat?

In lowest terms, a fraction ends if its denominator has no prime factors other than 2 and 5, like 1/8 = 0.125. Any other prime factor, such as 3 or 7, makes it repeat.

Related calculators

Sources