Long Division Calculator
Enter the number to divide and the number to divide by, and the calculator shows long division the way it is written on paper, with each step explained. Choose a whole quotient with a remainder, or a decimal answer, where digits that repeat forever are put in parentheses. Decimal divisors are handled by moving the decimal point first. Everything runs in your browser.
176
┌──────
7 │ 1234
-7
───
53
-49
───
44
-42
───
2- 7 goes into 12: 1 time. 1 × 7 = 7, and 12 - 7 = 5.
- 7 goes into 53: 7 times. 7 × 7 = 49, and 53 - 49 = 4.
- 7 goes into 44: 6 times. 6 × 7 = 42, and 44 - 42 = 2.
Check: 176 × 7 + 2 = 1234
The arithmetic is exact, with no rounding: the dividend can have up to 30 digits, the divisor up to 18, and the decimal answer up to 2000 places. With a negative number, the quotient is cut toward zero and the remainder takes the sign of the dividend; some courses and programming languages use another rule. Everything runs in your browser.
Related Tools
[6 suggestions]Fraction Calculator
Add, subtract, multiply and divide fractions, mixed numbers and decimals, simplify to lowest terms and see the steps.
Math & MoneyModulo Calculator
Find a mod n, the remainder, modular inverses, powers mod n and congruences, with the steps, and see why negative numbers differ.
Student ToolsDecimal to Fraction Converter: Repeating Decimals and Percents
Convert a decimal to a fraction exactly, including repeating decimals such as 0.(3) and percents, with the steps, a mixed number and the closest fraction for a ruler.
Math & MoneyRounding Calculator: Round to Decimal Places or a Multiple
Round numbers to a chosen number of decimal places or to the nearest 0.05, 0.25 or 5, with ten rules including half away from zero and half to even, using exact decimals.
Student ToolsPrime Factorization Calculator
Break any whole number up to 18 digits into its prime factors, with division steps, all divisors and a prime check.
Math & MoneyGCD and LCM Calculator
Find the greatest common divisor and least common multiple of two or more whole numbers, with the Euclidean algorithm steps.
Math & MoneyAbout the Long Division Calculator
Long division works through the dividend one digit at a time. Take the first digits that are at least as large as the divisor, write how many times the divisor fits above the line, multiply that digit by the divisor, subtract, and bring down the next digit. Repeat until no digits are left. What remains is the remainder, and the answer can be checked by multiplying the quotient by the divisor and adding the remainder, which gives the dividend back. For 1234 divided by 7, the quotient is 176 and the remainder is 2, because 176 times 7 is 1232 and 2 more is 1234. For a decimal answer, put a point after the dividend and keep bringing down zeros. The digits either end, as in 100 divided by 8 which is 12.5, or start to repeat as soon as a remainder comes up a second time, as in 22 divided by 7 which is 3.(142857). A fraction in lowest terms has a decimal that ends only when its denominator has no prime factors other than 2 and 5. When the divisor has a decimal point, move the point to the right in both numbers until the divisor is whole: 7.5 divided by 0.25 becomes 750 divided by 25, which is 30. The arithmetic here uses exact whole numbers, so long dividends of up to 30 digits do not lose precision, and the decimal answer can run to 2,000 places. With negative numbers the calculator cuts the quotient toward zero and gives the remainder the sign of the dividend; some courses and programming languages choose a different rule. Everything runs in your browser and nothing you type is uploaded.
How do you do long division step by step?▾
Divide, multiply, subtract and bring down. See how many times the divisor goes into the first digits, write that number above, multiply it by the divisor, subtract the product, and bring down the next digit. Repeat until there are no digits left.
What is the remainder?▾
It is what is left when the divisor no longer fits. It is always smaller than the divisor. 17 divided by 5 is 3 with a remainder of 2, because 3 times 5 is 15.
How do I turn a remainder into a fraction or a decimal?▾
For a fraction, put the remainder over the divisor, so 3 remainder 2 after dividing by 5 is 3 2/5. For a decimal, add a point and zeros to the dividend and keep dividing, which gives 3.4.
How can I tell that a decimal repeats?▾
When a remainder appears that you have had before, the digits from that point will come again in the same order. The calculator stops there and puts the repeating digits in parentheses, for example 1 divided by 6 is 0.1(6).
How do I divide by a decimal?▾
Move the decimal point in the divisor to the right until it is a whole number, and move the point in the dividend the same number of places. Then divide as usual. 4.8 divided by 0.6 becomes 48 divided by 6.
Is what I type uploaded?▾
No. The division is worked out in your browser, and what you type is not sent anywhere or stored.