To Many Calculator logoTo Many Calculator

LCM Calculator — Least Common Multiple

Kaushik RabadiyaCreated by Kaushik RabadiyaLast updated: September 24, 2026

LCM instantly calculates results using and, n1, n10. Use the calculator above for instant answers in your browser.

Welcome to the ultimate LCM Calculator, designed to help students, teachers, and professionals quickly find the Least Common Multiple for any set of integers. Whether you are synchronizing repeating events, simplifying complex algebraic fractions, or tackling routine homework assignments, this tool removes manual guesswork and delivers instant, precise results.

How It Works

The Least Common Multiple (LCM) of a set of numbers is the smallest positive integer that is perfectly divisible by each number in that set. The most reliable method to find the LCM is through prime factorization. First, break down each input number into its prime factors. Next, identify every unique prime factor present across all numbers. Finally, multiply the highest exponent of each unique prime factor together. Alternatively, for two numbers a and b, you can use the Greatest Common Divisor (GCD) relationship: LCM(a, b) = (|a * b|) / GCD(a, b).

Worked Calculation Example

Let us find the Least Common Multiple of 18 and 24 using prime factorization. Step 1: Find the prime factors of each number. For 18, the prime factorization is 2 * 3^2. For 24, the prime factorization is 2^3 * 3. Step 2: Identify all unique prime bases, which are 2 and 3. Step 3: Select the highest exponent for each base. For 2, the highest power is 2^3 (from 24). For 3, the highest power is 3^2 (from 18). Step 4: Multiply these maximum powers together to calculate the final LCM: 2^3 * 3^2 = 8 * 9 = 72. Thus, the LCM of 18 and 24 is 72.

Practical Tips for Finding LCM

When working with large numbers, listing out multiples manually becomes inefficient; always rely on prime factorization or the Euclidean algorithm for GCD to save time. If you are adding or subtracting fractions with different denominators, finding the LCM of the denominators gives you the Least Common Denominator (LCD), making fraction combination much simpler. Always double-check your prime factor trees before multiplying the final components to avoid minor calculation errors.

FAQs

What is the LCM of 18 and 24?

The LCM of 18 and 24 is 72. This is because 72 is the smallest positive integer that can be divided evenly by both 18 (18 * 4 = 72) and 24 (24 * 3 = 72).

How do you calculate LCM?

You can calculate the LCM by listing the multiples of each number until you find the smallest one they share, or by using prime factorization. Prime factorization involves breaking each number into its prime components, taking the highest power of each prime factor, and multiplying them together.

How do you find the LCM of fractions?

To find the LCM of fractions, you actually calculate the LCM of the denominators to find a common base, often called the Least Common Denominator (LCD). Once denominators match, you can easily compare, add, or subtract the fractional values.

What is the LCM of 2, 4, 6, 8, 10, and 12?

The LCM of 2, 4, 6, 8, 10, and 12 is 120. Breaking down each number into prime factors yields 2, 2^2, 2 * 3, 2^3, 2 * 5, and 2^2 * 3. Taking the highest powers of each prime (2^3 * 3 * 5) results in 8 * 3 * 5, which equals 120.

Formula verified against Mathematical standards (ISO 80000-2) — all calculations use deterministic, standards-based formulas.

Related calculators