ChalksumThe right answer, with the work shown.
Math › GCF calculator

GCF calculator

Enter two or more numbers to find their greatest common factor, with the prime factors and Euclid’s method shown.

Your numbers

Two or more whole numbers, separated by commas or spaces.

GCF = 12
12greatest common factor
720least common multiple
Nocoprime?
prime factors: 48 = 2⁴ × 3 180 = 2² × 3² × 5 primes they share, each the fewest times it appears: 2² × 3 = 12 check with Euclid’s method: 180 = 3 × 48 + 36 48 = 1 × 36 + 12 36 = 3 × 12 + 0

How it works

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.

GCF of common pairs

NumbersGCF
12 and 186
16 and 248
18 and 246
24 and 3612
36 and 4812
15 and 255
42 and 5614
48 and 18012
54 and 7218
60 and 9030

Questions

What is the GCF of 48 and 180?

12. 48 = 2⁴ × 3 and 180 = 2² × 3² × 5. They share 2² × 3 = 12.

Is GCF the same as GCD and HCF?

Yes. Greatest common factor, greatest common divisor and highest common factor are three names for the same thing.

What does it mean if the GCF is 1?

The numbers are coprime (relatively prime): they share no factor other than 1, like 8 and 15.

More math calculators