Skip to main content

learn.howToCalculate

learn.whatIsHeading

Modulo (%) gives the remainder after division: a mod b = remainder of a ÷ b. It is fundamental to clock arithmetic, cryptography, hashing, cyclic patterns, and determining even/odd numbers. In programming, % is the modulo operator.

단계별 가이드

  1. 117 mod 5 = 2 (because 17 = 3×5 + 2)
  2. 2Even numbers: n mod 2 = 0; Odd: n mod 2 = 1
  3. 3Clock arithmetic: (current hour + hours to add) mod 12
  4. 4Modular arithmetic: (a + b) mod n = ((a mod n) + (b mod n)) mod n

풀어진 예시

입력
23 mod 7
결과
2
23 = 3×7 + 2
입력
100 mod 12 (clock)
결과
4
100 hours later = 4 AM

계산할 준비가 되셨나요? 무료 Modulo 계산기를 사용해 보세요

직접 시도해 보세요 →

설정

개인정보이용약관정보© 2026 PrimeCalcPro