Modular Inverse Calculator

Find modular inverse values using accurate mathematical calculations easily.

Formula Used

The modular inverse formula finds a value x where:

(a × x) mod m = 1

The calculator uses the Extended Euclidean Algorithm. It solves ax + my = gcd(a,m). When gcd equals one, x becomes the inverse value.

How to Use This Calculator

Enter the number value inside the first field. Enter the modulus value inside the second field. Press the calculate button to get the answer.

The calculator checks whether an inverse exists. It displays the inverse when numbers are coprime.

Example Data

Number Modulus Inverse
3 11 4
7 15 13

Related Calculators

Paver Sand Bedding Calculator (depth-based)Paver Edge Restraint Length & Cost CalculatorPaver Sealer Quantity & Cost CalculatorExcavation Hauling Loads Calculator (truck loads)Soil Disposal Fee CalculatorSite Leveling Cost CalculatorCompaction Passes Time & Cost CalculatorPlate Compactor Rental Cost CalculatorGravel Volume Calculator (yards/tons)Gravel Weight Calculator (by material type)

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.