Modulo (Remainder) Calculator
Result
Remainder (a mod b) 2
Quotient 3
Calculate remainder: a mod b (integer division remainder).
Formula
a mod b = remainder of a ÷ b
17 mod 5
Inputs
- Dividend (a): 17
- Divisor (b): 5
17 ÷ 5 = 3 R 2, so 17 mod 5 = 2
Frequently asked questions
What is modulo?
Modulo finds the remainder after division