Latest Update: UPSC CSE 2025 Notification Out!

LCM & HCF Calculator

Find the LCM and HCF of two or more numbers.

Instantly find the LCM (Least Common Multiple) and HCF (Highest Common Factor, also called GCD) of two or more numbers — a fundamental UPSC Quantitative Aptitude skill used in number system, fractions and time-based problems.

How to Use the LCM & HCF Calculator

Enter two or more whole numbers separated by a comma or space (for example 12, 18, 24) and click Calculate. The tool instantly shows both the LCM and the HCF (GCD) of the numbers you entered.

What Are LCM and HCF?

The HCF (Highest Common Factor) of two or more numbers is the largest number that divides all of them exactly. The LCM (Least Common Multiple) is the smallest number that is a multiple of all of them. For any two numbers, LCM × HCF = Product of the two numbers.

Why LCM & HCF Matter for UPSC Exams

LCM and HCF questions are common in the Number System chapter of UPSC CSE, CDS and NDA Quant sections, and also show up in time-and-work and fraction-based word problems. Practising with this calculator helps you verify your manual factorisation quickly.

Frequently Asked Questions

Can I find the LCM and HCF of more than two numbers?

Yes, simply enter as many numbers as you like, separated by commas or spaces.

What is HCF also known as?

HCF is also called GCD (Greatest Common Divisor) — both terms mean the same thing.

Related Tools

Percentage Calculator Find percentages, increases and decreases in one click. Average Calculator Calculate the average (mean) of any list of numbers. Profit & Loss Calculator Work out profit, loss and profit/loss percentage instantly. Time, Speed & Distance Calculator Solve for time, speed or distance — with unit conversion.