LogoPractical Web Tools

Free Forever

All our tools are completely free to use. No account required, No hidden fees and No subscriptions.

Fast & Secure

All processing happens in your browser. Your files never leave your device.

No File Size Limits

Convert files of any size. No restrictions on file sizes or number of conversions.

Batch Processing

Convert multiple files at once to save time and effort.

File Converters

  • PDF Tools
  • Image Converter
  • Video Converter
  • Audio Converter
  • Document Converter
  • eBook Converter
  • Archive Tools
  • File Tools

Calculators

  • Finance Calculators
  • Health Calculators
  • Math Calculators
  • Science Calculators
  • Other Tools

Popular Tools

  • PDF to Word
  • HEIC to JPG
  • Merge PDF
  • Fillable PDF Creator
  • Mortgage Calculator
  • BMI Calculator
  • AI Chat

Company

  • About Us
  • Blog
  • Contact
  • Request a Tool

Legal

  • Privacy Policy
  • Terms of Service
Email Support
Practical Web Tools Logo
Practical Web Tools

Free Tools — Your Files Never Leave Your Device

Practical Web Tools - Convert files & chat with AI — fully offline | Product Hunt

© 2026 Opal Emporium LLC. All rights reserved.

Privacy-first file conversion and AI chat. No accounts, no uploads, no tracking.

  1. Home
  2. Math Calculators
  3. LCM Calculator

LCM Calculator

Find the Least Common Multiple (LCM) of two or more numbers. See step-by-step prime factorization and the relationship between LCM and GCF.

Formula:LCM(a,b) = |a × b| / GCF(a,b)

Results

LCM

36

GCF (GCD)6
Numbers Used12, 18

Input Mode

Enter Numbers

Results

Least Common Multiple

36

Greatest Common Factor

6

Step-by-Step Solution

Prime factorizations:

12 = 2^2 × 3

18 = 2 × 3^2

LCM = product of highest powers of all primes:

LCM = 2^2 × 3^2 = 36

GCF = product of lowest powers of common primes:

GCF = 2 × 3 = 6

Relationship: LCM × GCF = Product of numbers

36 × 6 = 216

12 × 18 = 216

Prime Factorizations

12

= 2^2 × 3

18

= 2 × 3^2

Common LCM Examples

NumbersLCMGCFUse Case
2, 361Every 2 and 3 hours
4, 6122Fractions 1/4 + 1/6
5, 7351Coprime numbers
12, 15603Minutes in schedules
8, 12244Hours in a day
3, 4, 5601Three-way scheduling
2, 3, 4121Months/seasons
6, 8, 12242Work shifts

Methods to Find LCM

1. Prime Factorization Method

Find prime factors of each number, take the highest power of each prime.

LCM(12, 18) = LCM(2² × 3, 2 × 3²) = 2² × 3² = 36

2. Formula Method

Use the relationship with GCF: LCM(a,b) = |a × b| / GCF(a,b)

LCM(12, 18) = (12 × 18) / GCF(12, 18) = 216 / 6 = 36

3. Listing Multiples Method

List multiples of each number until finding the smallest common one.

12: 12, 24, 36, 48... | 18: 18, 36, 54...

Results

LCM

36

GCF (GCD)6
Numbers Used12, 18

Try These Examples

Quick-start with common scenarios

Practice LCM Problems

Test your skills with practice problems

Practice with 3 problems to test your understanding.

?How to Find the LCM

The Least Common Multiple (LCM) is the smallest positive number that is divisible by all given numbers. To find the LCM: list prime factors of each number, take each prime factor at its highest power, and multiply together. For example, LCM(4, 6) = 12, because 12 is the smallest number that both 4 and 6 divide into evenly.

What is the Least Common Multiple?

The Least Common Multiple (LCM), also called Lowest Common Multiple, is the smallest positive integer that is divisible by two or more given integers. It is essential for adding and subtracting fractions, synchronizing periodic events, and solving problems involving repeating cycles or schedules.

Key Facts About LCM

  • LCM (Least Common Multiple) is the smallest positive number divisible by all given numbers
  • LCM formula using GCF: LCM(a,b) = |a x b| / GCF(a,b)
  • To find LCM by prime factorization: multiply each prime factor at its highest power
  • LCM is used for adding fractions with different denominators
  • LCM helps find when repeating events will coincide (scheduling problems)
  • For coprime numbers (GCF=1), LCM equals their product
  • LCM of any number and itself is that number
  • LCM is always greater than or equal to the largest of the input numbers

Quick Answer

The Least Common Multiple (LCM) is the smallest positive number that is divisible by all given numbers. To find the LCM: list prime factors of each number, take each prime factor at its highest power, and multiply together. For example, LCM(4, 6) = 12, because 12 is the smallest number that both 4 and 6 divide into evenly.

Frequently Asked Questions

The Least Common Multiple (LCM) of two or more numbers is the smallest positive integer that is divisible by all of those numbers. For example, LCM(4, 6) = 12 because 12 is the smallest number divisible by both 4 and 6.

Smallest positive integer divisible by all given numbers. LCM(4,6) = 12.

There are several methods: 1) List multiples until you find a common one, 2) Use prime factorization and take the highest power of each prime, 3) Use the formula LCM(a,b) = |a×b| / GCF(a,b). The prime factorization method is most efficient for larger numbers.

Prime factorization (highest powers), listing multiples, or formula: LCM = |a×b|/GCF.

For any two numbers a and b: LCM(a,b) × GCF(a,b) = a × b. This relationship is useful for finding one when you know the other. Note: this formula only applies directly to two numbers.

LCM(a,b) × GCF(a,b) = a × b. Useful for calculating one from the other.

LCM is used when finding common schedules (e.g., two buses running every 15 and 20 minutes meet every 60 minutes), adding fractions with different denominators, synchronizing repeating events, and solving problems about cycles.

Common schedules, adding fractions, synchronizing cycles, repeating event problems.

When two numbers are coprime (no common factors except 1), their LCM equals their product. For example, LCM(7, 9) = 63 = 7 × 9, since 7 and 9 share no common prime factors.

For coprime numbers (GCF=1), LCM equals their product. LCM(7,9) = 63.

Yes! LCM can be found for any set of numbers using prime factorization. Take the highest power of each prime that appears in any factorization. Alternatively, calculate LCM(a,b), then LCM(result, c), and so on.

Yes. Use highest prime powers from all numbers, or calculate pairwise: LCM(a,b), then LCM(result,c).

Last updated: 2025-01-15

Related Math Tools

Explore similar calculators

Circle Calculator

Area, circumference, radius

Triangle Calculator

Area, perimeter, angles

Rectangle Calculator

Area and perimeter

Square Calculator

Area and perimeter

Sphere Calculator

Volume and surface area

Cylinder Calculator

Volume and surface area

View all math calculators

Results

LCM

36

GCF (GCD)6
Numbers Used12, 18