Long Division Calculator
Long division breaks a big division into one small step per digit. 458 ÷ 13 = 35 R 3: 13 fits into 458 thirty-five times, and 13 × 35 = 455 leaves 3 over (see the working). Type any two numbers to get the remainder or the decimal, with every step written out.
Divide and see every step
Type the number to divide and the number to divide by. The answer and the working update as you type.
Whole numbers or decimals. You can also type the whole sum, such as 458 ÷ 13, in the first box.
Check your input
Long division, worked out
Pick a step to see its digits in the working.
As groups
How to Use This Calculator
-
Type the two numbers
The number to divide goes first, the number to divide by second. Or type the whole sum, such as 458 ÷ 13.
-
Pick the answer
Remainder gives a quotient and what is left over. Decimal keeps dividing until the digits end or repeat.
-
Follow the working
Tap a step to see which digits it uses in the long division, then check the answer with the multiplication.
How to do long division
Write the number you are dividing (the dividend) under the bracket and the number you divide by (the divisor) outside it. Then work through the dividend from left to right, repeating four steps:
- Divide: how many times does the divisor fit into the number you are looking at? Write that digit on top.
- Multiply: multiply the divisor by the digit you just wrote.
- Subtract: take the product away. The result must be smaller than the divisor.
- Bring down the next digit of the dividend and start again.
- 1. 13 does not fit into 4, so look at 45. 13 goes into 45 three times: 3 × 13 = 39, and 45 − 39 = 6.
- 2. Bring down the 8 to make 68. 13 goes into 68 five times: 5 × 13 = 65, and 68 − 65 = 3.
- 3. No digits are left, so the answer is 35 with a remainder of 3.
If you are not sure how many times the divisor fits, round it and estimate: 13 is close to 10, and 10 goes into 68 about 6 times. Try 6 × 13 = 78, which is too big, so the digit is 5. A product larger than the number means the digit is too big; a leftover as large as the divisor means it is too small.
Long division with remainders
The remainder is what is left when the divisor no longer fits. It is always smaller than the divisor and can be 0, when the division comes out exactly. Every division with a remainder fits one check:
When the dividend is smaller than the divisor, the quotient is 0 and the whole dividend is the remainder: 3 ÷ 7 = 0 R 3.
Three ways to write the answer
The same division can end with R, as a mixed number (the remainder over the divisor, simplified where it can be), or as a decimal. A bar over digits means they repeat forever.
| Division | Remainder | Mixed number | Decimal |
|---|---|---|---|
| 17 ÷ 5 | 3 R 2 | 3 2/5 | 3.4 |
| 458 ÷ 13 | 35 R 3 | 35 3/13 | 35.230769 |
| 100 ÷ 8 | 12 R 4 | 12 1/2 | 12.5 |
| 22 ÷ 7 | 3 R 1 | 3 1/7 | 3.142857 |
| 50 ÷ 6 | 8 R 2 | 8 1/3 | 8.3 |
To get the decimal by hand, write a point after the quotient, add a 0 to the remainder and keep going. 17 ÷ 5 leaves 2; 20 ÷ 5 = 4, so the answer is 3.4. For 22 ÷ 7 the remainders run 1, 3, 2, 6, 4, 5 and then 1 again, so the six digits 142857 repeat. Any division of whole numbers ends or repeats like this, because there are only so many remainders smaller than the divisor.
Zeros in the answer
The most common slip is to drop a zero. In 612 ÷ 6, 6 goes into 6 once, leaving 0. Bring down the 1: 6 does not fit into 1, so write 0 on top before bringing down the 2. Then 6 goes into 12 twice. The answer is 102, not 12. Every digit you bring down gets a digit on top, even when it is 0.
Long division with decimals
A decimal in the dividend is easy: divide as usual and put the point in the answer straight above the point in the dividend. 7.5 ÷ 3 = 2.5.
A decimal in the divisor needs one move first. Shift the point in the divisor until it is a whole number, and shift the point in the dividend the same number of places. 7.5 ÷ 0.25 becomes 750 ÷ 25, because multiplying both numbers by 100 does not change the answer. 750 ÷ 25 = 30, so 7.5 ÷ 0.25 = 30.
Show 7.5 ÷ 0.25 in the calculator
What to do with the remainder in word problems
In a story problem the remainder means something, and the question decides what you do with it. Take 458 ÷ 13 = 35 R 3 and ask three different questions:
- Round up when everyone or everything has to fit. 458 people in vans that seat 13 need 36 vans, because the 3 people left over still need a seat.
- Drop it when only full groups count. 458 eggs fill 38 full boxes of 12 (38 × 12 = 456), with 2 eggs left loose.
- Share it when the leftover can be split. $458 shared by 13 people is about $35.23 each, the decimal answer rounded to the cent.
Quick ways to check a remainder
The surest check is the multiplication above. For a few divisors there are shortcuts that give the remainder without dividing at all:
| Divide by | The remainder is | Example with 458 |
|---|---|---|
| 2, 5, 10 | The remainder of the last digit | 458 ÷ 5: 8 ÷ 5 leaves 3 |
| 4 | The remainder of the last two digits | 58 ÷ 4 leaves 2 |
| 3, 9 | The remainder of the digit sum | 4 + 5 + 8 = 17; 17 ÷ 9 leaves 8 |
Short division and negative numbers
Short division (the bus stop method) uses the same steps, but you do the multiplying and subtracting in your head and write each remainder small in front of the next digit. It is quick for one-digit divisors; for 13 or 25, long division keeps the working on paper where you can check it.
With negative numbers, divide the sizes and then fix the sign: one negative number gives a negative quotient, two give a positive one. Truncated division, the % operator in JavaScript, C and Java, gives the remainder the sign of the dividend, so −17 ÷ 5 = −3 R −2. Python, Excel's MOD and many math courses use a remainder with the divisor's sign instead, which is never negative here (−17 = 5 × −4 + 3); the modulo calculator works that way. To write a remainder as a fraction in lowest terms, the mixed number calculator can help.
Frequently Asked Questions
How do you do long division with remainders?
Work from left to right: divide, multiply, subtract, then bring down the next digit, and repeat until no digits are left. Whatever is left after the last subtraction is the remainder. For 458 ÷ 13: 13 goes into 45 three times (39), leaving 6; bring down 8 to make 68; 13 goes into 68 five times (65), leaving 3. So 458 ÷ 13 = 35 R 3.
What are the 4 steps of long division?
Divide, Multiply, Subtract and Bring down, often remembered as DMSB ("Does McDonald's Sell Burgers?"). You repeat the four steps once for each digit of the number you are dividing.
What does R mean in division?
R stands for remainder, the amount left over that is too small to make one more group. 17 ÷ 5 = 3 R 2 means 5 fits into 17 three times, with 2 left over: 5 × 3 + 2 = 17.
How do you write a remainder as a fraction?
Put the remainder over the divisor and write it next to the quotient as a mixed number. 17 ÷ 5 = 3 R 2 becomes 3 2/5, and 458 ÷ 13 = 35 R 3 becomes 35 3/13. Simplify the fraction if you can: 50 ÷ 6 = 8 R 2 = 8 2/6 = 8 1/3.
How do you turn a remainder into a decimal?
Keep dividing: put a decimal point after the quotient, add a 0 to the remainder, and carry on. 17 ÷ 5 = 3 R 2, and 20 ÷ 5 = 4, so 17 ÷ 5 = 3.4. If the same remainder comes back, the digits repeat: 1 ÷ 3 = 0.333…
Can the remainder be bigger than the divisor?
No. The remainder is always smaller than the divisor. If it is the same or bigger, the divisor fits at least once more, so the quotient digit was too small and that step needs to be done again.
How do you check a long division answer?
Multiply the quotient by the divisor and add the remainder; you should get the dividend back. For 458 ÷ 13 = 35 R 3: 35 × 13 = 455, and 455 + 3 = 458.