# Difference between Modulo and Modulus

In the world of Programming and Mathematics we often encounter the two terms **“Modulo” **and **“Modulus”. **In programming we use the operator “%” to perform modulo of two numbers. It basically finds the remainder when a number **x **is divided by another number **N**.

It is denoted by :

x mod Nwhere x : Dividend N : Divisor

**Some important links to find out more about concepts in Modular Arithmetic :**

__Modular Arithmetic__-
__Euler’s Totient Function__ __Compute n! under modulo p____Wilson’s Theorem____How to compute mod of a big number?____Find value of y mod (2 raised to power x)____Modulus Operator in C____Modulus of Negative Numbers__

In this article we are going to see the difference between the two terms, modulo and modulus, used frequently in Modular Arithmetic.

**Modulo :**

It is basically an operator which is denoted by **“mod” **and**,** in programming, uses **“%”. **It is a function which returns the **remainder value** when a number is divided by another number.

For example –

1. 12 mod 5 // 12modulo5 2. 38 ≡ 14 (mod 12) // 38,14 are congruentmodulo12

**Modulus :**

It is simply a **noun** which is the value N in the expression “x mod N”.

We abbreviate it as **N is the modulus**.

For example –

1. 12 mod 3 // 3 is the modulus

In the previous example, note that the** congruent modulo** basically means that the difference of the two numbers is an integer multiple of the **modulus** 12.

The difference of 38 and 14 is 24 and 24 is double of 12.

It is important to note that these two words can’t be interchanged as it will completely change the meaning. It would be bogus to say that –

1. 12 mod 10 //modulois 10 2. 38 ≡ 14 (mod 12) // 38,14 are congruentmodulus

In terms of English, we can conclude that **modulo** is a preposition,** **as prepositions are used before a noun to show some spatial and temporal relations of the noun **modulus. **The relation in modular arithmetic is the **remainder **when two numbers are added.