Modulo Calculator

You can use this modulo calculator to determine the result of modulo operations between integer numbers.

The modulo operation, which is also often referred to as the mod or modulus operation, identifies the remainder after a given number is divided by another number.

Modulo is frequently expressed as a mod b; however, in some cases, it can be expressed as a % b.

On calculators, modulo is often calculated using the mod() function: mod(a, b) = r.

In this representation, a is the dividend, mod is the modulus operator, b is the divisor, and r is the remainder after dividing the divided (a) by the divisor (b).

Using the Modulo Calculator

Simply input the two numbers for which you would like to determine the modulo and click on the "Calculate a mod b" button.

Mod Calculator

How to Calculate Modulo: An Example

Let's say we want to calculate 100 mod 32

Perform the division: 100 / 32 = 3.125

Retain the integer (3), and multiply it by the divisor (32):

3 × 32 = 96

100 − 96 is 4

As such, 100 mod 32 = 4.

You may also be interested in our Significant Figures Calculator or/and Online Scientific Notation Calculator

Rating: 4.4/5 (336 votes)