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

Modular Arithmetic 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 m = r, where a = m x q + r and 0 <= r < m

Your Result

Worked example โ€” 7^13 mod 11 = 2 | Computed in 4 steps instead of 13

Reviewed for accuracy by Manoj Kumar, Mathematics Educator ยท Editorial policy