GCF & LCM Calculator
Find the greatest common factor (GCF) and least common multiple (LCM) of two or more whole numbers.
Two or more whole numbers, separated by commas or spaces.
Enter at least two non-zero whole numbers.
Enter two or more whole numbers, separated by commas or spaces. We'll find their greatest common factor (also called the highest common factor) and their least common multiple.
Frequently asked questions
The greatest common factor (GCF) is the biggest number that divides evenly into all your numbers. The least common multiple (LCM) is the smallest number that all of them divide into. GCF is useful for simplifying fractions; LCM for finding common denominators.
Yes. 'Highest common factor' (HCF) is another name for the greatest common factor (GCF) — they mean exactly the same thing.