Use this tool to find the remainder when a number (the dividend) is divided by another number (the divisor). This is useful in lots of different situations, and especially in programming. For example, you could use this calculator to find out what day of the week it is 100 weeks from now: 100 mod 7 equals 2. So if it is Sunday today, 100 days from now it will be Tuesday!

Enter any number greater than 0:

Mod