Long Division Calculator

Work through long division the way it is written on paper. See the divisor, the dividend, each subtraction and each digit brought down, with the answer as a remainder or as a decimal that ends or repeats.

Calculator Numbers & Math Updated Oct 3, 2026
How to Use
  1. Type the dividend (the number inside the bracket) and the divisor (the number outside).
  2. Choose the answer as a remainder or as a decimal; for decimals, set how many places to go to if it doesn’t end or repeat sooner.
  3. Read the layout: the quotient on top, each product subtracted underneath, each digit brought down.
  4. Show Work lists every divide-multiply-subtract step in words.
  5. A decimal divisor such as 0.25 is first turned into a whole number by moving both points.
Input
Presets
Written layout
Answer
—
Whole part
—
Remainder
—
Repeats
—

Worked Example

1234 ÷ 7. 7 doesn’t go into 1, so start with 12: once, 12 − 7 = 5. Bring down 3: 53 ÷ 7 = 7, 53 − 49 = 4. Bring down 4: 44 ÷ 7 = 6, 44 − 42 = 2. No digits are left, so 1234 ÷ 7 = 176 remainder 2. Check: 176 × 7 + 2 = 1234.

Carrying on as a decimal. Bring down zeros: 20 ÷ 7 = 2 r 6, 60 ÷ 7 = 8 r 4, 40 ÷ 7 = 5 r 5, 50 ÷ 7 = 7 r 1, 10 ÷ 7 = 1 r 3, 30 ÷ 7 = 4 r 2. The remainder 2 has come back, so the digits 285714 repeat: 176.285714285714…

The common mistake: dropping a zero in the quotient. In 1015 ÷ 5, 5 goes into 10 twice, then into 1 zero times. That 0 must be written: the answer is 203, not 23.

Show Work

Enter a division to see the step-by-step working.

Formulas

Each step
digit = ⌊current ÷ divisor⌋
Next number
(current − digit × divisor) × 10 + next digit
Check
quotient × divisor + remainder = dividend
Decimal divisor
a ÷ b = (a × 10ᵏ) ÷ (b × 10ᵏ)
Repeat length
at most divisor − 1 digits

How Long Division Was Written

The layout taught today is fairly young. Medieval European arithmetic used the “galley” or scratch method, crossing out digits as they were used until the page looked like a ship’s sails. The modern form, writing each product under the dividend and subtracting, appeared in Italian arithmetic books in the 15th century, and Henry Briggs used it in England around 1600.

Even now the bracket differs around the world: the English-speaking layout puts the divisor on the left with the quotient above, while much of Europe and Latin America writes the divisor to the right and the quotient below it. The digits and the steps are the same.

About This Calculator

This calculator draws long division the way it is written by hand, for dividends up to 40 digits. It stops at a remainder or carries on into decimals, detects repeating blocks (the remainder that comes back), and turns a decimal divisor into a whole number first, showing both moved decimal points.

Everything runs in your browser; nothing is sent anywhere.

Related calculators: Remainder Calculator, Fraction Calculator, and Decimal to Fraction Converter.

Frequently Asked Questions

What are the steps of long division?

Divide, multiply, subtract, bring down, and repeat. For 1234 ÷ 7: 7 goes into 12 once (write 1), 1 × 7 = 7, 12 − 7 = 5; bring down 3 to make 53. 7 goes into 53 seven times, 49, remainder 4; bring down 4 to make 44. 7 goes into 44 six times, 42, remainder 2. So 1234 ÷ 7 = 176 remainder 2.

How do I continue past the decimal point?

Put a decimal point after the dividend and in the quotient directly above it, then keep bringing down zeros. 1234 ÷ 7 continues: 20 ÷ 7 = 2 r 6, 60 ÷ 7 = 8 r 4, 40 ÷ 7 = 5 r 5 and so on, giving 176.285714…. Stop when the remainder is 0, or when a remainder repeats, because from then on the digits repeat too.

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 dividend’s point the same number of places. 12.5 ÷ 0.25 becomes 1250 ÷ 25 = 50. Multiplying both numbers by 100 doesn’t change the answer.

How do I know if a decimal will repeat?

After the digits of the dividend run out, there are only as many possible remainders as the divisor, so either a remainder of 0 turns up and the decimal ends, or a remainder repeats and so does everything after it. A fraction in lowest terms ends exactly when its denominator has no prime factors other than 2 and 5: 1/8 = 0.125 ends, 1/7 = 0.142857… repeats with a 6-digit block.

What if the divisor is bigger than the first digit?

Use the first two (or more) digits instead. In 875 ÷ 25, 25 doesn’t go into 8, so start with 87: 3 times, 75, remainder 12; bring down 5 to make 125, which is exactly 5 × 25. The answer is 35, and the 3 sits above the 7, not above the 8.

How do I use the Long Division Calculator?

Just type your numbers. The answer shows up right away — there is no button to press. Change anything and it updates by itself.

Does it cost anything or need an account?

No. The tool is completely free, there is no account to create, and it keeps working offline after the page first loads.

Is anything I type uploaded?

No. The tool works entirely on your device, so the values you enter never leave your browser.

Common Use Cases

Homework

Check 1234 ÷ 7 = 176 r 2 step by step.

Decimals

1 ÷ 8 = 0.125: three steps after the point, then remainder 0.

Repeating decimals

1 ÷ 7 = 0.142857142857…, a 6-digit repeating block.

Decimal divisors

12.5 ÷ 0.25 = 1250 ÷ 25 = 50.

Teaching

Show where each quotient digit goes, as in 875 ÷ 25 = 35.

Last updated: