GCD & LCM Calculator

Find the Greatest Common Divisor and Least Common Multiple of two numbers.

Enter two positive whole numbers.

Calculation Result

Greatest Common Divisor (GCD) 0
Least Common Multiple (LCM) 0

What is GCD?

GCD stands for Greatest Common Divisor. It is the largest positive number that divides two numbers without leaving a remainder.

For example, the GCD of 12 and 18 is 6.

What is LCM?

LCM stands for Least Common Multiple. It is the smallest positive number that is a multiple of both numbers.

For example, the LCM of 12 and 18 is 36.

How to Use This Calculator

Enter two positive whole numbers and click the "Calculate GCD & LCM" button. The calculator will instantly display both results.

← All Tools | Math & Advanced Calculators

Related Math Calculators

You may also find these free math calculators useful:

Percentage Calculator | Fraction Calculator | Ratio Calculator | Average Calculator | Prime Number Checker

What Are GCD and LCM?

The GCD & LCM Calculator helps you find the Greatest Common Divisor (GCD) and Least Common Multiple (LCM) of two numbers. These concepts are commonly used in mathematics, fractions and number problems.

What Is the GCD?

The Greatest Common Divisor, or GCD, is the largest positive integer that divides two or more numbers without leaving a remainder.

For example, the GCD of 12 and 18 is 6 because 6 is the largest number that divides both 12 and 18 evenly.

What Is the LCM?

The Least Common Multiple, or LCM, is the smallest positive number that is a multiple of two or more numbers.

For example, the LCM of 4 and 6 is 12 because 12 is the smallest positive number that is divisible by both 4 and 6.

Why Use a GCD & LCM Calculator?

Finding GCD and LCM manually can take time, especially when working with larger numbers. This calculator provides quick results and can be useful for students, teachers and everyday mathematical calculations.

GCD & LCM Calculator FAQs

What does GCD stand for?

GCD stands for Greatest Common Divisor. It is the largest positive integer that divides two or more numbers without a remainder.

What does LCM stand for?

LCM stands for Least Common Multiple. It is the smallest positive number that is divisible by two or more numbers.

What is the GCD of 12 and 18?

The GCD of 12 and 18 is 6.

What is the LCM of 4 and 6?

The LCM of 4 and 6 is 12.

Use our free GCD & LCM Calculator above to find the greatest common divisor and least common multiple quickly.