Modulo Calculator: Find Any Remainder in Seconds

17 divided by 5 leaves 2 over. That leftover is the remainder, and it is what modulo finds. This modulo calculator finds that remainder in one step. You can use it whenever a division does not come out even and you need to know what is left.

This modulo calculator has five modes: Find the Remainder, Modulo with Negatives, Check Divisibility, Clock and Calendar, and Modulo of a List. Students also search for a mod calculator when they mean this same tool. Each mode handles a different kind of remainder problem, from a simple division to wrapping time around a clock. This page is the general remainder tool. The Percentage Calculator and the Exponent Calculator do not do this kind of remainder work, so use this page when you need a remainder, not a percentage or a power.

Modulo Calculator

Find any remainder, compare the two sign rules for negatives, check divisibility, and wrap clock time.

Remainder2
Quotient
3
Convention
Floored (math)
Truncated (%)
2
17 = 5 × 3 + 2
Floored (math / Python / Excel MOD)
3
−17 = 5 × (−4) + 3
Truncated (JS / C / Java %)
−2
−17 = 5 × (−3) + (−2)
Least non-negative residue
3
Floored quotient
−4
Truncated quotient
−3
VerdictDivisible ✓
Remainder
0
Quotient
5
Check
15 = 3 × 5 + 0
Time
Day of the week
Time2 o’clock
Raw sum
14
14 mod 12
2
Day
Friday
Remainders2, 3, 0, 0
Divisible by 5
100, 15
Values (n)
4
Divisor
5
ValueRemainderDivisible