Jump to lessons, tools, blog posts, and key pages.
Find the Least Common Multiple (LCM) and Greatest Common Factor (GCF) of two numbers with our interactive tool. See the Euclidean algorithm in action with step-by-step solutions. Perfect for students learning about GCD, LCM, and number theory.
The GCD (also called GCF or HCF) is the largest positive integer that divides two or more numbers without leaving a remainder. It represents the greatest common factor shared by the numbers.
Methods to Find the GCD:
Pro Tip:
The GCD is the key to simplifying fractions. Divide both the numerator and denominator by their GCD to get the fraction in its simplest form.
The Euclidean algorithm is one of the oldest and most efficient methods for finding the GCD. It was discovered by the ancient Greek mathematician Euclid around 300 BC.
How It Works:
Why It Works:
The algorithm relies on the fact that any common divisor of two numbers also divides their difference (and remainder). By repeatedly reducing the problem to smaller numbers, it efficiently finds the greatest common divisor.
The LCM is the smallest positive integer that is a multiple of both numbers. It is closely related to the GCD through a simple formula.
The LCM Formula:
LCM(a, b) = (a × b) ÷ GCD(a, b)
This formula shows the relationship between GCD and LCM. The product of two numbers always equals the product of their GCD and LCM.
Pro Tip:
When adding or subtracting fractions with different denominators, the LCM of the denominators gives you the least common denominator, making calculations simpler.
GCD and LCM are used in many practical situations beyond the classroom.
Common questions about GCD and LCM