Modulo Calculator

Free online modulo calculator. Compute mod/remainder with explanation. Accurate and easy to use.

Result

17 mod 5 = 2

17 = 3 × 5 + 2

Modular Arithmetic Breakdown

Dividend: 17

Divisor: 5

Quotient (floor division): 17 ÷ 5 = 3

Mathematical mod: 17 mod 5 = 2

Verification: 3 × 5 + 2 = 17 ✓