Coprime Calculator

Coprime (or Relatively Prime or Mutually Prime) numbers
have no common factors other than 1

Enter two numbers and see the results live:

images/prime-rel.js

The numbers do not have to be prime numbers themselves.

For example, 8 and 9 are coprime because they share no factors other than 1. But neither 8 nor 9 is a prime number.

Grid showing which pairs of numbers from 1 to 12 are coprime, with marked intersections
Coprime Table 1 to 12

Useful for Fractions

35

When we simplify a fraction as much as possible, then the top and bottom numbers (the numerator and denominator) are coprime.

610 = 35

If the top and bottom numbers of a fraction are not coprime (like 6 and 10 that share the factor 2), then we can simplify the fraction.