Enter two or more numbers to find their greatest common factor, with the prime factors and Euclid’s method shown.
Two or more whole numbers, separated by commas or spaces.
Write each number as a product of primes and keep only the primes they all share, each to the lowest power it appears. Multiply those together. For two numbers, Euclid’s method gives the same answer: divide the larger by the smaller and repeat with the remainder until it is 0.
| Numbers | GCF |
|---|---|
| 12 and 18 | 6 |
| 16 and 24 | 8 |
| 18 and 24 | 6 |
| 24 and 36 | 12 |
| 36 and 48 | 12 |
| 15 and 25 | 5 |
| 42 and 56 | 14 |
| 48 and 180 | 12 |
| 54 and 72 | 18 |
| 60 and 90 | 30 |
12. 48 = 2⁴ × 3 and 180 = 2² × 3² × 5. They share 2² × 3 = 12.
Yes. Greatest common factor, greatest common divisor and highest common factor are three names for the same thing.
The numbers are coprime (relatively prime): they share no factor other than 1, like 8 and 15.