Start with a worked example
Open the worked example for Modulo. The example starts with Dividend = -17, Divisor = 5.
Modulo Calculator formula
Modulo is the remainder normalized to the divisor’s sign interval using ((a mod b)+b) mod b.
Inputs and units
| Input | Format / range | Example |
|---|---|---|
| Dividend | Number | -17 |
| Divisor | min 1 | 5 |
Worked example
The values listed in Inputs and units give 3 for Modulo.
- Modulo
- 3
Results and assumptions
The worked example uses the units shown in its input table. Use those same units to reproduce it.
Fix an input or unexpected result
Dividend is required. Enter dividend using the format and bounds in the input table. Zero and an empty field are different: use zero only if it is allowed and represents your data.
