The modulo of two numbers is the remainder when they are divided. For example, 5 mod 3 is 2 because 5 divided by 3 leaves a remainder of 2.
To calculate the modulo of two numbers, you can use the following steps -
In short the modulo of two numbers a and b is the remainder we get on division of a by b.