LCM Calculator
Least common multiple of two or more numbers
By Team Vind · Updated · How we check
Quick answer: The LCM is the smallest number every input divides into exactly: take each prime factor at its highest power, or use LCM(a, b) = a × b ÷ HCF(a, b).
Example: Whole numbers: 12, 18, 30. This gives LCM of 12, 18, 30: 180.
- 1Enter the numbersTwo or more whole numbers
- 2Press Find LCMResults update as you type
- 3See the workingPrime factors of every number
How is the LCM found?
The least common multiple is the smallest number that every input divides into exactly. Using prime factors:
Write each number as a product of primes
Take every prime at its highest power
LCM(a, b) = a × b ÷ GCF(a, b)
Example
12 = 2² × 3 and 18 = 2 × 3². The highest powers are 2² and 3², so the LCM is 4 × 9 = 36.
Where LCM is used
Adding fractions needs the LCM of the denominators (the lowest common denominator). It also answers timing puzzles: buses every 12 and 18 minutes leave together again every 36 minutes.
Related calculators
Frequently asked questions
What is the LCM of 12 and 18?
36. It's the smallest number that both 12 and 18 divide into exactly.
What is the difference between LCM and GCF (HCF)?
The LCM is the smallest shared multiple; the GCF (or HCF) is the largest shared factor. For two numbers, LCM × GCF = the product of the numbers.
Can I find the LCM of more than two numbers?
Yes. Enter as many as you like; the calculator combines them one by one.
How do I find LCM by the division (ladder) method?
Write the numbers in a row and divide by a prime that divides at least one of them, carrying down any that don't divide. Repeat until all are 1; the LCM is the product of the primes used.
Related guides
- NumbersHow to Calculate Percentage: 3 Formulas and Quick TricksThe three types of percentage question, mental shortcuts, a fraction table and the reverse percentage.4 min read · Updated 12 October 2026
- StudentsSGPA to CGPA: How to Calculate It with CreditsThe credit-weighted formulas for SGPA and CGPA, a worked grade card, and the SGPA needed for a target.4 min read · Updated 12 October 2026
- StudentsGPA on the 4.0 Scale: A Guide for Indian StudentsThe 4.0 scale, how GPA is calculated, why Indian marks don't convert directly, and what to report.4 min read · Updated 12 October 2026
Sources
Last reviewed: 15 October 2026

