Common Factors Calculator: List Shared Divisors

List every positive factor that divides each entered integer, not just the largest factor.

Separate entries using commas, spaces or newlines. Type 1200 for one number; 1,200 is two entries.

Result

Enter values and select Calculate.

How is this calculated?

The positive common factors are all positive divisors of the GCF.

Worked example: Find every possible bundle count

With 28 and 42 items to share evenly, 1, 2, 7 and 14 bundles are all possible. The greatest common factor is 14, but the list shows the other valid choices too.

Method and limits

The shared factors are exactly the positive divisors of the greatest common divisor. GCD must be at most one trillion; the inputs themselves can be larger.

How to use this calculator

  1. Enter two or more integers. Use commas, spaces or newlines between them.
  2. Read the semicolon-separated list of shared positive divisors. The GCF below it is the maximum, not the count of results.

Choose a bundle count that fits your table

With 28 of one item and 42 of another, the shared divisors are 1, 2, 7 and 14. The choice of seven bundles gives 4 items of the first type and 6 of the second per bundle.

Find the feasible choices, not just the maximum

Choosing fewer than the maximum may fit available boxes or desired bundle contents. The list tells you exactly which positive group counts can use every item without leftovers.

Check every factor against the GCF

A common factor of several numbers divides their greatest common divisor. For a GCF of 45, the factor pairs are 1 × 45, 3 × 15 and 5 × 9. Both factors in each pair belong in the output.

Plan an exact shared grid

With sheets of 66 and 99 units on one edge, sizes 1, 3, 11 and 33 tiles fit that edge without cuts. Check the other edge separately or enter its integer dimensions in the same list to constrain the choice.

Frequently asked questions

Why are factors separated by semicolons?
If a factor is large, commas group its digits. Semicolons separate whole factors so 1,200 appears as one number in the output.
Why are negative factors left out?
The question here is about positive divisors, such as possible group counts. A negative input still has the same positive divisors as its magnitude.
Does the one-trillion cap apply to inputs?
No. Each input can have up to 28 digits, but their greatest common divisor must be at most one trillion for this factor list.
What happens when every entry is zero?
Every positive integer divides zero, so an all-zero list has no finite factor list and is rejected.

Common mistakes and limits

Sources & methodology

Related calculators