NEXORANEXORA Tools

Modulo Calculator

Find the remainder (mod) when one number is divided by another.

How To Use The Modulo Calculator

  1. Enter your numbers in the fields.
  2. The answer updates instantly as you type.
  3. 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.