Skip to content

Long Division Calculator

Quotient and remainder with every step of the long division written out

Loading the tool…

Finds the quotient and remainder of a division and draws the long division one step at a time. Use it to check division homework, divide decimals, convert between fractions and repeating decimals, or find remainders of negative numbers.

How to use

  1. On the "Long division" tab, enter the "Dividend" and the "Divisor". Decimals such as 7.5 are allowed.
  2. Under "Answer as", choose "Quotient and remainder", "Decimal places" or "Until it ends or repeats".
  3. Under "Written long division", step through with "Next step" and "Previous step", or press "Show all". "Written layout" switches between the layouts used in different countries.
  4. Use the "Repeating decimals" tab to convert fractions and repeating decimals, and the "Remainder (mod)" tab for negative numbers.

How it works

Questions and answers

What is 17 divided by 5 with remainder?
The quotient is 3 and the remainder is 2. Check: 5 × 3 + 2 = 17.
How do I divide by a decimal?
Move the decimal point in both numbers until the divisor is a whole number. 7.5 ÷ 0.25 becomes 750 ÷ 25, so the quotient is 30.
What is 1/7 as a decimal?
0.142857142857…, a repeating decimal in which the six digits 142857 repeat forever. The "Repeating decimals" tab shows the repeating block.
How do I find the remainder of a negative number?
It depends on the rule. For −7 divided by 3, the Euclidean and floored rules (Excel MOD) give 2, and the truncated rule (JavaScript %) gives −1. The "Remainder (mod)" tab compares all three.