Handeware
Math

Remainder

2

Modulo Calculator

The modulo is the remainder left over when one whole number is divided by another. It helps check whether a number divides evenly, or count around a cycle such as the days of the week.

How it works

Divide the first number by the second, keep the whole part of the answer, multiply that by the second number, and subtract the result from the first. What is left is the remainder.

The second number cannot be zero. For negative numbers the same steps apply, and the remainder takes the sign of the second number.

Worked example

17 divided by 5 leaves a remainder of 2.

Questions

How do I know if a number divides evenly?

If the remainder is zero, the first number divides evenly by the second.

Where is the modulo used in everyday life?

It helps with cycles, such as finding which day of the week falls after a set number of days, or which seat comes next in a rotation.

Does it work with decimals?

This calculator takes whole numbers, which is what remainders are normally about.

More like this

All Math calculators