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.
- Free
- Works offline after your first visit
- Saves on this device
- No sign-up
- Updated
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
- Percent Change CalculatorPercent up or down between two numbers.
- Average CalculatorMean of a list of numbers.
- Percent Difference CalculatorGap between two values, as a share of their average.
- Standard Deviation CalculatorSpread of a list of numbers.
- Weighted Average CalculatorAverage where some values count more.
- Ratio CalculatorSimplify a ratio or find a missing term.