Skip to main content
Reviewed for accuracy by Manoj Kumar, Mathematics Educator

Modulo Calculator

Calculator

Adjust values & calculate

Enter your values below. Every result is computed in your browser — no data is sent to any server.

Formula: a mod b = a - b * floor(a / b)

Your Result

Worked example — 17 mod 5 = 2 | Quotient: 3 | 17 = 5 x 3 + 2

Reviewed for accuracy by Manoj Kumar, Mathematics Educator · Editorial policy