Long Division Calculator
Long division breaks a big division into small steps: divide, multiply, subtract, bring down — one digit at a time. This calculator shows the quotient, the remainder and the decimal answer, with every bring-down step written out.
Divide two whole numbers and see every step of the long-division method — each divide, multiply and subtract — so you can follow the working, check homework or relearn the method yourself.
Result
Step-by-step working
How It Works
Long division works through the dividend one digit at a time, from left to right. At each step you divide the running number by the divisor, multiply the quotient digit back, subtract to find what is left, then bring down the next digit and repeat. The quotient digits you write along the top spell out the answer, and whatever is left at the end is the remainder.
The decimal answer comes from the same idea carried past the decimal point: after the last digit, keep bringing down zeros. If the remainder becomes zero, the decimal ends (17 ÷ 5 = 3.4); if a remainder repeats, the decimal repeats for ever (1,000 ÷ 3 = 333.333…), and the calculator shows it rounded to 6 decimal places with an ellipsis. A repeating decimal is a fraction in disguise — 333.333… is 1000/3 — and the fraction calculator works with fractions directly.
Worked Example
945 ÷ 7 = 135 remainder 0. Steps: 9 ÷ 7 = 1 remainder 2; bring down 4 → 24 ÷ 7 = 3 remainder 3; bring down 5 → 35 ÷ 7 = 5 remainder 0. 1,000 ÷ 3 = 333 remainder 1 (decimal 333.333…, repeating). 17 ÷ 5 = 3 remainder 2 (decimal 3.4 exactly). Every answer can be checked: dividend = divisor × quotient + remainder — for 1,000 ÷ 3, that is 3 × 333 + 1 = 1,000.
Assumptions
- Whole numbers only. Long division steps are integer steps, so both inputs must be whole numbers. Decimals are rejected — use the Calculator for decimal division.
- Sign convention. The steps use absolute values; the signs are applied at the end. The quotient is negative when exactly one number is negative, and the remainder always takes the sign of the dividend.
- Safe-integer limit. Inputs must stay within JavaScript safe integers (about ±9 quadrillion), so every step is exact. Larger numbers are rejected rather than approximated.
- Repeating decimals are marked. A decimal that never terminates is shown rounded to 6 decimal places with an ellipsis (…), never presented as exact.
Last reviewed: 15 November 2026.
Built and tested by SumKitTool — see how we check our numbers.
How to Use This Calculator
Enter two whole numbers and the working updates live as you type.
- Enter the dividend — the number being divided.
- Enter the divisor — the number you divide by. It cannot be zero.
- Read the answer — quotient, remainder and decimal answer, with every bring-down step listed below.
The Reset button restores the worked example (945 ÷ 7 = 135 remainder 0).
Tips and Practical Advice
- Always check with the remainder. Dividend = divisor × quotient + remainder. If the check fails, one of the steps went wrong.
- Estimate before you calculate. 945 ÷ 7 is near 1,000 ÷ 7 ≈ 143, so 135 is the right size — an estimate catches a slipped digit.
- Remainders are not errors. A remainder of 1 in 1,000 ÷ 3 just means 1,000 is not a multiple of 3 — the division is still exact as quotient + remainder.
- Use the decimal for money and measurements. Quotients and remainders suit sharing whole things; decimals suit continuous quantities like money.
Frequently Asked Questions
How do you do long division step by step?
Work left to right through the dividend: divide the first digit(s) by the divisor, write the quotient digit, multiply back, subtract, then bring down the next digit and repeat. For 945 ÷ 7: 9 ÷ 7 = 1 remainder 2, bring down 4 to make 24; 24 ÷ 7 = 3 remainder 3, bring down 5 to make 35; 35 ÷ 7 = 5 remainder 0. The answer is 135.
What is the remainder in long division?
The remainder is what is left over after dividing as many whole times as possible. In 1,000 ÷ 3 the quotient is 333 and the remainder is 1, because 333 × 3 = 999 and 1,000 − 999 = 1. You can check any division with: dividend = divisor × quotient + remainder.
How do you write a division answer as a decimal?
Keep dividing past the decimal point by bringing down zeros. 17 ÷ 5 = 3 remainder 2, and 2 ÷ 5 = 0.4, so the decimal answer is 3.4. Some divisions never end — 1,000 ÷ 3 = 333.333… — and this calculator marks those with an ellipsis.
Can you do long division with negative numbers?
Yes. Work with the absolute values, then apply the signs at the end: the quotient is negative when exactly one of the numbers is negative, and the remainder always takes the sign of the dividend — the same convention as the % operator in most programming languages. For example, −17 ÷ 5 = −3 remainder −2.
Last updated: