Free Online LCM and HCF Calculator with Steps

Image

🧮 LCM and HCF Calculator with Steps

Find the Least Common Multiple and Highest Common Factor of two or three numbers.

Free Online Calculator | Step-by-Step Solutions | Maths Practice

Calculate LCM and HCF Online

Enter two or three positive whole numbers below.

Enter whole numbers from 1 to 100,000. The third number is optional.

Calculation Result

Numbers: 12, 18

LCM = 36

HCF = 6

Step 1: Prime Factorisation

12 = 2^2 × 3

18 = 2 × 3^2

LCM: 2^2 × 3^2 = 36

HCF: 2 × 3 = 6

Step 2: LCM by Division Method

Prime DivisorNumber 1Number 2
Start1218
269
239
313
311

Multiply the prime divisors:

2 × 2 × 3 × 3 = 36

Step 3: HCF by Euclidean Division

Find HCF of 12 and 18

18 = 12 × 1 + 6

12 = 6 × 2 + 0

HCF = 6

Verification

LCM × HCF = 36 × 6 = 216

Product of numbers = 12 × 18 = 216

Both values are equal.

🎯 LCM and HCF Practice Questions

Solve these ten questions and check your answers instantly.

Question 1: Find the LCM of 4, 6.

Question 2: Find the HCF of 12, 18.

Question 3: Find the LCM of 8, 12.

Question 4: Find the HCF of 24, 36.

Question 5: Find the LCM of 5, 7.

Question 6: Find the HCF of 15, 25.

Question 7: Find the LCM of 6, 9, 12.

Question 8: Find the HCF of 18, 30, 42.

Question 9: Find the LCM of 10, 15.

Question 10: Find the HCF of 48, 60.

Free LCM and HCF Calculator with Step-by-Step Solutions

The LCM and HCF Calculator is a free online maths tool designed for students who want to find the Least Common Multiple and Highest Common Factor of numbers quickly and accurately. It is useful for CBSE, ICSE, Maharashtra State Board and other school curricula.

Students can enter two or three numbers and calculate both LCM and HCF. The tool displays prime factorisation, the LCM division method and the Euclidean method for finding the HCF.

Learning these methods is important because students should understand how an answer is obtained instead of only memorising the result. Step-by-step explanations make it easier to solve similar questions in school examinations.

This online LCM and HCF calculator is especially useful for students studying factors, multiples, fractions, divisibility, prime numbers and number operations.

Teachers can use the calculator during classroom demonstrations, while parents can use it to help children practise at home. Students can also complete the ten practice questions to check their understanding.

What Is LCM in Mathematics?

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

For example, consider 4 and 6.

Multiples of 4: 4, 8, 12, 16, 20, 24...

Multiples of 6: 6, 12, 18, 24, 30...

The first common multiple is 12.

Therefore, LCM(4, 6) = 12.

LCM is commonly used when adding fractions with different denominators, solving problems involving repeating events and finding common multiples.

What Is HCF in Mathematics?

HCF stands for Highest Common Factor. It is also called the Greatest Common Divisor (GCD) or Greatest Common Factor (GCF).

HCF is the largest positive number that divides all the given numbers exactly.

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

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

Common factors: 1, 2, 3, 6

Therefore, HCF(12, 18) = 6.

HCF is useful when simplifying fractions, dividing objects into equal groups and solving sharing problems.

Difference Between LCM and HCF

LCM HCF
Least Common Multiple Highest Common Factor
Smallest positive common multiple Largest positive common factor
Uses multiples Uses factors
Useful for common denominators Useful for simplifying fractions
LCM of 12 and 18 is 36 HCF of 12 and 18 is 6

Methods of Finding LCM and HCF

1. Prime Factorisation Method

Write each number as a product of prime numbers. To calculate LCM, take every prime factor using its highest power. To calculate HCF, take only the common prime factors using their lowest powers.

12 = 2² × 3

18 = 2 × 3²

LCM = 2² × 3² = 36

HCF = 2 × 3 = 6

2. Division Method for LCM

Write the numbers together and divide them by prime numbers. Continue until every number becomes 1. Multiply all the prime divisors to obtain the LCM.

3. Euclidean Division Method for HCF

Divide the larger number by the smaller number. Continue dividing the previous divisor by the remainder until the remainder becomes zero. The last non-zero remainder is the HCF.

18 = 12 × 1 + 6

12 = 6 × 2 + 0

Therefore, HCF = 6.

Important LCM and HCF Formula

For any two positive whole numbers:

LCM × HCF = Product of the two numbers

LCM(a, b) × HCF(a, b) = a × b

For example:

LCM(12, 18) = 36

HCF(12, 18) = 6

36 × 6 = 216

12 × 18 = 216

Both products are equal, so the relationship is verified.

Important: This formula applies directly to two positive integers. It should not be applied in the same way to three or more numbers.

Where Do We Use LCM and HCF?

Fractions

LCM helps find a common denominator when adding or subtracting fractions.

Repeating Events

LCM helps determine when events occurring at regular intervals will happen together.

Equal Grouping

HCF helps divide objects into the largest possible equal groups without leftovers.

Simplifying Fractions

HCF helps reduce fractions to their simplest form.

Tips for Solving LCM and HCF Questions

First, identify whether the question asks for a common multiple or a common factor. Questions involving the smallest number divisible by several numbers usually require LCM.

Questions involving the greatest possible equal size or the largest number that divides given quantities usually require HCF.

When using prime factorisation, write the factors carefully. Remember that LCM uses the highest powers of all prime factors, while HCF uses the lowest powers of common prime factors.

After solving a question, check whether the LCM is divisible by every original number and whether the HCF divides every original number exactly.

Practise regularly with small numbers before attempting larger numbers. The calculator above can be used to check your working after solving independently.

Frequently Asked Questions About LCM and HCF

What is the full form of LCM?

LCM stands for Least Common Multiple.

What is the full form of HCF?

HCF stands for Highest Common Factor.

What is the LCM of 12 and 18?

The LCM of 12 and 18 is 36.

What is the HCF of 12 and 18?

The HCF of 12 and 18 is 6.

How do you calculate LCM?

You can use the multiples method, prime factorisation method or division method.

How do you calculate HCF?

You can use common factors, prime factorisation or the Euclidean division method.

Can this calculator find LCM of three numbers?

Yes. Enter a third number in the optional field.

Can this calculator find HCF of three numbers?

Yes. It calculates the HCF of all entered numbers.

What is the LCM of two coprime numbers?

The LCM of two coprime positive integers is their product.

What is the HCF of two coprime numbers?

The HCF of two coprime positive integers is 1.

Is HCF the same as GCD?

Yes. HCF and Greatest Common Divisor refer to the same mathematical concept.

Why is LCM useful for fractions?

LCM helps find a common denominator for fractions.

Why is HCF useful for fractions?

HCF helps simplify fractions by dividing the numerator and denominator by their greatest common factor.

Is this calculator free?

Yes. Students can use the online LCM and HCF calculator without payment.

Does the calculator show steps?

Yes. It shows prime factorisation, the LCM division method and the Euclidean HCF method.

Practise LCM and HCF Online

Use the free LCM and HCF calculator with steps to check your answers. You can calculate the LCM and HCF of two or three numbers, review the working and practise questions independently.

↑ Start the LCM and HCF Calculator