Math
GCF and LCM Calculator
Find both the greatest common factor and least common multiple of two numbers.
Did this calculator solve your problem today?
✓ Thank you for your feedback!
Report issue to loopingon.com
Sponsored
Get the greatest common factor and least common multiple of two numbers at once.
The math behind it
The GCF is found with the Euclidean algorithm; the LCM follows from LCM × GCF = a × b.
Worked Example
12 and 18 → GCF 6, LCM 36.
Frequently Asked Questions
How are they related?
Their product equals the product of the two numbers: GCF × LCM = a × b.
Advertisement