Modulo operation

Computational operation

In mathematics, the modulo operation works out the remainder (what's left over) when we divide two integers (whole numbers without a fraction or a decimal) together. For example, 5 modulo 2 is 1, because if we divide 5 by 2, then we get 2 (because Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "/mathoid/local/v1/":): {\displaystyle 2 \times 2 = 4} ) with 1 left over. Instead of writing modulo, people sometimes write . [1]

Because computers and calculators store numbers in different ways, they sometimes use different steps to work out the modulus (what we get when we modulo two numbers).

Related pagesEdit


  1. "Definition of MODULUS". Retrieved 2021-02-06.