HCF and LCM Calculator

HCF or Highest Common Factor refers to a set of two or more different numbers that can be divided by exactly or a common number. HCF is also called as GCD/GCM – Greatest Common Divisor or Greatest Common Measure.

LCM or Least Common Multiple refers to the smallest quantity of number that is divisible by two or more given quantities of number without a remainder: 12is the least common multiple of 2, 3, 4, and 6. LCM is also called as Lowest Common Multiple. LCM is the smallest number that is multiple of two or more numbers.

HCF and LCM are calculated by either factorization method or division method.
HCF and LCM Calculator
First Number :
Second Number :
Lowest Common Multiple :
Highest Common Factor :
Formula
If number ‘a’ divided another number ‘b’ exactly, then we say that ‘a’ is a factor of ‘b’.
In this case, ‘b’ is called a multiple of ‘a’.
H.C.F can be calculated by any of the following methods,

Factorization Method:
Express each one of the numbers as product of prime factors.
The product of least powers of common prime factors gives HCF.

Division Method:
Two find the HCF of two given numbers, divide the largest by the small number, then divide the dividend by the remainder. Repeat this until remainder is 0. The last dividend is the HCF of the two numbers.
Least Commmon Factor(LCF) can be calculated by the following method,

Factorization Method:
Express each one of the numbers as product of prime factors.
The product of highest powers of all prime factors gives LCF.

Example:
Calculate the HCF and LCM for the given set of numbers.
Greatest Common Measure of 18,36,72

Solution:
Step1: Express the numbers as product of prime factors.
18 = 2× 32
36 = 22 × 32
72 = 23 × 32

Step2: Take the prime numbers with least power and is present in all sets.
2 and 3 are the prime number common to all given numbers.
The least power of 2 in the set is - 2
The least power of 3 in the set is - 32

Step3: Product of the numbers taken.
32 × 2 = 9 × 2 = 18

So 18 is the GCD (Greatest Common Divisor) of the numbers.
Least Common Multiple or Factor of 36, 90, 72.

Step1: Express the numbers as product of prime factors.
36 = 22 × 32
90 = 2 × 5 × 32
72 = 23 × 32

Step2: Take the prime numbers with highest power for all prime numbers.
2, 3,5 are the prime number identified.
The highest power of 2 in the set is - 23
The highest power of 3 in the set is - 32
The highest power of 5 in the set is - 5

Step3: Product of the numbers taken.
32 × 5 × 23 = 9 × 5 × 8 = 360

So 360 is the LCM (Least Common Multiple) of the numbers.