Skip to content

GCF & LCM Calculator

Separate values with commas, spaces, or new lines.

Advertisement

Formula & Calculation Logic

LCM(a, b) = |a × b| / GCF(a, b)
GCF
GCF: Largest positive integer that divides each of the integers.
LCM
LCM: Smallest positive integer that is divisible by each of the integers.

What is GCF and LCM?

The Greatest Common Factor (GCF), also known as the Highest Common Factor (HCF), is the largest number that divides into two or more numbers without leaving a remainder.

The Least Common Multiple (LCM) is the smallest positive integer that is evenly divisible by all the numbers in the set.

Example Case

For numbers 12 and 18:

Factors of 12: 1, 2, 3, 4, 6, 12

Factors of 18: 1, 2, 3, 6, 9, 18

GCF is 6.

LCM is 36 (since 36 is the first number in both 12,24,36... and 18,36...).

🔗

Related Calculators

Using the GCF and LCM Calculator

Welcome to the GCF and LCM Calculator on EzCalcy. This utility is designed to make your calculations fast, easy, and accurate. Whether for work, school, or daily tasks, having the right tool at your fingertips saves time.

Key Features