Category: Calculators

GCD and LCM Calculator

Find the greatest common divisor and least common multiple of several integers.

Runs in your browserProcessed locally. Your input never leaves your device.

Calculation inputs

Enter 2 to 20 integers separated by spaces or commas.

Result

Your result appears here.

Details

About this tool

Enter between two and twenty integers separated by commas or spaces. The calculator returns their greatest common divisor and least common multiple.

The result is exact and is useful for simplifying fractions, synchronising repeating cycles and finding common denominators.

Keep going

  • Add, subtract, multiply and divide two fractions with a simplified result.

    Runs in your browserCalculators
  • Round a number to decimal places or powers of ten using four methods.

    Runs in your browserCalculators

Good to know

Questions people actually ask

What is the difference between GCD and LCM?
The GCD is the largest integer dividing every input. The LCM is the smallest positive integer divisible by every input.
Can I enter more than two numbers?
Yes. Enter between two and twenty integers separated by spaces or commas.