Modular Arithmetic Calculator

Welcome to the Modular Arithmetic Calculator, which performs arithmetic modulo an integer (also known as "clock arithmetic"). Modular arithmetic has many important applications. Whenever you make a purchase over the internet, or a call on your cell phone, the data that is transimitted is encoded using methods based on modular arithmatic.

To use the calculator, enter a non-zero integer for the modulus m, and integers a and b below. Then press one of the operation buttons. The answer is displayed next to Result.

Modulus m =  
a =  
b =  


Please send any comments or suggestions for improving the Modular Arithmetic Calculator.

   Paul Trow's math page.

Copyright 2009 by Paul Trow