Find the Greatest Common Divisor (GCD) and Least Common Multiple (LCM) of two or more numbers.
GCD & LCM Calculator
Math
Inputs
How useful was this tool?
Enter two or three numbers.
Click Calculate to find the GCD and LCM.
GCD (Greatest Common Divisor) is the largest number that divides all inputs without a remainder. LCM (Least Common Multiple) is the smallest number that is a multiple of all inputs. Both are computed using the Euclidean algorithm.
GCD is used to simplify fractions, solve Diophantine equations, and find common denominators.