Modulo Calculator
Find a mod n, the remainder after division, for positive and negative numbers. Example with the starting values — 47 mod 5: 2.
How this calculator works
Find a mod n, the remainder after division, for positive and negative numbers. Example with the starting values — 47 mod 5: 2.
Enter the values that apply to your situation. The result area shows the calculation, formula or method, assumptions, and source notes so you can check how the answer was produced.