GCD & LCM Calculator

Calculate the Greatest Common Divisor (GCD) and Least Common Multiple (LCM) of two numbers.

Ad Space

How to Calculate

GCD(a,b) × LCM(a,b) = a × b

Where GCD = Greatest Common Divisor (the largest number that divides both a and b), LCM = Least Common Multiple (the smallest number that is a multiple of both a and b).

Frequently Asked Questions

What is the GCD?
The GCD (Greatest Common Divisor) is the largest positive integer that divides both numbers without a remainder. For example, GCD(12, 18) = 6 because 6 is the largest number that divides both 12 and 18 evenly.
What is the LCM?
The LCM (Least Common Multiple) is the smallest positive integer that is divisible by both numbers. For example, LCM(4, 6) = 12 because 12 is the smallest number that both 4 and 6 divide into evenly.
---