The modulus operator returns the remainder of dividing the first expression by the second expression. For example, can be thought of as the remainder of divided by . Since divided by is with a remainder of then the expression is equal to .

Modular arithmetic is used throughout computing and applies to how humans keep time.