Long Division Calculator - Quotient, Remainder, and Steps
Divide with a written tableau: each bring-down, multiply, and subtract is shown so you can check homework. Optional extra decimal places are truncated, not rounded.
Input Values
Non-negative numbers only. One decimal point is allowed in each field; both values are scaled to integers by the same power of 10. Divisor 0 is rejected. Extra quotient digits are truncated at the place count you choose.
Quotient and Steps
What Is a Long Division Calculator and Why Show the Written Steps?
A long division calculator computes dividend ÷ divisor the way a classroom tableau does: one digit of the dividend at a time, a quotient digit, a product, a subtraction, and a remainder that becomes the next working value when the following digit is brought down. The output is not only a decimal on a calculator screen. You get the integer quotient, the remainder (strictly smaller than the divisor), and - if you ask for them - extra digits after the decimal point obtained by bringing down zeros.
That layout exists because division is the inverse of multiplication with a leftover. For whole numbers, dividend = quotient × divisor + remainder, with 0 ≤ remainder < divisor. 847 ÷ 5 is 169 remainder 2 because 169 × 5 + 2 = 845 + 2 = 847. If you continue past the ones place, those leftover 2 ones become 20 tenths, which 5 goes into 4 times, and so on. A four-function calculator hides that story; this page prints it.
This free online division tool with steps accepts non-negative numbers, including a single decimal point in the dividend or divisor. Both values are scaled to integers by the same power of ten (at most eight extra fractional digits) so the algorithm stays in exact integer arithmetic. Repeating decimals such as 22 ÷ 7 are truncated at the place count you choose - this page does not draw a repeating bar. Arithmetic after the page loads stays in your browser.
How to Use This Free Online Long Division Calculator
The quotient and remainder calculator is meant to sit next to a homework page:
- Enter the dividend (the number being split) and a non-zero divisor. Whole numbers are used as-is. Decimals such as 12.5 and 2.5 are scaled together (125 and 25) before the tableau runs.
- Choose decimal places: 0 keeps a whole-number remainder; 2, 4, 6, 8, or 12 continue the division by bringing down zeros after the decimal point. The extra digits are cut off at that count, not rounded.
- Read the quotient, the remainder after the integer digits, the check identity, the monospace tableau, and the step table (bring down, working value, quotient digit, product, remainder).
- Copy the summary or clear the fields. The last dividend, divisor, and place count are stored locally for up to 30 days.
Note: negatives are rejected. Division by zero is rejected. If you need a chain of operations rather than a single division, use the basic calculator.
The Long Division Algorithm - Bring Down, Multiply, Subtract
For each digit of the (scaled) dividend, and then for each extra zero you requested after the decimal point:
- Bring down the next digit.
- Form the working value: current remainder × 10 + that digit.
- The next quotient digit is floor(working value ÷ divisor).
- Subtract (quotient digit × divisor) from the working value. That difference is the new remainder.
If the working value is still smaller than the divisor, the quotient digit is 0 and you simply bring down another digit - the same thing you do on paper when the first digit of 22 ÷ 7 is too small and you look at 22 instead.
Worked Example: 847 ÷ 5
Default fields on this page are 847 and 5 because the division is short, exact as an integer-plus-remainder problem, and clean when you continue into tenths. Integer division first.
- Bring down 8. Working value 8. 8 ÷ 5 = 1. Product 5. Remainder 3.
- Bring down 4. Working value 34. 34 ÷ 5 = 6. Product 30. Remainder 4.
- Bring down 7. Working value 47. 47 ÷ 5 = 9. Product 45. Remainder 2.
Quotient digits 1, 6, 9 give 169. Remainder 2. Check: 169 × 5 + 2 = 845 + 2 = 847. In words: five goes into eight hundred forty-seven one hundred sixty-nine times, with two left over.
Set decimal places to 2 and the algorithm keeps going with zeros:
- Bring down 0. Working value 20. 20 ÷ 5 = 4. Product 20. Remainder 0.
- Bring down 0. Working value 0. 0 ÷ 5 = 0. Product 0. Remainder 0.
The truncated expansion is 169.40. Here the remainder hit zero, so the decimal terminates; two places simply show a trailing zero. Many homework keys still want 169 r 2 rather than 169.4, which is why place count 0 is the default.
Worked Example: 22 ÷ 7 (Truncated Repeating Decimal)
22 ÷ 7 is the classic “it never ends” example. Integer division is still finite: 7 goes into 22 three times because 3 × 7 = 21, remainder 1. Check: 3 × 7 + 1 = 22.
- Bring down 2. Working value 2. 2 ÷ 7 = 0. Product 0. Remainder 2 (the first digit is too small).
- Bring down 2. Working value 22. 22 ÷ 7 = 3. Product 21. Remainder 1.
Continue with four decimal places by bringing down zeros:
- Bring down 0 → 10. 10 ÷ 7 = 1, product 7, remainder 3.
- Bring down 0 → 30. 30 ÷ 7 = 4, product 28, remainder 2.
- Bring down 0 → 20. 20 ÷ 7 = 2, product 14, remainder 6.
- Bring down 0 → 60. 60 ÷ 7 = 8, product 56, remainder 4.
The truncated quotient is 3.1428. The true expansion 3.142857142857… repeats the block 142857. This calculator does not detect or mark the repeat; it stops at the number of places you selected. If a key wants 3.14, choose 2 places and you get 3.14 by truncation (the next digit would have been 2, so rounding to two places would also be 3.14 in this particular case, but 1 ÷ 6 to two places truncates to 0.16 while rounding would give 0.17). Always match your teacher’s rounding rule separately.
Integer Remainder vs Decimal Expansion vs Scaled Decimals
| Mode | Example | What you get | Watch for |
|---|---|---|---|
| 0 decimal places | 847 ÷ 5 | 169 remainder 2 | Remainder must be < divisor |
| Extra places | 847 ÷ 5 to 2 places | 169.40 truncated | Trailing zeros still count as places |
| Repeating, truncated | 22 ÷ 7 to 4 places | 3.1428 | No vinculum (repeating bar) |
| Decimal inputs | 12.5 ÷ 2.5 | Scaled to 125 ÷ 25 = 5 | Same power of 10 on both numbers |
When the inputs already contain a decimal point, the remainder after the integer stage is a remainder of the scaled integers. 12.5 ÷ 2 with 0 extra places scales to 125 ÷ 20 = 6 remainder 5, which is 6 remainder 0.5 in the original units because the scale was 101. The result panel prints both the scaled remainder and the original units when a scale was applied.
Where Long Division Still Matters in Real Work
1. Classroom checks and remainders
Elementary and middle-school keys often want “169 r 2”, not 169.4. Unit conversion (inches left over after feet, seats left after filling buses) is remainder arithmetic. The written steps let a student see which digit of the quotient went wrong instead of only seeing a final mismatch.
2. Fractions and mixed numbers
22 ÷ 7 as a mixed number is 3 1/7 because the remainder 1 sits over the original divisor. Continuing into decimals is a different representation of the same rational. If you are averaging many scores rather than dividing once, the average calculator is the dedicated tool.
3. Money, rates, and truncated cents
Splitting a bill or a unit price often needs a fixed number of decimal places. Banks and some invoices truncate; others round. This calculator always truncates extra quotient digits so the written steps match the displayed decimal. If your context rounds, round the last shown digit yourself.
4. Why the algorithm is exact here
JavaScript numbers cannot represent every integer past 253. The steps on this page use BigInt after scaling, so 847 ÷ 5 and much larger whole dividends stay exact. Digit count is capped so the tableau remains readable rather than a thousand-line dump.
5. Mistakes the step table is meant to catch
The most common written error is a quotient digit that is one too large, so the product exceeds the working value and you cannot subtract. The table shows product and remainder on every row; a negative remainder cannot appear. Another error is forgetting to write a 0 in the quotient when the working value is still smaller than the divisor - 22 ÷ 7 starts that way on the first digit. A third error is aligning the decimal point with the dividend’s point after you have already scaled both numbers; after scaling, the integer tableau’s decimal appears only when you ask for extra places by bringing down zeros. Compare 847 ÷ 5 at 0 places (169 r 2) with 2 places (169.40) and 22 ÷ 7 at 4 places (3.1428 truncated) until the paper copy matches a row.
Place-value language helps when a student is lost in the tableau. In 847 ÷ 5, the 1 is hundreds of fives, the 6 is tens of fives, and the 9 is ones of fives. The leftover 2 ones become 20 tenths if you continue, which is why the first decimal digit is 4. In 22 ÷ 7 the leftover 1 one becomes 10 tenths, and 7 fits once, leaving 3 tenths, which become 30 hundredths, and so on through 3.1428. That story is the same algorithm as the table; it is only the units that change when you cross the decimal point.
Frequently Asked Questions (FAQ) - Long Division
How do I do long division with a remainder?
Divide the dividend by the divisor using the classroom algorithm: estimate each quotient digit, multiply, subtract, and bring down the next digit. What is left at the end is the remainder, which must be smaller than the divisor. This calculator prints those steps plus quotient and remainder.
Can a long division calculator show the written steps?
Yes. Along with quotient and remainder, the tool lays out each multiply-and-subtract line so you can compare it with pencil-and-paper work.
How many decimal places can I get in the quotient?
You choose how far to continue the division after the decimal point. Extra zeros are brought down just as on paper. The expansion is truncated at that count, not rounded unless the UI says otherwise.
What happens with repeating decimals in long division?
Repeating expansions (for example 1 ÷ 3 = 0.333…) are shown truncated to the number of decimal places you selected. This calculator does not mark the repeating block with a bar.
Can I divide decimal numbers with long division?
Yes, by scaling both dividend and divisor to integers (shift the decimal the same number of places) and then dividing. The calculator does that scaling internally; the displayed steps follow the integer algorithm.
Does this long division calculator upload my dividend and divisor?
No. The division and the written steps run in your browser with JavaScript. Nothing is sent to a server. After the page loads, the tool still works if the network drops.
Why Choose Our Long Division Calculator?
- Free, no account. Unlimited divisions with written steps.
- Private. The tableau is built in the browser.
- Real long-division rows - bring down, working value, quotient digit, product, remainder.
- Integer remainder and truncated decimals from the same algorithm.
- Decimal inputs scaled to integers by a shared power of ten.
- No fake repeating-bar detection - truncation is explicit so homework keys stay honest.
- Works offline after the first page load.
Related Tools
Discover more free developer tools that might interest you.
Area Calculator
Calculate area of squares, rectangles, triangles, circles, and more
Use ToolAverage Calculator
Calculate mean, median, mode, and range from a list of numbers
Use ToolBasic Calculator
Add, subtract, multiply, and divide with a free online calculator
Use ToolBig Number Calculator
Add, subtract, multiply, and divide integers too large for a standard calculator
Use ToolBinary Calculator
Add, subtract, and convert binary numbers to decimal and hex
Use ToolCircle Calculator
Find radius, diameter, circumference, area, arc length, and sector area
Use ToolRelated guides
Read the how-to, then come back to this tool when you are ready to run it locally.