HCF and LCM - Definition, Formula, Full Form, Examples

Created by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process

Lesson Overview



The HCF and LCM are tools of number theory. They help us understand how numbers are connected and have applications throughout mathematics.

The concepts of HCF and LCM are essential for simplifying fractions, solving problems, and working with algebraic expressions.

HCF and LCM Definition

HCF definition

The Highest Common Factor (HCF) of two or more integers is the largest positive integer that divides each of the integers without leaving a remainder.

Example:

The HCF of 12 and 18 is 6, because 6 is the largest number that divides both 12 and 18 without leaving a remainder. 
Here's how:
Prime factorization of 12:
12 = 22 ×3 

  1. Prime factorization of 18:
    18 = 2 × 32
  2. Identify the common factors:
    The common prime factors are 2 and 3.
  3. Take the lowest power of the common factors:
    • The lowest power of 2 is 21.
    • The lowest power of 3 is 31.
  4. Multiply the common factors:
    21 x 31 = 6

So, the HCF of 12 and 18 is 6.

LCM definition

The Least Common Multiple (LCM) of two or more integers is the smallest positive integer that is a multiple of each of the integers.  

Example:

The LCM of 4 and 6 is 12, because 12 is the smallest number that is a multiple of both 4 and 6.

Here's how

  1. Prime factorization of 4:
    4=22
  2. Prime factorization of 6:
    6 = 2 x 3
  3. Identify the unique prime factors:
    The unique prime factors are 2 and 3.
  4. Take the highest power of each prime factor:
    • The highest power of 2 is 22.
    • The highest power of 333 is 31.
  5. Multiply the highest powers:
    22 x 31 = 4 x 3 = 12

So, the LCM of 4 and 6 is 12.

Difference Between HCF and LCM

HCF and LCM, though related, have distinct properties and applications.

FeatureHCF (Highest Common Factor)LCM (Least Common Multiple)
DefinitionThe largest number that divides two or more numbers exactly.The smallest number that is a multiple of two or more numbers.
Other NamesGreatest Common Divisor (GCD)Least Common Divisor
Value Compared to the NumbersAlways less than or equal to the smallest of the given numbers.Always greater than or equal to the largest of the given numbers.
ApplicationSimplifying fractions, finding common elements.Finding common occurrences, solving problems with periodic events.
ExampleHCF(12, 18) = 6LCM(12, 18) = 36

HCF and LCM Formula

The HCF and LCM are related by a formula that allows us to calculate one if we know the other and the product of the two numbers.

Product of Two numbers = (HCF of the two numbers) x (LCM of the two numbers)

ConceptFormulaExplanationExample
HCF


H.C.F. of Two numbers = Product of Two numbers / L.C.M of two numbers
The HCF represents the greatest number that divides both given numbers without leaving a remainder. It can be calculated by dividing the product of the two numbers by their LCM.Numbers: 12 and 18

Product: 12 x 18 = 216
LCM: 36
HCF: 216 / 36 = 6
LCM L.C.M of two numbers = Product of Two numbers / H.C.F. of Two numbersThe LCM represents the smallest number that is a multiple of both given numbers. It can be calculated by dividing the product of the two numbers by their HCF.Numbers: 15 and 20
Product: 15 x 20 = 300
HCF: 5
LCM: 300 / 5 = 60

Methods To Find HCF and LCM

To find HCF and LCM, we use two methods- Prime Factorization Method and the Division Method. 

  1. Prime Factorization Method

How to find HCF:

  • Find the prime factorization of each number.
  • Identify the common prime factors.
  • Multiply the common prime factors, using the lowest power of each.

Example: Find HCF(36, 48)

  • 36 = 2² x 3²   
  • 48 = 2⁴ x 3¹
  • HCF(36, 48) = 2² x 3¹ = 12  

How to find LCM:

  • Find the prime factorization of each number.
  • Identify all prime factors present in either number.
  • Multiply all prime factors, using the highest power of each.

Example: Find LCM(12, 18)

  • 12 = 2² x 3¹
  • 18 = 2¹ x 3²
  • LCM(12, 18) = 2² x 3² = 36

Take this quiz -

HCF And LCM Quiz

2.  Division Method

How to find HCF:

  • Divide the larger number by the smaller number.
  • If there is a remainder, divide the smaller number by the remainder.
  • Continue this process until the remainder is 0.
  • The last divisor is the HCF.   


Example: Find HCF(72, 126)

HCF = 18

How to find LCM:

  • Write the numbers in a row.
  • Divide by a prime number that divides at least two of the numbers.
  • Write the quotients and any undivided numbers in the next row.
  • Repeat steps 2 and 3 until no two numbers have a common prime factor.
  • The LCM is the product of all the divisors and the numbers in the last row.

Example: Find LCM(12, 15, 20)

LCM(12, 15, 20) = 2 x 2 x 3 x 5 = 60

Take this quiz -

HCF and LCM Examples

1. Find the HCF of 72 and 90, through Prime Factorization.

  • 72 = 2 x 2 x 2 x 3 x 3 = 2³ x 3²
  • 90 = 2 x 3 x 3 x 5 = 2¹ x 3² x 5¹

Both numbers have 2 and 3² as common prime factors.

HCF(72, 90) = 2¹ x 3² = 18

2. Find the LCM of 24 and 36, through Prime Factorization.

  • 24 = 2 x 2 x 2 x 3 = 2³ x 3¹
  • 36 = 2 x 2 x 3 x 3 = 2² x 3²

The prime factors involved are 2 and 3.

LCM(24, 36) = 2³ x 3² = 72

3.  Find the HCF of 56 and 84.

The last divisor is the HCF, so HCF(56, 84) = 28

4. Find the LCM of 15, 20, and 25.


LCM(15, 20, 25) = 5 x 3 x 5 x 2 x 2 = 300

5. The LCM of two numbers is 120, and their product is 480. Find their HCF.

  • HCF x LCM = Product of two numbers
  • HCF x 120 = 480
  • HCF = 480 / 120 = 4

Take this quiz -

6. The HCF of two numbers is 12, and their product is 360. Find their LCM.

  • HCF x LCM = Product of two numbers
  • 12 x LCM = 360
  • LCM = 360 / 12 = 30

Take this quiz -

Rate this lesson:

Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.