Common Factor Calculator
List the positive common factors and greatest common factor of several integers
List the positive common factors and greatest common factor of several integers
Enter two or more positive integers. A common factor divides every input value without a remainder. The calculator lists the shared positive factors and their greatest common factor.
Take 12 and 18. 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 shared list is 1, 2, 3 and 6, and the greatest common factor is 6. Adding a third input, say 30, narrows the shared list to 1, 2, 3 and 6 still divides both 12 and 18 but not 30 — the page recomputes the whole shared set as you type.
Common factors answer "what divides all of these evenly?" In practice that means simplifying fractions (12/18 reduces by 6 to 2/3), cutting a board into equal lengths with nothing left over, and splitting a collection into identical groups. The largest shared factor always gives the fewest groups; a smaller one gives more groups at a smaller size.
With exactly two numbers, the shared factors are just the divisors of their greatest common factor. With three or more, each added number can only shrink the list, never grow it — the result set is the intersection of every individual factor list. Entering 1 alongside anything always yields exactly one shared factor.
输入两个或多个正整数。公因数必须能整除每一个输入值且没有余数。计算器会列出全部共有正因数及其最大公因数。
拿 12 和 18 举例。12 的因数是 1、2、3、4、6、12;18 的因数是 1、2、3、6、9、18。共有的列表是 1、2、3、6,最大公因数是 6。再加第三个输入比如 30,共有列表收窄到 1、2、3——6 仍是 12 和 18 的公因数却整除不了 30。每敲一个数,页面都会重算整套共有集合。
公因数回答的是「什么数能把它们全部整除」。实际用途包括约分(12/18 用 6 约成 2/3)、把木板锯成等长段且不剩料、把一批物品分成完全相同的小组。最大公因数对应组数最少、每组最大的分法;取更小的公因数则组数更多、每组更小。
恰好两个数时,公因数就是它们最大公因数的全部约数。三个及以上时,每加一个数只会让列表收缩、绝不会扩张——结果集是各数因数列表的交集。任何数和 1 一起输入,公有的永远只有 1 这一个。
Yes. The list accepts two to ten positive integers separated by commas, spaces or semicolons.
No. The result lists positive factors only.
For a responsive complete divisor list, each value is limited to one trillion.
Last reviewed: October 5, 2026 · How we calculate · Sources: Published formula reference; verify domain-specific assumptions before making a decision
最近复核:2026 年 10 月 5 日 · 我们的计算方法 · 来源:公式用于参考;涉及专业决定时请核对适用条件