The modular arithmetic calculator computes a mod n, GCD(a,n), the modular inverse using the extended Euclidean algorithm, and modular exponentiation aᵏ mod n — with full step-by-step Euclidean division table.

Modular Arithmetic Calculator