How to use
Enter two non-zero whole numbers. The calculator uses the Euclidean algorithm to find their greatest common factor, then lists the positive divisors shared by both numbers. For 84 and 126, the GCF is 42. The common positive factors are 1, 2, 3, 6, 7, 14, 21 and 42. You can use the result to simplify a fraction or split quantities into equal-sized groups without leftovers.
What the result means
The greatest common factor is the largest positive integer that divides both inputs exactly. If the GCF is 1, the two numbers are relatively prime. The common-factor list includes the GCF and 1. This calculator accepts positive integers; for signed values, use their absolute magnitudes when interpreting common factors.
Further reading: OpenStax — Prime Factors and GCF · Khan Academy — Greatest Common Factor · OpenStax — Factors and Divisibility.
Related calculators