Back to tools
Module · Math · Scientific
LCM & GCF Calculator
Least Common Multiple and Greatest Common Factor (a.k.a. GCD/HCF) of any list of integers.
Results
GCF / GCD / HCF
6
LCM
72
GCF is the largest integer that divides all inputs. LCM is the smallest positive integer that all inputs divide into.
Advertisement
Guide
How LCM & GCF Calculator works
Step 01
Enter numbers
Comma or space separated — as many as you like.
Step 02
Instant result
GCF via Euclidean algorithm, LCM via product / GCF.
Step 03
Chain any length
Works for 2, 3, 4 or more numbers at once.
FAQ
Frequently asked
GCF vs HCF vs GCD?+
All three are the same thing — the greatest integer that divides all inputs.
Why is LCM of 4 and 6 equal to 12?+
12 is the smallest positive integer divisible by both 4 and 6.