Calculate a Remainder
The remainder is what remains after dividing one integer by another.
Formula: a = bq + r, with 0 β€ r < absolute value of b for positive divisor conventions
Write the inputs in the form required by the formula and check the result with a small reference case. For equations and statistics, make sure the selected convention matches the problem you are solving.
Substitute the same inputs into the displayed formula and compare the calculated value with the result shown by the tool.