Skip to content
Return to Calculators Hub

Common Factor Calculator

Math

Find all common factors (divisors) shared between two or more numbers, identify the greatest common factor, and view Venn intersection tables.

Presets:
Common Factors of (24, 36, 60)
1 2 3 4 6 12
Greatest Common Factor (GCF): 12
Co-prime Status: Share Non-Trivial Factors

Individual Factor Sets (Common factors highlighted in green)

Factors of 24 (8 total):
1 2 3 4 6 8 12 24
Factors of 36 (9 total):
1 2 3 4 6 9 12 18 36
Factors of 60 (12 total):
1 2 3 4 5 6 10 12 15 20 30 60

How This Calculator Works

Common factors are integers that divide evenly into two or more given numbers without leaving a remainder. In mathematical set notation, the common factors of a set of numbers represent the set intersection of their individual factor lists: Factors(A) ∩ Factors(B). The largest member of this intersection is the Greatest Common Factor (GCF).

📐 Set Intersection of Divisors Formula
CommonFactors(A, B) = Divisors(A) ∩ Divisors(B) | GCF = max(CommonFactors)
Divisors(A): Complete set of positive integers dividing A evenly
Divisors(B): Complete set of positive integers dividing B evenly
∩ (Intersection): All factors present in both sets simultaneously
Coprime: Numbers with only 1 as their sole common factor

Key Mathematical Rules & Properties

Universal Common Factor (1)

The number 1 is a divisor of all positive integers, so 1 is guaranteed to be a common factor of every group of integers.

Coprime / Relatively Prime

When two or more integers share no common factors other than 1, they are called coprime or relatively prime (e.g. 14 and 15).

Upper Bound Limitation

A common factor cannot exceed the smallest number in the input list, nor can it exceed the difference between consecutive numbers.

Factor Pair Symmetry

Dividing all numbers by any valid common factor yields smaller integers while preserving their relative ratios.

✎

Worked Example: Finding Common Factors of 24 and 36

List the divisors of 24 and 36, find their common factors, and identify the GCF.

  1. Divisors of 24: {1, 2, 3, 4, 6, 8, 12, 24}
  2. Divisors of 36: {1, 2, 3, 4, 6, 9, 12, 18, 36}
  3. Intersect sets: {1, 2, 3, 4, 6, 12}
  4. Identify largest factor in intersection: 12 is the GCF.
Final Answer: Common Factors: 1, 2, 3, 4, 6, 12 (GCF = 12)

Frequently Asked Questions

Can two prime numbers have common factors?

Two distinct prime numbers p and q share only the number 1 as a common factor, meaning any two distinct primes are always mutually coprime.

How do common factors help in everyday life?

Common factors are used when tiling floors evenly without cutting tiles, dividing groups of students into equal teams, packaging goods into uniform boxes, and arranging items in grid formations.

Can negative numbers have common factors?

Yes, in algebra, common factors can include negative integers (e.g. ±1, ±2, ±3, ±6), although positive common factors are typically reported by default.

How many common factors can two numbers have?

The number of common factors of A and B is exactly equal to the total number of divisors of their Greatest Common Factor, d(GCF(A, B)).

Understanding your calculation

Method, example and limitations

How the calculation works

Common factors are positive integers that divide every entered integer exactly. The greatest common factor is the largest member of that list.

Example to check

The common positive factors of 12 and 18 are 1, 2, 3 and 6.

Before using the result

Common factors are different from common multiples. Integer size and zero-input conventions can affect supported results.

Calculation methodology · Report a result that needs review