Math
Relatively Prime Calculator
Check whether two numbers are coprime (share no common factor).
Did this calculator solve your problem today?
✓ Thank you for your feedback!
Report issue to loopingon.com
Sponsored
Two integers are relatively prime (coprime) when their only common factor is 1.
The math behind it
Compute the greatest common divisor. If gcd(a, b) = 1 the numbers are coprime, even if neither is prime.
Worked Example
14 and 15 share no factor → gcd = 1 → coprime.
Frequently Asked Questions
Must coprime numbers be prime?
No — 14 and 15 are coprime even though both are composite.
Advertisement