GCD / LCM Calculator

Math guide

How to use the GCD / LCM Calculator

Find the greatest common divisor and least common multiple of two numbers. The page also explains the GCD and LCM and shows a practical example: GCD of 12 and 18 is 6; LCM is 36.

  1. 1

    Enter your details

    Enter the values for the gcd / lcm calculator scenario you want to check.

  2. 2

    Check the calculation

    Review the result alongside the GCD and LCM: LCM(a,b) = abs(a x b) / GCD(a,b).

  3. 3

    Compare scenarios

    Change one or more inputs to see how they affect the GCD / LCM Calculator result before you use the estimate.