This article is about the binary operation mod(a,n). For the (mod n) notation, see Modular arithmetic. For other uses, see Modulo (disambiguation). In computing, the modulo operation returns the remainder or signed remainder of a division, after one number is divided by another, called the modulus of the operation. Given two positive numbers a and n, a modulo n (often abbreviated as a mod n) is th