Instantly find the Greatest Common Divisor (GCD) and Least Common Multiple (LCM) of any two numbers. This free online tool allows you to calculate GCD and LCM quickly and accurately. No sign-up or installation required.
The Greatest Common Divisor (GCD) and Least Common Multiple (LCM) are two of the most fundamental concepts in number theory, arithmetic, and algebra. They are heavily utilized when simplifying fractions, finding common denominators, and scheduling recurring events.
The GCD (also known as the Greatest Common Factor or GCF) of two or more integers is the largest positive integer that divides each of the integers without leaving a remainder.
For example, the GCD of 12 and 18 is 6.
Divisors of 12: 1, 2, 3, 4, 6, 12
Divisors of 18: 1, 2, 3, 6, 9, 18
The largest number appearing in both lists is 6.
The LCM of two or more integers is the smallest positive integer that is perfectly divisible by each of the integers.
For example, the LCM of 12 and 18 is 36.
Multiples of 12: 12, 24, 36, 48...
Multiples of 18: 18, 36, 54...
The smallest matching multiple is 36.