Common Factor Calculator
Find all common factors shared by two or more numbers. Shows factor lists and intersection.
| Number | All Factors |
|---|
Find every factor shared by two to five numbers at once, along with their greatest common factor (GCF), least common multiple (LCM), and simplified ratio.
How Common Factor Calculator Works
For each number entered, the calculator lists every factor by testing divisors up to its square root and pairing each divisor i with its complement (number ÷ i) — a fast way to generate the complete factor list without checking every integer individually.
It then intersects the factor lists of all entered numbers to find the common factors — the values that appear in every single list. The largest of these common factors is the greatest common factor (GCF), found using the Euclidean algorithm applied across all numbers at once.
The least common multiple (LCM) is computed pairwise using LCM(a,b) = |a × b| ÷ GCD(a,b), reduced across the whole list. The simplified ratio divides every entered number by the GCF, showing the smallest whole-number ratio between them.
See It In Action
Who Uses Common Factor Calculator and Why
- Simplifying a ratio between three or more quantities — like ingredient amounts in a recipe — down to its smallest whole-number form.
- Comparing up to five numbers at once to see every factor they all share, not just the single greatest one.
- Verifying a GCF and LCM computed by hand for a small group of related numbers, since both are derived from the same shared factor list.
- Splitting several different-sized batches into the largest common group size that divides all of them evenly.
Mistakes to Avoid
- Expecting to enter more than five numbers — this tool intentionally caps input at 2–5 numbers to keep the shared factor list and intersection readable.
- Treating the full list of common factors as the same thing as just the GCF — the GCF is only the largest value in that shared list, and the other common factors are also valid, just smaller.
- Assuming the LCM shown alongside the GCF is unrelated — it's computed from the same set of numbers using LCM(a,b) = |a×b| ÷ GCD(a,b), reduced pairwise across the whole list.
Tips for Best Results
- Use the "Simplified Ratio" result directly when scaling a recipe or proportion — it's exactly the numbers divided by their GCF.
- If your numbers only share the factor 1, that's a valid coprime result, not a sign of an input error.
Fixing Common Problems
I need common factors for more than five numbers. — Split your numbers into groups of five or fewer, find the common factors of each group, then compare those results by hand or feed the group results back through as a smaller set.
The only common factor listed is 1. — That means the numbers are coprime — they genuinely share no factor larger than 1, even though each number individually may have many other factors.
Terms Explained
Common factor: A number that divides evenly into every number in a given set.
Simplified ratio: Each number in the set divided by their shared GCF, giving the smallest whole-number relationship between them.