Math calculator

Remainder Calculator

How many times it goes in, what is left, and the check that proves both.

Quotient and remainder

With the multiplication that checks them.

47 ÷ 5

9 remainder 2

5 goes into 47 9 times with 2 left over — and 2 is smaller than 5, which is what makes the quotient the largest one that fits.

Quotient

9

whole times the divisor fits

Remainder

2

what is left over

Check

9 × 5 + 2

= 47, the dividend back again

As a fraction

9 + 2/5

the mixed-number form

Taking 5 away until it no longer fits

  1. 475 = 42
  2. 425 = 37
  3. 375 = 32
  4. 325 = 27
  5. 275 = 22
  6. 225 = 17
  7. 175 = 12
  8. 125 = 7
  9. 75 = 2

5 came out 9 timesbefore the result dropped below it. That count is the quotient and what is left is the remainder — which is the definition the long-division algorithm is a shortcut for.

Arbitrary-precision integers throughout, so a twenty-digit dividend gives an exact remainder rather than a rounded one.

What this tool shows

47 divided by 5 is 9 remainder 2. The proof is one multiplication: 9 × 5 + 2 = 47. This page gives the quotient, the remainder and that check line together, because the check is what turns an answer into a correct answer.

  • The quotient and remainder of any whole-number division
  • The check line, a = q × n + r
  • The answer as a mixed number
  • Whether the division comes out exactly
  • Repeated subtraction, when the count is readable
  • What a negative dividend does to the answer
Quotient and remainder The multiplication that proves it The mixed-number form Repeated subtraction shown

Exact on whole numbers of any length.

Updated 7 September 2026 · Works in any browser, no installation

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.

At a glance

Formula shown
For a divided by n, the quotient q is the largest whole number of times n fits into a, and the remainder is r = a \u2212 qn. The division algorithm guarantees exactly one such pair with 0 \u2264 r < n when both are positive.
Scenario support
Splitting a count into equal groups and seeing what is left over; checking a long-division answer; finding how many full boxes a shipment fills and how many items remain.
Educational estimate
Planning support from the values you enter — not professional advice.

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.

Related calculators

Where this goes next:

ModuloAll three conventions at once, because −7 mod 3 is −1 in JavaScript and 2 in Python and a page that gives only one of those is wrong for half its readers.
Divisibility TestEvery divisibility rule from 2 to 16 applied to your number, each with its working, the reason it holds, and the true remainder beside it as a check.
GCFThe greatest common factor of two to six numbers with all three routes shown — the shared primes to their lower powers, Euclid line by line, and the full factor lists when they are short enough to be honest.
FactorEvery factor of a number listed in the pairs that generate them, with the count derived from the prime exponents and separately checked against the list.
Mixed NumberAdd, subtract, multiply and divide mixed numbers with the borrow shown where it happens, plus a second independent check worked through improper fractions.
Fraction to DecimalConvert a fraction to its exact decimal, with the length of the repeat worked out from the denominator before dividing and the long division shown remainder by remainder.

More in Math, or browse all calculators.

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.

Educational use disclaimer

This is an educational tool. The arithmetic is exact for whole numbers; a decimal has no remainder to report, and the page says so rather than guessing.

How we calculate · Found an error? email us

Authorship & verification

Written and maintained by , a business operator who builds spreadsheet-based calculators.

What's changed (3 updates)

Published 7 September 2026

  1. Published the remainder page with the check line beside the answer, because quotient times divisor plus remainder is what turns an answer into a correct one.
  2. Repeated subtraction is shown wherever the count is readable, since it is the reason the algorithm terminates and most readers were never shown it.
  3. A negative dividend gets both defensible answers rather than one, with the identity each satisfies.

Add this calculator to your site

Responsive embed — and private: nothing your visitors type leaves their browser.