How To Use The Modulo Calculator
- Enter your numbers in the fields.
- The answer updates instantly as you type.
- Copy the result or change any value to compare.
About This Tool
Get the remainder of a division (the modulo), used in programming, clocks and number theory. Negative numbers follow the mathematical convention (result between 0 and n).
Formula
a mod n = a − n × ⌊a ÷ n⌋
Frequently Asked Questions
Is this tool free?
Yes. Modulo Calculator is completely free, with no sign-up and no limits.
Is my data safe?
Yes. Everything runs inside your browser. Nothing you type or upload is sent to a server.