Modulo Calculator
Easily calculate the remainder of a division operation. Enter the dividend and modulus below.
Result:
Remainder:
Visualizing Modulo Operation
Representing items divided into groups of . The yellow items represent the remainder.
รท = with remainder
What is Modulo Operation?
The modulo operation finds the remainder after division of one number by another. For example, when you divide 17 by 5, the quotient is 3 and the remainder is 2. So, 17 modulo 5 is 2. It's often represented as a % b, which means "the remainder when a is divided by b". Modulo operation is useful in various applications like:
- Clock Arithmetic: Calculating time in a 12 or 24-hour format.
- Computer Science: Hash functions, cyclic operations, and cryptography.
- Divisibility Tests: Checking if a number is divisible by another.