Modular Arithmetic & GCD/LCM Calculator (CRT, Bézout, Mod-Inverse)
BigInt-exact modular arithmetic: a mod m (floor or truncated), modular add/subtract/multiply/exponentiation (binary exponentiation), GCD/LCM of two or more numbers, extended Euclidean algorithm with Bézout coefficients, modular inverse with existence check, and a Chinese Remainder Theorem solver for a system of congruences — with step-by-step Euclid tables. 100% client-side & offline.
BigInt-exact modular arithmetic: a mod m (floor or truncated), modular add/subtract/multiply/exponentiation (binary exponentiation), GCD/LCM of two or more numbers, extended Euclidean algorithm with Bézout coefficients, modular inverse with existence check, and a Chinese Remainder Theorem solver for a system of congruences — with step-by-step Euclid tables. 100% client-side & offline. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.