# Modular arithmetic

The calculator performs arithmetic operations modulo p over a given math expression.

This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/8326/. Also, please do not modify any references to the original work (if any) contained in this content.

Enter an integer number to calculate its remainder of Euclidean division by a given modulus. You may also enter the math expression containing other integers and the following modular operations:

**+**addition modulo p**-**subtraction modulo p*****multiplication modulo p**/**division modulo p ( available for all numbers if the modulus is a prime number only )**^**exponentiation modulo p**()**expression grouping

URL copied to clipboard

#### Similar calculators

**

**PLANETCALC, Modular arithmetic

## Comments