GCF & LCM Calculator
Find the greatest common factor and least common multiple of two or more numbers.
Assumptions used in this calculation
- Algorithm: GCF is computed with the Euclidean algorithm; results are only defined for positive integers.
About this calculator
Finds the greatest common factor (GCF) and least common multiple (LCM) of two or more numbers, consolidating the master prompt's separate GCF and LCM calculators, since LCM is derived directly from GCF.
Worked example
12 and 18
Result: GCF = 6, LCM = 36
Was this helpful?