LCM & GCD Calculator
Find the Least Common Multiple (LCM) and Greatest Common Divisor (GCD/GCF) of two or more numbers.
LCM and GCD Explained
GCD (Greatest Common Divisor) — also known as GCF or HCF — is the largest number that divides all given numbers without a remainder. LCM (Least Common Multiple) is the smallest positive number that is a multiple of all given numbers. Relationship: LCM(a,b) × GCD(a,b) = a × b.
Enter Numbers
Numbers (comma separated)
Results
GCD (HCF)
6
LCM
72
GCD(12, 18, 24) = 6 | LCM(12, 18, 24) = 72