The short answer
A common factor is a whole number that divides two or more integers evenly. For 12 and 18, the shared factors are 1, 2, 3, and 6 — and the largest of those, 6, is the greatest common factor (GCF). List every common factor when you need all the ways two numbers can be split evenly; use just the GCF when you need the single largest one, like simplifying a fraction.
Key takeaways
Every pair of whole numbers shares at least one common factor: 1.
The full list of common factors is always a subset of the factors of the smallest number in the group — no number can share more factors with another than it has factors of its own.
Common factors can be found across any number of integers, not just two — this calculator intersects the factor lists of three, four, or more values at once.
The GCF alone is what you need for simplifying fractions; the full common-factor list matters more for equal-grouping and array-arrangement problems.
On this page
Full list vs. GCF: when each one matters
Worked example: three numbers at once
Common mistakes to avoid
Related calculators
常见问题解答
Full list vs. GCF: when each one matters
Use case
What you need
Why
Simplify a fractionGCF onlyDividing by the GCF once gives the simplest form
Split items into equal groupsEvery common factorEach one is a valid group size
Arrange items in a rectangular arrayEvery common factorEach one is a possible row count
Compare how related two numbers areFull common factor listMore shared factors mean more structural overlap
Worked example: three numbers at once
A teacher has 12 pencils, 18 erasers, and 30 stickers and wants to make identical goodie bags using every item, with nothing left over. What bag counts are possible?
12 的因数:1,2,3,4,6,12
18 的因数:1,2,3,6,9,18
Factors of 30: 1, 2, 3, 5, 6, 10, 15, 30
Common factors: 1, 2, 3, 6
Any of 1, 2, 3, or 6 bags works evenly. Making the maximum number of identical bags means using the GCF, 6 — each bag then gets 2 pencils, 3 erasers, and 5 stickers, with nothing left over.
Common mistakes to avoid
Assuming the GCF is the only common factor — every divisor of the GCF is also a common factor. If the GCF is 6, then 1, 2, and 3 are common factors too.
Forgetting that 1 always counts as a common factor, even for coprime numbers like 8 and 15 that share no other factor.
Listing factors by trial division past the smaller number's square root inefficiently, instead of factoring each number fully first and then intersecting the lists.
Mixing up "common factor" (a number that divides into both) with "common multiple" (a number both divide into) — factor lists shrink as numbers grow, while multiple lists grow.
Related calculators
最大公因数计算器 — jump straight to the GCF with the Euclidean algorithm shown step by step.
最小公倍数计算器 — find the smallest shared multiple instead of a shared factor.
因子计算器 — list every factor of a single number.
分数计算器 — use the GCF directly to simplify a fraction to lowest terms.
