Long Division Calculator
Long division of two numbers with every step shown: quotient, remainder, exact fraction, the decimal with its repeating digits marked, and the working. How it works
Use the Long Division Calculator
About the Long Division Calculator
12345 ÷ 25 = 493 remainder 20, or 493.8 as a decimal and 2469/5 (493 4/5) as a fraction. This long division calculator works a division the way it is done on paper and shows every step: each subtraction, each digit brought down, the quotient, the remainder, the exact fraction and mixed number, and the decimal, with repeating digits marked.
1 ÷ n as a decimal, for n = 2 to 13
| Division | Exact decimal | To 10 places | Repeating block |
|---|---|---|---|
| 1 ÷ 2 | 0.5 | 0.5 | None, the decimal ends |
| 1 ÷ 3 | 0.(3) | 0.3333333333… | 1 digit |
| 1 ÷ 4 | 0.25 | 0.25 | None, the decimal ends |
| 1 ÷ 5 | 0.2 | 0.2 | None, the decimal ends |
| 1 ÷ 6 | 0.1(6) | 0.1666666666… | 1 digit |
| 1 ÷ 7 | 0.(142857) | 0.1428571428… | 6 digits |
| 1 ÷ 8 | 0.125 | 0.125 | None, the decimal ends |
| 1 ÷ 9 | 0.(1) | 0.1111111111… | 1 digit |
| 1 ÷ 10 | 0.1 | 0.1 | None, the decimal ends |
| 1 ÷ 11 | 0.(09) | 0.0909090909… | 2 digits |
| 1 ÷ 12 | 0.08(3) | 0.0833333333… | 1 digit |
| 1 ÷ 13 | 0.(076923) | 0.0769230769… | 6 digits |
Digits in brackets repeat forever. The 10-place figure is cut off, not rounded, which is why 1 ÷ 6 ends in 6 and not 7.
Worked divisions: quotient, remainder and decimal
| Division | Quotient | Remainder | Exact decimal |
|---|---|---|---|
| 12345 ÷ 25 | 493 | 20 | 493.8 |
| 100 ÷ 7 | 14 | 2 | 14.(285714) |
| 22 ÷ 7 | 3 | 1 | 3.(142857) |
| 365 ÷ 7 | 52 | 1 | 52.(142857) |
| 1000 ÷ 3 | 333 | 1 | 333.(3) |
| 1000 ÷ 16 | 62 | 8 | 62.5 |
| 125 ÷ 8 | 15 | 5 | 15.625 |
| 144 ÷ 12 | 12 | 0 | 12 |
| 5280 ÷ 12 | 440 | 0 | 440 |
| 86400 ÷ 7 | 12342 | 6 | 12342.(857142) |
| 12.5 ÷ 2 | 6 | 0.5 | 6.25 |
| -7 ÷ 2 | -3 | -1 | -3.5 |
| 7 ÷ -2 | -3 | 1 | -3.5 |
Check any row with dividend = divisor × quotient + remainder: 25 × 493 + 20 = 12345.
How to use this tool
- Type the dividend (the number being divided) and the divisor (the number you divide by). Each can have up to 100 digits, a decimal point and a minus sign.
- Set how many decimal places to continue to, from 0 to 100. The field starts at 10.
- Read the quotient and remainder, then follow the layout and the list of steps in words.
Frequently asked questions
- How do you do long division step by step?
- Divide, multiply, subtract, bring down, and repeat. For 100 ÷ 7: 7 goes into 10 once, leaving 3. Bring down 0 to make 30, and 7 goes into 30 four times (28), leaving 2. The answer is 14 remainder 2.
- How do I turn a remainder into a decimal?
- Put a decimal point after the quotient, bring down a 0 beside the remainder and keep dividing. 17 ÷ 5 is 3 remainder 2. Bring down a 0 to make 20, and 5 goes into 20 four times, so 17 ÷ 5 = 3.4. As a fraction the remainder goes over the divisor: 17 ÷ 5 = 3 2/5, or 17/5, and the tool shows both forms.
- What is 1 divided by 3 as a decimal?
- 0.(3): the 3 repeats forever, because the remainder is 1 at every step. Set to 4 decimal places, the tool shows 0.3333… for 1 ÷ 3 and 0.6666… for 2 ÷ 3, cut off and not rounded up to 0.6667.
- How do I divide decimals with long division?
- Move the decimal point the same number of places in both numbers until both are whole. 3.6 ÷ 0.12 becomes 360 ÷ 12 = 30, and 12.5 ÷ 2 becomes 125 ÷ 20 = 6.25. The tool does this scaling and says so under the result.
- How does it divide negative numbers?
- It divides the digits as positive numbers and then sets the signs. The quotient is truncated toward zero (the fraction is dropped) and the remainder has the sign of the dividend: -7 ÷ 2 = -3 remainder -1, and 7 ÷ -2 = -3 remainder 1. Floored division, which some textbooks and programming languages use, gives -4 remainder 1 for -7 ÷ 2.
- Why do some decimals repeat?
- Every step leaves a remainder smaller than the divisor, so only so many remainders are possible. When one comes back, the same digits follow again. That is why the repeating block of 1 ÷ 7 has 6 digits, one fewer than the divisor, and could not have more.
Related Tools
View all toolsDecimal to Fraction
Convert a decimal to a fraction in lowest terms and see the working: 0.75 = 3/4, 2.75 = 11/4 or 2 3/4, and 0.333… (3 repeating) = 1/3.
Modulo Calculator
a mod n for any two numbers: the remainder when both are positive (17 mod 5 = 2), and the sign of the divisor for negatives (-7 mod 3 = 2).
Betting Odds Calculator
Convert betting odds between American, decimal and fractional formats, see the implied probability, and get the profit and total return on a stake.
Rounding Calculator
Round a number to decimal places, significant figures, a whole number, a ten or hundred, or a multiple such as 5 or 0.25: 123.456789 to 2 places is 123.46.
Arithmetic Sequence Calculator
Arithmetic sequence nth term aₙ = a₁ + (n − 1)d and sum Sₙ of the first n terms, with the first 20 terms listed and the position of any value.
Basic Calculator
Basic calculator for + − × ÷ in the standard order of operations (2 + 3 × 4 = 14), with % and memory keys, ^ for powers and the result as a fraction.