Chinese Remainder Theorem Calculator – Solve Simultaneous Congruences

🧮 Chinese Remainder Theorem Calculator

Solve simultaneous congruences with step-by-step solutions

📝 Enter Congruences

❌ Error
✅ Solution Found

📐 How to Use the Chinese Remainder Theorem Calculator

  1. Enter pairs of remainders and moduli for your congruences
  2. Ensure moduli are pairwise coprime (their GCD is 1)
  3. Click “Calculate” to find the smallest solution satisfying all congruences
  4. View the step-by-step solution process
  5. Save or share your results

📚 What is the Chinese Remainder Theorem?

The Chinese Remainder Theorem (CRT) is a fundamental theorem in number theory that provides a method for solving simultaneous modular equations. It states that if you have a system of congruences:

  • x ≡ a₁ (mod m₁)
  • x ≡ a₂ (mod m₂)
  • x ≡ aₖ (mod mₖ)

Where the moduli m₁, m₂, …, mₖ are pairwise coprime, then there exists a unique solution modulo M = m₁ × m₂ × … × mₖ.

Applications: Cryptography, computer science, algebra, and solving complex mathematical problems.