LCM & GCF Calculator
Find the lowest common multiple (LCM) and greatest common factor (GCF/HCF) for any list of whole numbers.
Show solution steps
What is the LCM & GCF Calculator?
The LCM is the smallest number that all your values divide into evenly, while the GCF (or HCF) is the largest number that divides all of them. Both are core to fractions, ratios and number theory.
How to Calculate
The GCF is found with the Euclidean algorithm; the LCM uses the relationship LCM(a,b) = a × b ÷ GCF(a,b), extended across the whole list.
Formula
LCM(a,b) = (a × b) ÷ GCF(a,b)
How to Use
- Enter your details in the fields above.
- The result updates instantly as you type.
- Use Copy, Print or Download PDF to save your result.
Frequently Asked Questions
What is the difference between GCF and HCF?
They're the same thing u2014 Greatest Common Factor and Highest Common Factor are two names for the largest number that divides all the given values.
Was this calculator helpful?
Thanks for your feedback!