Divide two integers with this quotient and remainder calculator to see the whole-number result and what remains. Enter the dividend and divisor to check an exact division or work out complete groups and leftovers.
Integer calculations
Quotient and Remainder Calculator
Divide two integers to find the whole-number quotient and the remainder.
Quotient
Enter two integers, then calculate.
- Remainder
Division truncates toward zero. A nonzero remainder has the same sign as the dividend, so dividend = divisor × quotient + remainder.
For division with remainders on your phone, Unit Converter is free to download and includes a Remainder Calculator.
How to use this tool
- Enter the integer Dividend.
- Enter a nonzero integer Divisor. Plain signed integers are accepted; decimals and fractions are not.
- Click Calculate to see the Quotient and Remainder.
What are the quotient and remainder?
When a total is divided into equal groups, the quotient tells you how many complete groups can be made. The remainder tells you how much is left after those groups are filled. Keeping both results is useful when counting whole items, arranging batches or deciding whether a total divides evenly.
A quotient and remainder calculator performs integer division and reports these two parts separately. The remainder is still part of the original total, even though it is not included in the integer quotient.
Dividend, divisor, quotient and remainder
Each part of a division has a particular role:
- Dividend
- The number being divided. In a grouping problem, this is the total quantity available.
- Divisor
- The number you divide by. It can represent the size of each group or the number of equal shares. It must be nonzero.
- Quotient
- The integer part of the result. For a nonnegative total and a positive group size, it counts the complete groups that fit.
- Remainder
- The difference between the dividend and the amount accounted for by the divisor multiplied by the quotient.
The order of the dividend and divisor matters. Dividing a total by a group size answers a different question from dividing that group size by the total.
The formula for division with remainders
The dividend is reconstructed by multiplying the divisor and quotient, then adding what remains:
Dividend = divisor × quotient + remainder
Using a for the dividend, b for the divisor, q for the quotient and r for the remainder:
a = bq + r
For a nonnegative dividend and a positive divisor, the remainder satisfies 0 ≤ r < b. If it were at least as large as the divisor, another complete group could be taken. Together, the equation and this remainder range identify a unique quotient and remainder, as described by the division algorithm.
Once the integer quotient is known, the remainder follows from r = a − bq. A zero remainder means the divisor is a factor of the dividend: the division is exact.
What to do with the remainder
For packing items into equal-sized boxes, the quotient gives the number of full boxes and the remainder gives the unpacked items. If every item must be packed, a nonzero remainder means one additional box is needed. If only full boxes count, the quotient is the relevant result.
For sharing whole items equally, divide the total by the number of recipients. The quotient then gives each person’s equal share, while the remainder counts the items that cannot be distributed equally without splitting them. These interpretations explain why a leftover quantity can matter more than a decimal answer.
Long division, fractions and decimals
The long division method builds the quotient one digit at a time. It repeatedly divides, multiplies and subtracts, bringing down the next digit of the dividend before continuing. Once all the original digits have been used, the amount left is the remainder. OpenStax’s explanation of whole-number division describes this process and the multiplication check.
The same result can be written as a fraction:
a ÷ b = q + r/b
With positive inputs, the integer quotient supplies the whole-number part and the remainder over the divisor supplies the fractional part. Converting that fraction to a decimal gives the amount beyond the integer quotient. The remainder itself is a count of leftover units, not a set of digits to place after a decimal point.
How negative integers are handled
This calculator uses truncation toward zero: the quotient is the division result with its fractional part removed. A nonzero quotient is positive when the inputs have the same sign and negative when their signs differ.
The remainder is zero or has the same sign as the dividend. Its absolute value is smaller than the divisor’s absolute value, and a = bq + r still holds. A negative divisor does not by itself make the remainder negative.
Another common convention always uses a nonnegative remainder with a positive divisor. That convention can give a different result for a negative dividend. Knowing which rule is in use helps when comparing integer division with modulo operations in mathematics or programming.
More tools: Browse all calculators and unit converters.
Calculate remainders on your phone
Keep the Remainder Calculator and other math tools handy with Unit Converter. Download it free from the App Store or Google Play.

