Take away as many whole copies of the divisor as will fit; what is left is the remainder. For 47 and 5, five fits nine times — 45 — leaving 2. The remainder must be smaller than the divisor, because if it were not, another copy would still fit and the quotient was too small.
Why the remainder is always smaller
This is the one rule worth internalising: a remainder is always less than the divisor. If you get 47 ÷ 5 = 8 remainder 7, the answer is wrong, because another 5 fits inside that 7.
It follows from what the quotient is. The quotient is the LARGEST whole number of copies that fit. If the leftover were as big as the divisor, one more copy would fit, and the quotient would not have been the largest.
That is also why the pair is unique. For any dividend and any positive divisor there is exactly one quotient and one remainder satisfying both conditions — the identity and the size limit. This is the division algorithm, and it is a theorem rather than a convention.
Reading the check line
The page shows quotient × divisor + remainder next to the answer. For 47 ÷ 5 that is 9 × 5 + 2, which is 47.
This single line catches almost every mistake a long division can make. A quotient digit written in the wrong column, a subtraction slip, a forgotten zero — all of them break the check, because the reconstructed dividend comes out wrong.
It is worth doing by hand even when a calculator produced the answer, because it verifies the numbers you actually wrote down rather than the ones you meant to type.
Long division is this, digit by digit
Long division is not a different operation. It is the same subtraction, done one place value at a time so the numbers stay small enough to handle.
Dividing 4728 by 5, you ask how many fives fit in 47 (nine, leaving 2), bring down the 2 to make 22 (four fives, leaving 2), bring down the 8 to make 28 (five fives, leaving 3). Quotient 945, remainder 3. Each step is the same question asked of a two-digit number.
The repeated-subtraction view on this page is the version underneath that. It is slower, and it is the one that shows why the process ends: each subtraction makes the number strictly smaller, so it must eventually drop below the divisor.
Negative dividends
Ask for −47 divided by 5 and two answers are defensible. Rounding the quotient towards zero gives −9 remainder −2. Rounding it down gives −10 remainder 3.
Both satisfy the identity: −9×5 + (−2) = −47, and −10×5 + 3 = −47. School arithmetic usually means the first, number theory usually means the second, and programming languages are split.
When the dividend is negative the page shows both rather than choosing. If you are matching a particular language or a particular textbook, the Modulo Calculator names which convention each one uses.
Where remainders are the answer
Packing. 1,000 items into boxes of 24 gives 41 full boxes and 16 left over. The remainder is what you have to do something about.
Splitting a bill or a rota. Seven shifts among three people is two each with one left over — and the remainder is exactly the part that needs a decision.
Testing divisibility. A remainder of zero is what “divides exactly” means. It is the definition every divisibility rule is a shortcut for.
Converting units that do not divide evenly. 200 minutes is 3 hours remainder 20 minutes. The quotient is the big unit, the remainder is the small one, and no decimal is involved.
Remainder, modulo and fraction
Three ways to answer the same division, and which one is right depends on what the leftover means.
Remainder keeps the leftover whole. Sixteen items left over is sixteen items; you cannot ship 0.67 of a box.
Modulo throws away the quotient and keeps only the position. Nobody asks how many full weeks are in 365 days — they ask which weekday it lands on.
Fraction or decimal divides the leftover up. 47 ÷ 5 = 9.4, and the .4 is the remainder 2 expressed as two fifths. Right for a measurement, wrong for a count of boxes.
Sources and methodology
The division algorithm is a theorem rather than a convention — these are the references.
Method. One division produces the quotient and the remainder together, on arbitrary-precision integers, so a twenty-digit dividend is exact rather than rounded. The check line is computed from the returned pair rather than restated from the input, so a wrong pair would fail to reproduce the dividend. Where the quotient is small enough to be readable, the repeated subtraction is generated from the same numbers. That engine is verified on every change against 69 hand-written assertions, including that quotient times divisor plus remainder returns the dividend across twenty thousand random pairs, with negatives on both sides. The count and the per-case breakdown are published on the formula verification page.
Read the guide
If what you actually want is a position on a cycle — a weekday, an array index, a check digit — the Modulo Calculator frames the same division that way and gives all three sign conventions.