Modulo (remainder) calculator
Compute a mod n and see the remainder under both common conventions: the truncated result used by JavaScript, C and Java, and the floored result used by Python and standard mathematics. The integer quotient is shown too. The two remainders differ only when exactly one of the numbers is negative.
It is privacy-first: all arithmetic happens locally in your browser, so the numbers you enter never leave your device.