Find every factor shared by two or more whole numbers, see them highlighted in each number’s factor list, and get the greatest common factor.
Factors of each number
Enter 2 to 10 positive whole numbers up to 1,000,000,000,000. Common factors are shown in bold in each list. The common factors of a set of numbers are exactly the factors of their greatest common factor.
A common factor calculator lists every factor that two or more whole numbers share, highlights them in each number’s full list of factors, and identifies the greatest common factor. It also shows the GCF as a product of primes, the common prime factors and the factor pairs of the GCF, so you can see exactly why each common factor works.
For example, 36, 48 and 60 have 6 common factors: 1, 2, 3, 4, 6 and 12, and the greatest is 12. The numbers 12 and 18 share 1, 2, 3 and 6. The numbers 9 and 14 share only 1, so they’re coprime.
A factor of a number divides it exactly, with no remainder. A common factor of two or more numbers divides every one of them. The factors of 12 are 1, 2, 3, 4, 6 and 12; the factors of 18 are 1, 2, 3, 6, 9 and 18. The numbers that appear in both lists, 1, 2, 3 and 6, are the common factors of 12 and 18.
Every set of whole numbers has at least one common factor, because 1 divides everything. When 1 is the only common factor, the numbers are called coprime or relatively prime.
For 36, 48 and 60:
The common factors are 1, 2, 3, 4, 6 and 12.
There’s a neat shortcut: the common factors of a set of numbers are exactly the factors of their greatest common factor. So find the GCF first, then list its factors. The GCF of 36, 48 and 60 is 12, and the factors of 12 are 1, 2, 3, 4, 6 and 12. This method is much faster for large numbers, and it’s how the calculator works.
Write each number as a product of primes and find the primes they all share, at the lowest power. 36 = 2² × 3², 48 = 2⁴ × 3 and 60 = 2² × 3 × 5. They share 2² and 3, so the GCF is 2² × 3 = 12. Every common factor is built from those shared primes: 1, 2, 3, 2 × 2, 2 × 3 and 2 × 2 × 3.
Because the common factors are the factors of the GCF, you can count them from its prime factorization. Add 1 to each exponent and multiply. For a GCF of 12 = 2² × 3, that’s (2 + 1) × (1 + 1) = 6 common factors. A GCF that’s prime gives exactly two common factors, 1 and the prime itself, and a GCF of 1 gives just one.
Dividing the top and bottom of a fraction by any common factor gives an equivalent fraction. Dividing by the greatest common factor gives the simplest form in one step: 36/48 divided by 12 becomes 3/4. Dividing by a smaller common factor, such as 2, works too, but you’ll need to repeat the process.
If you have 36 red, 48 blue and 60 green beads and want to share them equally between children with none left over, the number of children must be a common factor: 1, 2, 3, 4, 6 or 12. With 12 children, each gets 3 red, 4 blue and 5 green beads.
To cover a 36 cm by 48 cm board with identical square tiles and no cutting, the tile side must be a common factor of 36 and 48. Possible sizes are 1, 2, 3, 4, 6 or 12 cm, and 12 cm gives the fewest tiles: 3 × 4 = 12 tiles.
Spotting a common factor is the first step in factoring expressions. In 36x + 48, both terms share the factors 1, 2, 3, 4, 6 and 12, so you can write 12(3x + 4), taking out the greatest one.
Find the common factors of 168 and 252. Listing every factor would take a while, so use the GCF. By the Euclidean algorithm, 252 = 168 × 1 + 84 and 168 = 84 × 2 + 0, so the GCF is 84. Now list the factors of 84: 1, 2, 3, 4, 6, 7, 12, 14, 21, 28, 42 and 84. Those twelve numbers are the common factors of 168 and 252. As a check, 84 = 2² × 3 × 7, and (2 + 1) × (1 + 1) × (1 + 1) = 12, which matches the count.
If a number divides both 168 and 252, it must also divide their GCF, because the GCF can be built from 168 and 252 by adding and subtracting multiples of them, as the Euclidean algorithm shows. And anything that divides the GCF automatically divides both numbers, since the GCF itself divides them. So the set of common factors and the set of factors of the GCF are exactly the same. This simple fact turns a long comparison of lists into a single, short factor list.
Numbers whose only common factor is 1 are called coprime. Two different primes are always coprime, and so are any two consecutive whole numbers, such as 14 and 15. Coprime numbers can still be composite: 8 and 9 are both composite but share no factor except 1. Coprimality matters in fractions, since a fraction is in its simplest form exactly when its numerator and denominator are coprime, and in gear design, where coprime tooth counts spread wear evenly.
Don’t confuse the two ideas. Common factors divide into the numbers, so they’re never larger than the smallest number, and there are only finitely many. Common multiples are numbers that the given numbers divide into, so they’re at least as large as the biggest number, and there are infinitely many. For 12 and 18, the common factors are 1, 2, 3 and 6, while the common multiples are 36, 72, 108 and so on.
You may also find the LCM calculator useful to find the least common multiple of two or more numbers, while the number sequence calculator lets you find the nth term and sum of a sequence.
1, 2, 3 and 6. The greatest common factor is 6.
1, 2, 3, 4, 6 and 12. The greatest is 12.
Find the greatest common factor first, then list its factors. Those are exactly the common factors.
Yes. 1 divides every whole number, so it's a common factor of any set of numbers.
The numbers are coprime, or relatively prime. For example, 9 and 14 share no factor other than 1.
A common factor is any number that divides all the given numbers. The GCF is the largest of them.
As many as their GCF has factors. If the GCF is 12, there are 6 common factors.
Yes. Enter up to 10 numbers, separated by commas or spaces.
Dividing the numerator and denominator by a common factor simplifies the fraction. Using the GCF simplifies it completely in one step.
A prime number that divides all the given numbers. For 36, 48 and 60, the common prime factors are 2 and 3.
1, 2, 3, 4, 6, 7, 12, 14, 21, 28, 42 and 84. Their GCF is 84, and these are its factors.
No. Two even numbers always share the factor 2, so their common factors always include at least 1 and 2, and they can't be coprime.
Up to one trillion each. Full factor lists are shown for numbers up to one billion.
No. Common factors divide the numbers; common multiples are divisible by the numbers.