UUtiliTools
home/math/gcd-lcm

GCD & LCM Calculator

Calculate the Greatest Common Divisor and Least Common Multiple of two or more numbers using the Euclidean algorithm.

GCD (HCF)

The Greatest Common Divisor is the largest number that divides all given numbers without a remainder. Computed via the Euclidean algorithm.

LCM

The Least Common Multiple is the smallest positive number that is a multiple of all given numbers. LCM(a,b) = |a×b| / GCD(a,b).

Email

How to Use GCD & LCM Calculator

Calculate the Greatest Common Divisor and Least Common Multiple of two or more numbers with step-by-step solutions.

1

Enter Numbers

Type two or more numbers separated by commas into the input field.

2

Calculate

Click calculate and the tool finds both GCD and LCM of your numbers.

3

View Steps

Review the step-by-step solution showing the Euclidean algorithm or prime factorization.

Common Use Cases

Fraction Simplification

Find the GCD to reduce fractions to their simplest form for math problems.

Scheduling Problems

Use LCM to find when recurring events with different intervals will coincide.

Math Education

Teach and verify GCD and LCM concepts with step-by-step algorithmic solutions.

Pro Tips

  • -GCD is useful for simplifying fractions to their lowest terms quickly.
  • -LCM helps find common denominators when adding or comparing fractions.
  • -Enter more than two numbers to find GCD and LCM of the entire set.