GCF & LCM Calculator
Find the greatest common factor and least common multiple of two or more numbers.
How to use the GCF & LCM Calculator
- Enter or choose the whole numbers.
- Results update instantly as you type — press Calculate any time to refresh.
Formula
GCF by the Euclidean algorithm; LCM(a, b) = |a × b| ÷ GCF(a, b).
About this calculator
Find the greatest common factor (GCF, also called GCD or HCF) and least common multiple (LCM) of two or more whole numbers. GCF is useful for simplifying fractions; LCM for adding fractions with different denominators.
Frequently asked questions
Are GCF, GCD and HCF the same?
Yes — greatest common factor, greatest common divisor and highest common factor all mean the same thing.
What is the LCM used for?
Finding common denominators and solving problems about repeating cycles.