Long Division Calculator

Divide whole numbers step by step the way school teaches it, with the remainder, the decimal answer and repeating digits marked.

Runs in your browserNo sign-upWorks offline

The tool is loading…

What the Long Division Calculator does

The Long Division Calculator divides one whole number by another and shows every step of the method taught in school: bring down a digit, see how many times the divisor goes in, multiply, subtract and carry the remainder to the next digit. It gives the answer as a quotient with a remainder and as a decimal, and when the decimal repeats forever, it marks the repeating digits.

How to use it

  1. Enter the dividend, the number you are dividing.
  2. Enter the divisor, the number you are dividing by.
  3. Read the answer, then open the step-by-step working table.

Example

1234 ÷ 7 is 176 remainder 2, since 176 × 7 + 2 = 1234. As a decimal it is 176.285714285714…, where the six digits 285714 repeat forever, written 176.(285714).

The steps

Start from the left. Take the first digit of the dividend; if the divisor does not go into it, take the first two digits. Write how many times the divisor goes in above, multiply the divisor by that number, subtract, and bring down the next digit next to the remainder. Repeat until there are no digits left; what remains is the remainder.

To continue into decimals, put a decimal point after the quotient, add a zero to the remainder and keep dividing. If a remainder comes back that you have seen before, the digits from that point will repeat.

Questions people ask

Is anything I enter sent anywhere?

No. The calculator works entirely in your browser, so your numbers stay on your device.

When does a decimal stop?

When the divisor, in its simplest fraction, has no prime factors other than 2 and 5. Dividing by 4, 8 or 20 ends; dividing by 3, 7 or 12 repeats.

Can I divide decimals?

Turn them into whole numbers first by multiplying both by the same power of ten: 12.5 ÷ 0.25 is the same as 1250 ÷ 25, which is 50.

What is the difference between the remainder and the decimal?

They describe the same leftover in two ways. 1234 ÷ 7 = 176 remainder 2, and the 2 left over is 2 ÷ 7 ≈ 0.2857, giving 176.2857.

Related tools