Math & Geometry
Long Division Calculator with Remainder and Steps
Divide one whole number by another and see exactly how the answer is found. Long division is the written method taught in schools for dividing large numbers: you work through the dividend from left to right, one digit at a time, dividing, multiplying, subtracting and bringing down the next digit until none are left. What remains at the end is the remainder, a number smaller than the divisor. The result can then be written in several ways: as a quotient with a remainder, such as 176 remainder 2; as a mixed number, such as 176 and 2/7; or as a decimal. When the divisor has prime factors other than 2 and 5, the decimal never ends, but the digits eventually repeat in a fixed cycle, because there are only so many possible remainders. This calculator finds that repeating block and shows it in brackets, so 1234 divided by 7 becomes 176.(285714), meaning 176.285714285714 and so on. Enter the dividend, the number being divided, and the divisor, the number you divide by. The calculator gives the quotient, remainder, mixed number, exact decimal and a check that the divisor times the quotient plus the remainder gives back the dividend, along with a table of the long division steps that is useful for homework and teaching.
How to use this calculator
- Enter the dividend, the number to be divided.
- Enter the divisor, the number to divide by.
- Read the quotient and the remainder.
- See the result as a mixed number and an exact decimal.
- Follow the steps in the table.
Why learn long division
Long division breaks a hard problem into small, repeatable steps and builds an understanding of place value. The same process underlies dividing polynomials in algebra.
Checking the answer by multiplying back, divisor times quotient plus remainder, is a quick way to catch mistakes.
Repeating decimals
Every fraction of whole numbers has a decimal that either ends or repeats. For example, 1/3 = 0.(3), 1/7 = 0.(142857) and 1/12 = 0.08(3).
The length of the repeating block for 1/p, where p is a prime other than 2 or 5, always divides p − 1; for 7 it is 6 digits.
Formula & method
Dividend = divisor × quotient + remainder, with 0 ≤ remainder < divisorLong division: bring down one digit at a time, divide, multiply, subtractDecimal: keep dividing the remainder × 10; a repeated remainder starts a repeating blockMixed number = quotient + remainder ÷ divisorDivision algorithm: dividend = divisor × quotient + remainder, with 0 ≤ remainder < divisor. Long division steps: take the next digit of the dividend into the running number, find how many times the divisor fits (the quotient digit), multiply, subtract, and repeat. Decimal expansion: multiply the remainder by 10, divide again and record the digit; if a remainder appears for the second time, the digits between the two occurrences repeat forever. A fraction a/b in lowest terms has a terminating decimal only if b has no prime factors other than 2 and 5. The calculator accepts whole numbers, dividends up to 10¹⁵ and divisors up to 10⁹, and shows up to 200 decimal digits.
Worked example
1234 ÷ 7
- 12 ÷ 7 = 1, remainder 5; bring down 3 → 53 ÷ 7 = 7, remainder 4.
- Bring down 4 → 44 ÷ 7 = 6, remainder 2.
- Quotient 176, remainder 2; decimal 176.285714285714…
Answer: 176 remainder 2 = 176 2/7 = 176.(285714).
Frequently asked questions
What is a remainder?
What is left over after dividing as many whole times as possible.
How do I check a division?
Multiply the divisor by the quotient and add the remainder.
Why does 1/7 repeat?
Because 7 has a prime factor other than 2 or 5.
What do the brackets mean?
The digits inside repeat forever.
How do I write a remainder as a fraction?
Put the remainder over the divisor.
Can the remainder be bigger than the divisor?
No, it is always smaller.