Greatest Common Factor (GCF)

Learn how to find the greatest common factor of two or more numbers using multiple methods.

Intermediate25 minLesson

Definition

The Greatest Common Factor (GCF) of two or more numbers is the largest number that divides evenly into all of them.
For example, for the numbers and :
  • Factors of :
  • Factors of :
  • Common factors:
  • GCF = 6 (the largest common factor)
The GCF is also called the Greatest Common Divisor (GCD) or Highest Common Factor (HCF).

Try it now

What is the GCF of and ?

Worked Examples

Find the GCF of and .

1

List all factors of 24

Factors:

2

List all factors of 36

Factors:

3

Circle the common factors

Both lists contain: Common factors found

4

Find the greatest

The largest number in both lists is

Common Mistakes

Confusing GCF with LCM

Why it's wrong: GCF is about dividing (finding what goes INTO both numbers), while LCM is about multiplying (finding what both numbers go INTO).

Correct: GCF of 12 and 18 is 6 (divides both). LCM of 12 and 18 is 36 (both divide into it).

Forgetting to take the LOWEST power when using prime factorization

Why it's wrong: Students sometimes multiply all prime factors instead of only the common ones with lowest powers.

Correct: For and , use (not ) and . GCF = .

Stopping before finding the GREATEST common factor

Why it's wrong: Finding any common factor doesn't mean it's the greatest one.

Correct: For 24 and 36, common factors are 1, 2, 3, 4, 6, 12. The GCF is 12, not just any common factor like 2 or 6.

Interactive Visual

Venn Diagram - GCF & LCM

Number A:
Number B:
121822, 33Only in ACommonOnly in B

Prime factors of 12:

223

Prime factors of 18:

233

GCF

6

2 × 3 = 6

LCM

36

2 × 2 × 3 × 3 = 36

How it works:

  • GCF = product of common prime factors (center of diagram)
  • LCM = product of all prime factors (entire diagram)

Find the greatest common factor using prime factorization.

Factor Tree

Number:
Composite
Prime

Enter a number to see its factor tree and prime factorization.

Interactive Sandbox

Expression Calculator

Try these:

History

No calculations yet

Practice Problems

16 problems
Problem 1 of 16
Easy

What is the GCF of and ?

Why It Matters

Finding the GCF is essential in many real-world situations:
  • Simplifying fractions: To reduce to lowest terms, divide by GCF(12, 18) = 6 to get
  • Dividing things equally: If you have 24 red tiles and 36 blue tiles and want equal groups with the same ratio, the GCF tells you the maximum group size
  • Construction: When cutting boards of 48 cm and 60 cm into equal pieces with no waste, the GCF gives the largest piece size
  • Scheduling: Finding when events that repeat at different intervals will coincide
The GCF is the foundation for working with fractions and algebraic expressions!

Real World Applications

Simplifying Fractions

Reducing fractions to lowest terms requires finding the GCF of the numerator and denominator.

Example:

To simplify : GCF(42, 56) = 14, so

1Try It Yourself

You need to simplify the fraction .

What is the simplified form?

Step 1: Write the mathematical expression

Find GCF(30, 45) and divide both by it:

Cutting Materials Without Waste

When cutting boards or fabric, the GCF helps find the largest equal pieces possible.

Example:

You have a 72 cm board and a 90 cm board. To cut them into equal pieces with no waste, use pieces of GCF(72, 90) = 18 cm.

2Try It Yourself

You have ribbon rolls of 40 cm and 56 cm. You want to cut them into equal pieces with no leftover.

What is the longest piece you can cut?

Step 1: Write the mathematical expression

Find GCF(40, 56):

Organizing Items into Groups

The GCF helps when distributing different types of items into equal groups.

Example:

With 28 apples and 42 oranges, you can make GCF(28, 42) = 14 identical gift baskets, each with 2 apples and 3 oranges.

3Try It Yourself

A teacher has 36 pencils and 48 erasers to put into supply kits.

What is the maximum number of identical kits possible?

Step 1: Write the mathematical expression

Find GCF(36, 48):

Key Takeaways

  • 1The GCF is the largest number that divides evenly into two or more numbers
  • 2Method 1: List all factors of each number and find the greatest common one
  • 3Method 2: Use prime factorization and multiply the common primes with their lowest powers
  • 4The GCF is used to simplify fractions by dividing both numerator and denominator by it
  • 5When GCF = 1, the numbers are called relatively prime (no common factors besides 1)

Frequently Asked Questions

When GCF = 1, the numbers are called relatively prime or coprime. They share no common factors other than 1. Examples: GCF(8, 15) = 1, GCF(7, 12) = 1.
When GCF = 1, the numbers are called relatively prime or coprime. They share no common factors other than 1. Examples: GCF(8, 15) = 1, GCF(7, 12) = 1.
No, the GCF is always less than or equal to the smaller number. The GCF must divide both numbers, so it can't exceed either of them.
GCF is the largest number that divides INTO both numbers. LCM (Least Common Multiple) is the smallest number that both numbers divide INTO. For 12 and 18: GCF = 6, LCM = 36.

Glossary

Greatest Common Factor (GCF)
The largest positive integer that divides evenly into two or more numbers
Factor
A number that divides evenly into another number (no remainder)
Prime factorization
Writing a number as a product of prime numbers
Relatively prime
Two numbers whose GCF is 1 (also called coprime)
Common factor
A factor that is shared by two or more numbers

More in This Topic