Common
The number must be a factor of both original numbers.
Free Math Guide
Learn how to find the greatest common factor by listing factors, comparing prime factorizations, matching repeated shared primes, and multiplying the common factors.
The greatest common factor, or GCF, is the largest positive whole number that divides two or more numbers evenly. You can find it by listing all factors, but prime factorization gives a more organized method that works especially well with larger numbers and repeated factors.
The greatest common factor is the largest positive whole number that divides two or more numbers without leaving a remainder.
The number must be a factor of both original numbers.
Of all the shared factors, choose the largest one.
Since 24 ÷ 12 = 2 and 36 ÷ 12 = 3, the number 12 divides both numbers evenly. No larger positive whole number divides both.
The common factors of 18 and 30 are 1, 2, 3, and 6.
A factor divides a number evenly. A common factor divides every number being compared evenly.
Factors of 24
1, 2, 3, 4, 6, 8, 12, 24
Factors of 36
1, 2, 3, 4, 6, 9, 12, 18, 36
Two numbers often have several common factors. The GCF is the largest one, not simply the first common factor you notice.
For smaller numbers, you can list every factor of both numbers and choose the largest factor they share.
Write every positive whole number that divides the first number evenly.
Write every positive whole number that divides the second number evenly.
Identify the numbers that appear in both lists.
Select the largest number in the shared list.
Factors of 16
1, 2, 4, 8, 16
Factors of 28
1, 2, 4, 7, 14, 28
Listing factors works well when the numbers are relatively small. For larger numbers, prime factorization is usually faster and more organized.
Prime factorization rewrites each number as a product of prime numbers. Then you match the prime factors that appear in both factorizations.
Continue factoring until every factor in both products is prime.
Pair each prime in the first factorization with one equal prime in the second factorization.
Prime factors that appear in only one number do not belong in the GCF.
The product of all matched prime factors is the greatest common factor.
Every factor of a number is built from its prime factors. By taking every prime copy shared by both numbers, you build the largest possible product that divides both numbers.
If two numbers share no prime factors, their only common factor is 1. These numbers are called relatively prime or coprime.
Every pair of positive whole numbers shares the factor 1. A GCF of 1 means they share no factor greater than 1.
The best way to become comfortable finding the greatest common factor is to work through several examples.
Every pair of positive whole numbers has at least one common factor: 1. When no prime factors are shared, the GCF is 1.
Finding the greatest common factor is an important skill that appears throughout middle school, high school, and college mathematics.
Divide both the numerator and denominator by their greatest common factor to write the fraction in simplest form.
Before factoring polynomials, you first factor out the greatest common factor.
The GCF helps divide objects into the largest equal groups without any leftovers.
Greatest common factors are closely connected to prime factorization, least common multiples, and divisibility rules.
Work through interactive greatest common factor problems with instant feedback, hints, and step-by-step guidance.
Practice Greatest Common Factors