Modulo Calculator

Calculate modulo with step-by-step explanation

mod

Calculation Steps:

Modulo Formula:

Modulo Operation:

  • a mod b = remainder when a is divided by b
  • For negative numbers: result has same sign as divisor
  • Properties:
    • (a mod b) is always smaller than |b|
    • Used in: cryptography, hashing, periodic functions
Back to Home