What the Modulo Calculator does
The Modulo Calculator works out modulo (sign of divisor), remainder (sign of dividend) and quotient (floor) from dividend and divisor. Percentages, fractions, ratios, averages, roots, factors and equations, plus basic and scientific calculators.
It runs in your browser and nothing you type is uploaded.
Before you start
You need 2 values:
- Dividend: A number.
- Divisor: A number.
Step by step
- Open the Modulo Calculator.
- Enter Dividend.
- Enter Divisor.
- Press Calculate. Every field that needs fixing is listed next to it.
- Read the main result first, then the other lines. Open Formula and assumptions to see how it was worked out.
- Use Copy to keep the result, and add the calculator to your favourites if you use it often.
A worked example
With these sample values (they are only an illustration; use your own):
| Dividend | 10 |
|---|---|
| Divisor | 10 |
the calculator gives:
| Modulo (sign of divisor) | 0 |
|---|---|
| Remainder (sign of dividend) | 0 |
| Quotient (floor) | 1 |
The example is the real output of this calculator.
Reading your result
The result lists: modulo (sign of divisor), remainder (sign of dividend) and quotient (floor).
The formula it uses:
a mod b = a − b × floor(a ÷ b)
- For negative numbers the mathematical modulo and the remainder differ; both are shown.
Common mistakes
- Use the same units for every value.
- Type numbers without currency symbols; commas are fine.
- Optional fields can stay empty. Required fields cannot.
- Treat the result as an estimate: real quotes, rules and rounding can differ.