Working with remainders
This short guide explains what the remainder calculator does, how to get the best result and when another tool is a better fit.
What a remainder is
When one whole number doesn’t divide another exactly, something is left over. 17 ÷ 5 is 3 with 2 left over, because 5 × 3 = 15 and 17 − 15 = 2. That leftover is the remainder. Writing it as 17 = 5 × 3 + 2 shows all the pieces at once and is how the calculator presents the answer.
If the remainder is 0, the divisor is a factor of the dividend.
Remainders in everyday life
Remainders answer practical questions. 365 days is 52 weeks and 1 day, which is why your birthday moves forward one weekday each year, or two after 29 February. Sharing 100 sweets among 7 children gives 14 each with 2 left. Packing 230 bottles in boxes of 24 fills 9 boxes with 14 bottles left over.
In clock arithmetic, 15:00 plus 11 hours is 26 ÷ 24, remainder 2, so 02:00.
A worked example
You want to know what weekday it will be 100 days after a Monday. Divide 100 by 7: quotient 14, remainder 2. Fourteen whole weeks bring you back to Monday, and 2 more days make it Wednesday. The same method works for any repeating cycle, such as shift patterns or rotating rotas.
Programmers use the remainder (modulo) operator for exactly these kinds of repeating patterns.
Negative numbers
Different systems treat negative remainders differently. This calculator uses truncated division, like JavaScript, C and Java: −17 ÷ 5 gives quotient −3 and remainder −2. Mathematicians often prefer a non-negative remainder, which would give quotient −4 and remainder 3. Both satisfy dividend = divisor × quotient + remainder.
If you need the non-negative version, add the divisor to a negative remainder: −2 + 5 = 3.
Related tools
To find common multiples, use the LCM Calculator. For exact decimal answers instead of remainders, the Fraction to Decimal Calculator divides and shows the result as a decimal.
- dividend = divisor × quotient + remainder
- Remainder 0 means exact division
- Negative remainders follow the dividend’s sign here
Further reading: Remainders explained. It explains the format behind this remainder calculator in more detail.
