Factor the First Number
Enter the complete prime factorization of the first number.
Free Interactive Math Tool
Compare the prime factorizations of two numbers, identify every shared prime factor, multiply the common factors together, and find the greatest common factor step by step.
Learn how factors, prime factorization, shared prime factors, and repeated factors are used to find the greatest common factor of two whole numbers.
Read the Greatest Common Factor GuideHow It Works
Break both numbers into prime factors, identify the prime factors they share, and multiply those shared factors to find the greatest common factor.
Enter the complete prime factorization of the first number.
Enter the complete prime factorization of the second number.
Select only the prime factors that appear in both factorizations, including repeated copies.
Multiply the shared prime factors to calculate the greatest common factor.
Interactive Practice
Find the greatest common factor of
Prime factorize both numbers, identify the shared prime factors, and multiply them to find the GCF.
First Number
Second Number
Shared Factors
Find GCF
Step 1
Enter every prime factor of 48. Repeated prime factors must be entered more than once.
Separate factors with multiplication signs, commas, spaces, or the letter x.
Step 2
Enter every prime factor of 60. Repeated prime factors must be entered more than once.
Separate factors with multiplication signs, commas, spaces, or the letter x.
Step 3
Compare the two prime factorizations. Select every prime factor that appears in both lists. Repeated copies must be matched one at a time.
Prime factors of 48
Prime factors of 60
Shared Prime Factors
Step 4
Multiply the common prime factors you selected. Their product is the greatest common factor.
Common-factor product
You found the greatest common factor correctly.
Helpful Reminders
Keep factoring until every factor is prime before comparing the two numbers.
If a prime appears multiple times in both numbers, include only the copies they have in common.
Prime factors that appear in only one number are not part of the greatest common factor.
The product of the shared prime factors is always the greatest common factor.
Why Learn This?
Divide the numerator and denominator by their greatest common factor to reduce fractions.
Factoring algebraic expressions often begins by factoring out the greatest common factor.
The GCF is used whenever equal groups must be made without any leftovers.
Every new problem uses different numbers and provides immediate feedback so you can master greatest common factors with confidence.