LCM Calculator
Find the Least Common Multiple (LCM) of two or more numbers. Free LCM calculator with steps.
How to Use
- Enter two or more positive integers in the input field
- Separate numbers with commas or spaces (e.g., "12, 18" or "4 6 8")
- Click "Calculate LCM" or press Enter
- View the LCM along with prime factorizations for each number
What is LCM Calculator?
The Least Common Multiple (LCM) of two or more integers is the smallest positive integer that is divisible by each of the given numbers. It's also called the Lowest Common Multiple.
For example, the LCM of 4 and 6 is 12, because 12 is the smallest number that both 4 and 6 divide into evenly (12 ÷ 4 = 3 and 12 ÷ 6 = 2).
The LCM is commonly used for adding and subtracting fractions with different denominators, scheduling problems, and finding common periods in cyclic events.
Formula
LCM(a, b) = |a × b| / GCF(a, b)
Take the highest power of each prime factor that appears in any of the numbers, then multiply them together.
LCM(a, b) × GCF(a, b) = |a × b|
Examples
12 = 2² × 3
18 = 2 × 3²
LCM = 2² × 3² = 4 × 9 = 36
4 = 2²
6 = 2 × 3
8 = 2³
LCM = 2³ × 3 = 8 × 3 = 24