How long division works
Long division breaks a hard division into a repeated cycle of four easy steps, working from the leftmost digit of the dividend to the right:
- Divide — how many times does the divisor fit into the current number?
- Multiply — multiply the divisor by that digit.
- Subtract — take the product away to get the remainder (it must be smaller than the divisor).
- Bring down — write the next digit of the dividend beside the remainder and repeat.
Each answer digit is written above the dividend digit that was just brought down, so the quotient lines up with the place values. When there are no digits left, what remains is the remainder:
dividend = divisor × quotient + remainder
Decimals and repeating digits
To keep going past the remainder, put a decimal point in the quotient directly above the dividend's point and bring down zeros. Either the remainder eventually becomes 0 — a terminating decimal such as 7 ÷ 8 = 0.875 — or a remainder you have already seen comes back. From that moment the same digits must repeat forever, because each step depends only on the remainder. The calculator watches for this and marks the repeating block, written here as 1 ÷ 7 = 0.(142857) and often printed with a bar over the digits.
A fraction in lowest terms terminates only when its denominator has no prime factors other than 2 and 5; otherwise it repeats with a block at most one digit shorter than the divisor (1 ÷ 97 repeats every 96 digits).
If the divisor is a decimal, move its decimal point to the right until it is a whole number and move the dividend's point the same number of places: 7 ÷ 0.4 becomes 70 ÷ 4.
Worked example: 4825 ÷ 13
- 13 does not go into 4, so look at 48: 13 × 3 = 39, and 48 − 39 = 9. Write 3.
- Bring down the 2 → 92: 13 × 7 = 91, and 92 − 91 = 1. Write 7.
- Bring down the 5 → 15: 13 × 1 = 13, and 15 − 13 = 2. Write 1.
- No digits are left, so 4825 ÷ 13 = 371 remainder 2. Check: 13 × 371 + 2 = 4825.
Continuing with zeros gives 20, 70, 50, 110, 60, 80 and then 20 again — the remainder 2 has returned, so the six digits 153846 repeat: 4825 ÷ 13 = 371.(153846) = 371.153846153846…
Checking your answer
Multiply the quotient by the divisor and add the remainder; you should get the dividend back exactly. For a decimal answer, multiplying back gives the dividend up to rounding. Common slips are forgetting a zero in the quotient when the divisor does not fit (as in 1,224 ÷ 12 = 102) and letting a remainder grow larger than the divisor, which means the quotient digit was too small. For simplifying the result as a fraction, try the fraction calculator.
Frequently asked questions
What is the remainder in long division?
It is what is left over after the divisor has been taken away as many whole times as possible. It is always smaller than the divisor: 4825 ÷ 13 leaves 2.
How do I write a remainder as a decimal or fraction?
Divide the remainder by the divisor. 371 R 2 with divisor 13 is 371 2/13 as a mixed number, or 371.153846… as a decimal.
How do I divide by a decimal?
Multiply both numbers by 10, 100, 1,000… until the divisor is whole, then divide normally. 12.75 ÷ 0.25 becomes 1275 ÷ 25 = 51.
How do I know when the decimal starts repeating?
Watch the remainders. As soon as a remainder appears that you have already had after the decimal point, the digits from that point repeat.
Does it work with very large numbers?
Yes. The arithmetic uses exact big integers, so a 30-digit dividend is divided without any rounding. Very long numbers are explained in the step list instead of the drawing.
Last reviewed: