Skip to content
Convert. Calculate.

GCD and LCM Calculator

Find the greatest common divisor and least common multiple of two or more numbers.

Your details

Result

GCD (greatest common divisor)

6

LCM (least common multiple)
180

Good to know: LCM(a, b) = a × b ÷ GCD(a, b)

About this tool

Formula

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

Questions people ask

What is GCD used for?

Simplifying fractions: divide the numerator and denominator by their GCD.

Related tools

How we calculate this

We use the standard published formula or definition for this calculation, and we show the working so you can check it.

Spotted a mistake? Tell us and we'll check it. How we check our calculators