Skip to main content

Calcu.fit

Common Factor Calculator: List All Common Factors of Two or More Numbers

Use this free common factor calculator to find all the factors of each number you enter, and then the factors they share. It shows the greatest common factor (GCF), tells you if the numbers are coprime, and gives the steps. It works with two or more whole numbers. No signup needed.

Common Factor Calculator

Enter 2 to 10 positive whole numbers separated by commas, spaces, or new lines.

Greatest Common Factor (GCF)

Greatest Common Factor —

Common Factors

Factors of Each Number

Prime Factorization

Calculation Steps

How to Use This Common Factor Calculator

  1. Enter two or more positive whole numbers, separated by commas or spaces, such as 12, 18 or 30 45 60.
  2. Click Calculate.

You can enter up to 10 numbers. For decimals, multiply the numbers by a power of 10 first so they become whole numbers.

What You’ll See in Your Results

  • All the factors of each number
  • The common factors, highlighted
  • The greatest common factor (GCF)
  • Whether the numbers are coprime (their only common factor is 1)
  • The prime factorization of each number
  • Steps for the method you choose

What Is a Factor?

A factor (or divisor) of a number is a whole number that divides it exactly, with no remainder. Factors come in pairs.

The factors of 12 are 1, 2, 3, 4, 6, and 12, because 1 × 12, 2 × 6, and 3 × 4 all equal 12.

A common factor of two or more numbers is a number that is a factor of all of them. The greatest common factor (GCF), also called the greatest common divisor (GCD) or highest common factor (HCF), is the largest one.

For 12 and 18:

  • Factors of 12: 1, 2, 3, 4, 6, 12
  • Factors of 18: 1, 2, 3, 6, 9, 18
  • Common factors: 1, 2, 3, 6
  • GCF = 6

1 is a factor of every number, so it is always a common factor.

Methods for Finding Common Factors

Method 1: List the Factors

  1. Write all the factors of each number.
  2. Circle the ones that appear in every list.

Method 2: Use the GCF

Every common factor is a factor of the GCF, and every factor of the GCF is a common factor. So:

The common factors of a set of numbers are exactly the factors of their GCF.

For 12 and 18, the GCF is 6, and the factors of 6 are 1, 2, 3, 6. These are the common factors.

Method 3: Prime Factorization

  1. Write each number as a product of primes.
  2. For each prime that appears in all the numbers, take the lowest power.
  3. Multiply these together to get the GCF.

Method 4: Euclid’s Algorithm

To find gcd(a, b), repeat: replace (a, b) with (b, a mod b) until the remainder is 0. The last non-zero remainder is the GCF.

Common Factor Calculator Examples

Example 1: 12 and 18

  • Factors of 12: 1, 2, 3, 4, 6, 12
  • Factors of 18: 1, 2, 3, 6, 9, 18
  • Common factors: 1, 2, 3, 6
  • GCF: 6

Example 2: 24 and 36

  • Factors of 24: 1, 2, 3, 4, 6, 8, 12, 24
  • Factors of 36: 1, 2, 3, 4, 6, 9, 12, 18, 36
  • Common factors: 1, 2, 3, 4, 6, 12
  • GCF: 12

Example 3: Three Numbers (30, 45, 60)

  • Factors of 30: 1, 2, 3, 5, 6, 10, 15, 30
  • Factors of 45: 1, 3, 5, 9, 15, 45
  • Factors of 60: 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60
  • Common factors: 1, 3, 5, 15
  • GCF: 15

Example 4: Coprime Numbers (8 and 15)

  • Factors of 8: 1, 2, 4, 8
  • Factors of 15: 1, 3, 5, 15
  • Common factors: 1 only
  • GCF: 1

Numbers whose only common factor is 1 are called coprime (or relatively prime). They do not need to be prime themselves.

Example 5: Using Prime Factorization (84 and 90)

  • 84 = 2² × 3 × 7
  • 90 = 2 × 3² × 5
  • Shared primes: 2 and 3, with lowest powers 2¹ and 3¹
  • GCF = 2 × 3 = 6
  • Common factors = factors of 6 = 1, 2, 3, 6

Example 6: Using Euclid’s Algorithm (48 and 18)

  • 48 = 2 × 18 + 12
  • 18 = 1 × 12 + 6
  • 12 = 2 × 6 + 0
  • The last non-zero remainder is 6, so GCF(48, 18) = 6
  • Common factors: 1, 2, 3, 6

Example 7: Larger Numbers (1,071 and 462)

  • 1,071 = 2 × 462 + 147
  • 462 = 3 × 147 + 21
  • 147 = 7 × 21 + 0
  • GCF = 21
  • Common factors: 1, 3, 7, 21

Example 8: A Larger Set of Common Factors (72 and 108)

  • GCF = 36
  • Common factors: 1, 2, 3, 4, 6, 9, 12, 18, 36

Example 9: Simplifying a Fraction

Simplify 18/24.

  • Common factors of 18 and 24: 1, 2, 3, 6
  • Divide the top and bottom by the GCF, 6: 18 ÷ 6 = 3 and 24 ÷ 6 = 4
  • 18/24 = 3/4

Example 10: Equal Groups

There are 36 boys and 48 girls. What is the greatest number of identical teams, using everyone?

  • Common factors of 36 and 48: 1, 2, 3, 4, 6, 12
  • Greatest = 12 teams, each with 3 boys and 4 girls.

Example 11: Square Tiles

A floor is 120 cm by 90 cm. What is the largest square tile that fits without cutting?

  • Common factors of 120 and 90: 1, 2, 3, 5, 6, 10, 15, 30
  • Largest = 30 cm (4 tiles by 3 tiles)

Example 12: The Number of Common Factors

The number of common factors of a set of numbers equals the number of factors of their GCF.

  • 12 and 18: GCF = 6, which has 4 factors (1, 2, 3, 6), so there are 4 common factors.
  • 100 and 150: GCF = 50, which has 6 factors (1, 2, 5, 10, 25, 50), so there are 6 common factors.

Example 13: 16 and 40

  • Common factors: 1, 2, 4, 8
  • GCF: 8

Example 14: 56 and 98

  • Common factors: 1, 2, 7, 14
  • GCF: 14

Factors of Some Common Numbers

NumberFactorsHow many
121, 2, 3, 4, 6, 126
181, 2, 3, 6, 9, 186
241, 2, 3, 4, 6, 8, 12, 248
301, 2, 3, 5, 6, 10, 15, 308
361, 2, 3, 4, 6, 9, 12, 18, 369
451, 3, 5, 9, 15, 456
601, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 6012
641, 2, 4, 8, 16, 32, 647
841, 2, 3, 4, 6, 7, 12, 14, 21, 28, 42, 8412
901, 2, 3, 5, 6, 9, 10, 15, 18, 30, 45, 9012
1001, 2, 4, 5, 10, 20, 25, 50, 1009

A prime number has exactly two factors (1 and itself), like 7. Perfect squares (such as 36, 64, and 100) have an odd number of factors.

Divisibility Rules

These quick checks help you find factors without dividing.

Divisible byRule
2The last digit is even
3The sum of the digits is divisible by 3
4The last two digits form a number divisible by 4
5The last digit is 0 or 5
6Divisible by both 2 and 3
8The last three digits form a number divisible by 8
9The sum of the digits is divisible by 9
10The last digit is 0
11The alternating sum of the digits is 0 or divisible by 11

Common Factors vs. Common Multiples

 Common factorsCommon multiples
What they areNumbers that divide all the given numbersNumbers that all the given numbers divide into
SizeAt most the smallest numberAt least the largest number
Key valueThe greatest common factor (GCF)The least common multiple (LCM)
Example (12, 18)1, 2, 3, 636, 72, 108, …
Used forSimplifying fractions and splitting into equal groupsCommon denominators and repeating schedules

For two numbers: GCF × LCM = a × b.

Where Common Factors Are Used

  • Fractions: simplifying them
  • Equal groups and sharing: teams, packs, and rows
  • Tiling and layouts: the largest square tile for a rectangle
  • Ratios: reducing a ratio to its simplest form
  • Number theory and cryptography: coprime numbers and divisors
  • School math

Common Mistakes

  • Forgetting 1. It is always a common factor.
  • Missing a factor in a pair. If 3 divides 12, so does 4 (12 ÷ 3 = 4).
  • Confusing factors and multiples. Factors divide a number, and multiples are the number times something.
  • Confusing the common factors with the GCF. The GCF is only the largest common factor.
  • Taking the highest powers in prime factorization. For the GCF, take the lowest powers of the shared primes.
  • Including a number as a factor that is larger than the number itself.
  • Thinking coprime means prime. 8 and 15 are coprime, but neither is prime.

Tips for Using a Common Factor Calculator

  • Check your lists by pairing: each factor should have a partner.
  • Use the GCF method for large numbers: find the GCF, and then list its factors.
  • To simplify a fraction, divide by the GCF in one step.
  • For several numbers, the GCF of all of them is the GCF of the first two, then that result with the third.
  • If the GCF is 1, the numbers are coprime.
  • Use divisibility rules to find factors quickly.

Common Factor Calculator vs. Other Tools

  • LCM Calculator: the least common multiple of two or more numbers.
  • Fraction Calculator: add, subtract, multiply, and divide fractions.
  • Ratio Calculator: simplify and scale ratios.
  • Scientific Calculator: powers, roots, and logs.
  • Root Calculator: square roots, cube roots, and nth roots.

Frequently Asked Questions (FAQ)

What is a common factor?

 A number that divides each of the given numbers exactly. The common factors of 12 and 18 are 1, 2, 3, and 6.

List all the factors of each number and pick the ones that appear in both lists. Or find the GCF, and list the factors of the GCF.

The largest number that divides all of the given numbers. It is also called the GCD or HCF. The GCF of 12 and 18 is 6.

1, 2, 3, and 6.

Yes. 1 divides every whole number.

 Numbers whose only common factor is 1, such as 8 and 15.

Find the factors of each, and keep the ones in all three lists. For 30, 45, and 60, the common factors are 1, 3, 5, and 15.

The same number as the factors of their GCF. If the GCF is 6, there are 4 common factors (1, 2, 3, 6).

 Divide the top and bottom by their GCF. 18/24 becomes 3/4 when divided by 6.

A factor divides a number. A multiple is the number times a whole number. 3 is a factor of 12, and 12 is a multiple of 3.

Repeatedly divide, and replace the pair with the divisor and the remainder, until the remainder is 0. The last non-zero remainder is the GCF.

Yes. It is free, with no registration and no limits.

It uses exact integer arithmetic, so the lists and the GCF are exact.

Disclaimer

This calculator is for general and educational use. Results are exact for positive whole numbers. Try the problem by hand first and use the calculator to check your work. Follow your teacher’s rules on the method and the form of the answer.