Overview
When dividing one number by another, the result may not be a whole number. The remainder is the part left over after complete divisions. For example, 17 ÷ 5 = 3 remainder 2, because 5 × 3 = 15 and 17 − 15 = 2.
Formula
Dividend = (quotient × divisor) + remainder.
How it works
Enter the dividend and divisor
Both must be integers, and the divisor cannot be zero.
Calculate the quotient
Take the whole part of the division.
Calculate the remainder
Subtract the quotient times the divisor from the dividend.
Worked examples
Example 1: 17 ÷ 5
Quotient 3 and remainder 2.
Example 2: −17 ÷ 5
Truncated division gives quotient −3 and remainder −2, while floor division gives quotient −4 and remainder 3.
Frequently asked questions
Can the remainder be negative?
Yes. In truncated division toward zero, the remainder takes the dividend's sign. Floor division gives a non-negative remainder.
What does a zero remainder mean?
It means the division is exact, and the divisor divides the dividend without a remainder.
Does it support decimals?
No. The remainder in this form is defined for integers. Use the basic operations calculator for decimals.
This calculator is for educational and informational purposes only and is not a substitute for professional advice.