Long Division Calculator

Divide exactly, step by step. Choose a whole-number quotient with remainder or a decimal quotient; repeating decimals are detected and their repeating block is shown.

Integer quotient184

The number being divided (shared out).

The number you divide by (how many equal groups).

Integer quotient

184

  • Nonnegative remainder17
  • Identity check12345 = 67 × (184) + 17
Long division of the dividend’s magnitude
Digit stepPartial dividendQuotient digitSubtractRemainder
11001
2120012
312316756
4564853628
5285426817

Euclidean integer division. For a negative dividend this quotient rounds down, which can differ from programming languages that truncate toward zero. Choose “Decimal quotient” for decimal inputs or digits after the point.

How this was calculated

  1. Divide 12345 by 67. Work from left to right, one digit at a time: divide, multiply, take away, then bring down the next digit.12345 ÷ 67
  2. 67 is bigger than 12, so start with the first 3 digits: 123. 67 goes into 123 1 time. Write 1 in the answer, then take away 1 × 67 = 67.123 ÷ 67 = 1Put in your numbers: 123 − 67Answer: 56 left over
  3. Bring down the next digit, 4, to make 564. 67 goes into 564 8 times. Write 8 in the answer, then take away 8 × 67 = 536.564 ÷ 67 = 8Put in your numbers: 564 − 536Answer: 28 left over
  4. Bring down the next digit, 5, to make 285. 67 goes into 285 4 times. Write 4 in the answer, then take away 4 × 67 = 268.285 ÷ 67 = 4Put in your numbers: 285 − 268Answer: 17 left over
  5. The 17 left at the end is the remainder, because it is smaller than 67. Check: divisor × quotient + remainder should give back the dividend.dividend = divisor × quotient + remainder, with 0 ≤ remainder < divisorPut in your numbers: 12345 = 67 × (184) + 17Answer: quotient 184, remainder 17

Long division in simple words

Long division splits a big number into equal groups, one digit at a time from the left. The number being split is the dividend, the number you divide by is the divisor, and the answer is the quotient.

Each round has four small jobs: divide, multiply, take away, then bring down the next digit.

For example, 12345 ÷ 67: 67 does not fit into 1 or 12, so start with 123. 67 goes into 123 once, and 123 − 67 = 56. Bring down 4 to make 564. 67 goes in 8 times, and 564 − 536 = 28. Bring down 5 to make 285. 67 goes in 4 times, and 285 − 268 = 17.

So 12345 ÷ 67 = 184 with 17 left over (the remainder). Check: 67 × 184 + 17 = 12345.

Formula and method

For positive divisor b, choose q and r so a = bq + r with 0 ≤ r < b. This is Euclidean integer division.

Worked example

12,345 divided by 67 gives quotient 184 and remainder 17, since 67 × 184 + 17 = 12,345.

Decimal quotients and repeating decimals

To divide by a decimal, move the decimal point the same number of places in both numbers until they are whole: 12.5 ÷ 0.25 becomes 1250 ÷ 25 = 50. Then divide as usual, bringing down a zero after each remainder to produce the next decimal digit.

If a remainder repeats, the digits repeat from that point on. For 1 ÷ 6 the remainders go 4, 4, 4…, so 1 ÷ 6 = 0.1666… = 0.1(6). For 1 ÷ 7 the block 142857 repeats. A fraction in lowest terms terminates only when its denominator has no prime factors other than 2 and 5.

Frequently asked questions

How are negative dividends handled?

The remainder stays nonnegative. For example, −7 divided by 3 gives quotient −3 and remainder 2, unlike truncation toward zero.

What do the parentheses in 0.1(6) mean?

They mark the repeating block, often written with a bar over the digits. 0.1(6) means 0.16666…, and 0.(142857) means 0.142857142857….

References

Last updated . Results are estimates for informational purposes only.