Enter values 3 / 12

Separate with commas, spaces or new lines. Ctrl+Enter to calculate

Result · Least Common Multiple
72
GCD: 6 3 values Exact value

Step-by-step solution

1 Prime factorize each number

  • 12=22 × 3
  • 18=2 × 32
  • 24=23 × 3

2 Take the highest power of every prime

Prime 12 18 24 Highest
2 22 2 23 23
3 3 32 3 32

3 Multiply the highest powers

LCM = 23 × 32 = 72

4 Cross-check with the GCD method

• LCM(a, b) = a × b ÷ GCD(a, b). Fold the list left to right.

LCM(12, 18) = 12 × 18 ÷ 6 = 36
LCM(36, 24) = 36 × 24 ÷ 12 = 72

Guide LCM Calculator — Complete Guide

• The Least Common Multiple (LCM) is a foundational concept in mathematics used everywhere from adding fractions to scheduling algorithms. This guide covers everything you need to know: what LCM is, how to find it, the formulas, real-world applications, visual charts, and answers to frequently asked questions.

What is the Least Common Multiple (LCM)?

• The Least Common Multiple (LCM) of two or more integers is the smallest positive integer that is evenly divisible by each of them. In other words, it is the lowest number that all the given numbers can divide into without leaving a remainder.

• For example, the LCM of 4 and 6 is 12, because:

  • Multiples of 4 are: 4, 8, 12, 16, 20, 24, …
  • Multiples of 6 are: 6, 12, 18, 24, 30, …
  • The smallest common multiple is 12.

Multiples Timeline — LCM(4, 6) = 12

• Visualization of the first 30 multiples of 4 and 6. The first common multiple is 12, so LCM(4, 6) = 12.

● Multiples of 4 ● Multiples of 6 ● LCM = 12 12 ✓
Key point: The LCM is always greater than or equal to the largest number in the set. It is never smaller than any of the given numbers.

Other Names for LCM Worldwide

• Depending on your region or textbook, the LCM may be called:

Language Name Abbreviation Example
• 🇬🇧 English Least Common Multiple LCM LCM(4, 6) = 12
• 🇩🇪 German Kleinstes gemeinsames Vielfaches kgV kgV(4, 6) = 12
• 🇪🇸 Spanish Mínimo Común Múltiplo MCM MCM(4, 6) = 12
• 🇫🇷 French Plus Petit Commun Multiple PPCM PPCM(4, 6) = 12
• 🇮🇹 Italian Minimo Comune Multiplo mcm mcm(4, 6) = 12
• 🇵🇹 Portuguese Mínimo Múltiplo Comum MMC MMC(4, 6) = 12
• 🇷🇺 Russian Наименьшее общее кратное НОК НОК(4, 6) = 12
• 🇨🇳 (for reference) 最小公倍数 LCM LCM(4, 6) = 12
• 🇯🇵 Japanese 最小公倍数 LCM LCM(4, 6) = 12
• 🇮🇳 Hindi लघुत्तम समापवर्त्य LCM LCM(4, 6) = 12
• 🇸🇦 Arabic المضاعف المشترك الأصغر LCM LCM(4, 6) = 12
• 🇵🇰 Urdu سب سے چھوٹا مشترکہ ضرب LCM LCM(4, 6) = 12

LCM Formula

• There are several equivalent ways to write the LCM formula. The most common one links LCM to GCD (Greatest Common Divisor):

LCM(a, b) = |a × b| ÷ GCD(a, b)

• This works because of the fundamental identity:

LCM(a, b) × GCD(a, b) = a × b

LCM of Fractions

• For fractions, the formula is different:

LCM(a₁/b₁, a₂/b₂, …) = LCM(numerators) ÷ GCD(denominators)

LCM of Three or More Numbers

• For more than two numbers, LCM is associative — you can fold the list pairwise:

LCM(a, b, c) = LCM(LCM(a, b), c)

Prime Factorization Formula

• If each number is broken into prime factors, the LCM is the product of the highest power of every prime appearing in any number:

LCM = p₁max(e₁) × p₂max(e₂) × … × pₙmax(eₙ)

Formula Comparison Table

Method Formula Best For Complexity
GCD Method LCM(a, b) = a × b ÷ GCD(a, b) Two large numbers O(log min(a,b))
Prime Factorization LCM = ∏ pmax e Three or more numbers O(√n)
Listing Multiples First common multiple Small numbers (< 20) O(LCM)
Fractions LCM(nums) ÷ GCD(dens) Rational numbers O(√n)

How to Find the LCM — 3 Methods

• You can calculate the LCM using any of these three standard methods. Our calculator uses prime factorization internally for the most reliable results.

1

Listing Multiples

• List the multiples of each number and find the smallest one they share. Best for small numbers.

2

Prime Factorization

• Break each number into primes, take the highest power of every prime, and multiply.

3

GCD Method

• Use LCM(a, b) = a × b ÷ GCD(a, b). Fastest for large numbers.

Method 1: Listing Multiples

• Example: Find LCM(6, 8).

Number Multiples First Common
6 6, 12, 18, 24, 30, … 24
8 8, 16, 24, 32, …

Method 2: Prime Factorization

• Example: Find LCM(12, 18).

Factor Trees — 12 and 18

• Prime factorization of 12 and 18 broken down into their prime factors.

12 2 6 2 3 12 = 2² × 3 18 2 9 3 3 18 = 2 × 3²
Composite / number Prime factor
Number Prime Factorization 2 3 Highest
12 2² × 3 2² 3¹ —
18 2 × 3² 2¹ 3² —
LCM 2² × 3² 2² 3² 4 × 9 = 36

Method 3: GCD Method

• Example: Find LCM(24, 36).

  • First, GCD(24, 36) = 12 (using the Euclidean algorithm)
  • LCM = (24 × 36) ÷ 12 = 864 ÷ 12 = 72

LCM vs HCF (GCD) — What's the Difference?

• LCM and HCF (also called GCD) are complementary concepts. Understanding both is essential for number theory and fraction work.

Venn Diagram — LCM and GCD

• For two numbers a and b, the LCM is the union of all prime factors (with highest powers) and the GCD is the intersection (with lowest powers).

a = 12 b = 18 2² a-only factor 2 × 3 GCD = 6 3² b-only factor LCM = 2² × 3 × 3 = 36 LCM = a × b ÷ GCD = 12 × 18 ÷ 6
Aspect LCM — Least Common Multiple HCF / GCD — Highest Common Factor
Definition Smallest number divisible by all given numbers Largest number that divides all given numbers
Relationship LCM(a, b) × HCF(a, b) = a × b
Size Always ≥ largest number in the set Always ≤ smallest number in the set
Primary use Adding/subtracting fractions, scheduling Simplifying fractions, grouping
Example LCM(12, 18) = 36 HCF(12, 18) = 6
Verification 12 × 18 = 216 = 36 × 6 ✓

Visual Charts & Diagrams

• Visualizations help understand how LCM grows with input size and how different pairs compare.

LCM Growth Chart — Common Number Pairs

• Bar chart comparing the LCM of frequently asked number pairs. Notice how LCM(a, b) = a × b when a and b are coprime.

LCM vs Product — Coprime vs Non-Coprime

• When two numbers are coprime (GCD = 1), LCM equals their product. Otherwise, LCM is smaller than the product.

Pair (a, b) GCD a × b LCM Coprime?
(7, 11) 1 77 77 ✓ Yes
(5, 9) 1 45 45 ✓ Yes
(8, 9) 1 72 72 ✓ Yes
(12, 18) 6 216 36 ✗ No
(24, 36) 12 864 72 ✗ No
(15, 20) 5 300 60 ✗ No

Fraction Visualization — LCD(1/4, 1/6)

• To add 1/4 + 1/6, we find the LCD = LCM(4, 6) = 12, then rewrite both fractions with denominator 12.

1/4 = × 3 = 3/12 1/6 = × 2 = 2/12 1/4 + 1/6 = 3/12 + 2/12 = 5/12

Key Properties of LCM

• These properties help you simplify calculations and verify results.

Property Formula Example
Commutative LCM(a, b) = LCM(b, a) LCM(4, 6) = LCM(6, 4) = 12
Associative LCM(a, LCM(b, c)) = LCM(LCM(a, b), c) LCM(2, LCM(3, 4)) = 12
Identity LCM(a, 1) = a LCM(7, 1) = 7
Idempotent LCM(a, a) = a LCM(5, 5) = 5
Divisibility a | b ⟹ LCM(a, b) = b 3 | 9 ⟹ LCM(3, 9) = 9
Coprime case GCD(a, b) = 1 ⟹ LCM(a, b) = a × b LCM(7, 11) = 77
Bound max(a, b) ≤ LCM(a, b) ≤ a × b 6 ≤ LCM(6, 8) = 24 ≤ 48
Distributive LCM(a, GCD(b, c)) = GCD(LCM(a,b), LCM(a,c)) LCM(6, GCD(8,12)) = 6
Quick check: If your LCM is smaller than any of the input numbers, something is wrong. The LCM must be at least the largest number.

LCM Chart — Common Pairs at a Glance

A quick reference for frequently asked LCM values. Useful for homework, exams, and cross-checking calculations.

LCM(2, 3)6
LCM(3, 4)12
LCM(4, 6)12
LCM(5, 7)35
LCM(6, 8)24
LCM(6, 9)18
LCM(8, 12)24
LCM(9, 12)36
LCM(10, 15)30
LCM(12, 18)36
LCM(14, 21)42
LCM(15, 20)60
LCM(16, 24)48
LCM(18, 24)72
LCM(20, 30)60
LCM(24, 36)72
LCM(25, 30)150
LCM(30, 45)90

LCM Table — Numbers 1 to 12

A 12×12 multiplication-style table of LCM values. Read as LCM(row, column).

· 1 2 3 4 5 6 7 8 9 10 11 12
1 1 2 3 4 5 6 7 8 9 10 11 12
2 2 2 6 4 10 6 14 8 18 10 22 12
3 3 6 3 12 15 6 21 24 9 30 33 12
4 4 4 12 4 20 12 28 8 36 20 44 12
5 5 10 15 20 5 30 35 40 45 10 55 60
6 6 6 6 12 30 6 42 24 18 30 66 12
7 7 14 21 28 35 42 7 56 63 70 77 84
8 8 8 24 8 40 24 56 8 72 40 88 24
9 9 18 9 36 45 18 63 72 9 90 99 36
10 10 10 30 20 10 30 70 40 90 10 110 60
11 11 22 33 44 55 66 77 88 99 110 11 132
12 12 12 12 12 60 12 84 24 36 60 132 12

Real-World Applications of LCM

• The LCM isn't just a classroom concept — it appears in many practical situations where repeating events need to align.

Field Problem LCM Role Example
Mathematics Adding fractions Find common denominator 1/4 + 1/6 → 12
Scheduling Repeating events When events align Buses: 12 & 18 min → 36
Mechanics Gear rotation Re-alignment point 24 & 36 teeth → 72 turns
Commerce Package sizes Equal quantities Pens 12-pack, pads 18-pack → 36
Music Rhythm pattern Pattern re-sync 4/4 & 3/4 → 12 beats
Computer Science Hash table size Cycle detection Hash collisions
Finance Payment cycles Matching schedules Weekly & monthly billing

Adding and Subtracting Fractions

• To add fractions with different denominators, find the LCD (Least Common Denominator), which is the LCM of the denominators.

• Example: 1/4 + 1/6. LCM(4, 6) = 12, so rewrite as 3/12 + 2/12 = 5/12.

Scheduling and Repeating Events

• If two events occur at different intervals, the LCM tells you when they'll happen together again.

• Example: A bus leaves every 12 minutes and another every 18 minutes. They'll next depart together after LCM(12, 18) = 36 minutes.

Gear and Wheel Rotation

• Two gears with 24 and 36 teeth will return to their starting alignment after LCM(24, 36) = 72 revolutions.

Purchase and Packaging Problems

• If pens come in packs of 12 and notebooks in packs of 18, you need LCM(12, 18) = 36 of each to have equal counts of both.

Music and Rhythm

• Drummers use LCM to find when two different rhythmic patterns will align perfectly again.

Computer Science

• In hashing, task scheduling, and rate limiters, LCM is used to detect cycles and align periodic processes.

Deep Dive In-Depth Articles & Solved Guides

• Access our complete library of step-by-step number pairs, shortcut rules, prime factor Venn diagrams, and computational mathematics essays.

Article Library & Solved Guides

Explore All 20 In-Depth LCM Guides & Solved Pairs

• Access complete step-by-step solutions, prime factor Venn diagrams, bus & gear synchronization models, shortcut tricks, and computational mathematics essays.

13 Solved Pairs
3 Shortcut Rules
4 Deep-Dive Essays
100% Free Walkthroughs
20 guides
Popular:
Worked Guide Result: 48

LCM of 16 and 24 — Complete Walkthrough

• The LCM of 16 and 24 is 48. Detailed walkthrough featuring custom prime factor Venn diagrams (2⁴ × 3 = 48), gear & bus synchronization models, and GCD connection (GCD = 8).

2⁴ × 3 = 48GCD(16, 24) = 8Formula: (16×24)÷8
Open Guide
Worked Guide Result: 40

LCM of 8 and 10 — Complete Walkthrough

• The LCM of 8 and 10 is 40. Comprehensive guide featuring custom prime factor Venn diagrams (2³ × 5 = 40), bus and gear synchronization models, and GCD connection (GCD = 2).

2³ × 5 = 40GCD(8, 10) = 2Formula: (8×10)÷2
Open Guide
⚡ Shortcut Rule LCM = a × b

LCM of Two Consecutive Odd Numbers

• Why consecutive odd numbers always have LCM equal to their product. Difference is 2 and odd numbers are never even, making GCD strictly 1.

GCD = 1 (Coprime)Mental Math: M² − 1Formula: a × b
Open Guide
Worked Guide Result: 90

LCM of 30 and 45 — Complete Walkthrough

• The LCM of 30 and 45 is 90. Step-by-step prime factorization (2 × 3² × 5 = 90), custom prime factor Venn diagram, GCD connection (GCD = 15), and solved fractions.

2 × 3² × 5 = 90GCD(30, 45) = 15Formula: (30×45)÷15
Open Guide
Worked Guide Result: 75

LCM of 15 and 25 — Complete Walkthrough

• The LCM of 15 and 25 is 75. Step-by-step prime factorization (3 × 5² = 75), custom prime factor Venn diagram, GCD connection (GCD = 5), and solved fractions.

3 × 5² = 75GCD(15, 25) = 5Formula: (15×25)÷5
Open Guide
Worked Guide Result: 15

LCM of 3 and 5 — Complete Walkthrough

• The LCM of 3 and 5 is 15. Step-by-step coprime shortcut (3 × 5 = 15), custom prime factor Venn diagram, GCD connection (GCD = 1), and solved fractions.

3 × 5 = 15GCD(3, 5) = 1Formula: (3×5)÷1
Open Guide
Worked Guide Result: 72

LCM of 18 and 24 — Complete Walkthrough

• The LCM of 18 and 24 is 72. Step-by-step prime factorization (2³ × 3² = 72), gear tooth alignment model, GCD connection (GCD = 6), and solved fractions.

2³ × 3² = 72GCD(18, 24) = 6Formula: (18×24)÷6
Open Guide
Worked Guide Result: 36

LCM of 9 and 12 — Complete Walkthrough

• The LCM of 9 and 12 is 36. Complete guide featuring prime factorization (2² × 3² = 36), the ladder division method, and fraction addition.

2² × 3² = 36GCD(9, 12) = 3Formula: (9×12)÷3
Open Guide
⚡ Shortcut Rule LCM = n(n + 1)

LCM of Two Consecutive Numbers

• Consecutive integers are always coprime (GCD = 1). Their LCM is strictly their direct product. Includes Euclidean proof and mental math examples.

GCD = 1 (Coprime)Direct ProductEuclidean Proof
Open Guide
⚡ Shortcut Rule LCM = (a × b) ÷ 2

LCM of Two Consecutive Even Numbers

• Consecutive even numbers always share a common factor of 2 (GCD = 2). Their LCM is strictly half their product: LCM(2n, 2n+2) = 2n(n + 1).

GCD = 2 (Always)Half ProductAlgebraic Proof
Open Guide
Worked Guide Result: 72

LCM of 24 and 36 — Complete Walkthrough

• The LCM of 24 and 36 is 72. In-depth guide with Venn diagrams, 24T & 36T gear synchronization, prime factors (2³ × 3² = 72), and GCD connection (GCD = 12).

2³ × 3² = 72GCD(24, 36) = 12Gear Sync: 72T
Open Guide
Worked Guide Result: 20

LCM of 4 and 5 — Complete Walkthrough

• The LCM of 4 and 5 is 20. Learn why consecutive integers have GCD = 1 and LCM = 4 × 5 = 20, complete with number line timelines and fraction LCDs.

2² × 5 = 20GCD(4, 5) = 1Direct Product
Open Guide
Worked Guide Result: 18

LCM of 6 and 9 — Complete Walkthrough

• The LCM of 6 and 9 is 18. Detailed solution comparing list of multiples, prime factorization (2 × 3² = 18), and GCD relationship (GCD = 3).

2 × 3² = 18GCD(6, 9) = 3Formula: (6×9)÷3
Open Guide
Worked Guide Result: 48

LCM of 12 and 16 — Complete Walkthrough

• The LCM of 12 and 16 is 48. Comprehensive tutorial featuring prime factor Venn diagrams (2⁴ × 3 = 48), bus departure schedule alignment, and GCD = 4.

2⁴ × 3 = 48GCD(12, 16) = 4Bus Sync: 48 min
Open Guide
Worked Guide Result: 30

LCM of 10 and 15 — Complete Walkthrough

• The LCM of 10 and 15 is 30. Step-by-step factorization (2 × 3 × 5 = 30), real-life hot dog bun packaging problems, and GCD relationship (GCD = 5).

2 × 3 × 5 = 30GCD(10, 15) = 5Packaging Sync: 30
Open Guide
Worked Guide Result: 8

LCM of 4 and 8 — Complete Walkthrough

• When one number divides another, LCM is simply the larger number: LCM(4, 8) = 8. Learn the fundamental divisibility theorem with visual proofs.

Multiple Rule: 8GCD(4, 8) = 4Fast Mental Math
Open Guide
Exam Mastery Top 10 Questions

Top 10 LCM Questions Asked in Exams

• High-yield LCM exam questions: formula triangle, constant remainder tricks (+r vs -d), ratio shortcuts, and smallest perfect squares.

Formula TriangleRemainder Tricks10 Solved Patterns
Open Guide
Class 7 & 8 Guide 13 Solved Problems

LCM Word Problems for Class 7/8

• Comprehensive guide to LCM word problems for Class 7 and 8: bells synchronization, gear teeth realignment, circular tracks, and remainder problems.

Bells & AlarmsGears & Tracks13 Solved Examples
Open Guide
Class 6 Notes Guide & Examples

LCM and HCF Class 6 Notes with Solved Examples

• Complete Class 6 notes on LCM & HCF with prime factor Venn diagrams, Euclidean long division, HCF × LCM = Product formula, and exam word problems.

Venn DiagramEuclidean DivisionHCF × LCM = A × B
Open Guide
Worked Guide Result: 24

LCM of 8 and 12 — Complete Walkthrough

• The LCM of 8 and 12 is 24. Full walkthrough with Venn diagrams (2³ × 3 = 24), rotating gear wheels, and solved fraction addition (1/8 + 1/12).

2³ × 3 = 24GCD(8, 12) = 4Formula: (8×12)÷4
Open Guide
Worked Guide Result: 60

LCM of 3, 4 and 5 — Complete Walkthrough

• The LCM of 3, 4 and 5 is 60. Full walkthrough with coprime shortcut (3 × 4 × 5 = 60), prime factorization (2² × 3 × 5 = 60), and fraction addition (1/3 + 1/4 + 1/5).

3 × 4 × 5 = 60GCD(3, 4, 5) = 1Coprime Shortcut
Open Guide
Worked Guide Result: 60

LCM of 12, 15 and 20 — Complete Walkthrough

• The LCM of 12, 15 and 20 is 60. Full walkthrough with prime factorization (2² × 3 × 5 = 60), common division ladder, and fraction addition (1/12 + 1/15 + 1/20).

2² × 3 × 5 = 60GCD(12, 15, 20) = 1Pairwise: 60
Open Guide
Worked Guide Result: 12

LCM of 2, 4 and 6 — Complete Walkthrough

• The LCM of 2, 4 and 6 is 12. Full walkthrough with prime factorization (2² × 3 = 12), common division ladder, and fraction addition (1/2 + 1/4 + 1/6).

2² × 3 = 12GCD(2, 4, 6) = 2Pairwise: 12
Open Guide
Worked Guide Result: 36

LCM of 12 and 18 — Complete Walkthrough

• The LCM of 12 and 18 is 36. Complete guide with prime factor analysis (2² × 3² = 36), simultaneous departures, and GCD connection (GCD = 6).

2² × 3² = 36GCD(12, 18) = 6Formula: (12×18)÷6
Open Guide
Worked Guide Result: 12

LCM of 4 and 6 — Complete Walkthrough

• The LCM of 4 and 6 is 12. The classic elementary LCM example solved via listing multiples, Venn prime factors (2² × 3 = 12), and fraction LCDs.

2² × 3 = 12GCD(4, 6) = 2Formula: (4×6)÷2
Open Guide
Historical Essay History & CS

The Historical Origins of LCM: 4,000 Years of Math

• Babylonian astronomers and Egyptian scribes were calculating common multiples 4,000 years ago. Discover how Euclid, Aryabhata, and modern cryptography evolved LCM.

Babylonian MathEuclidean Algorithm8 min read
Open Guide
Computer Science Systems Math

Why LCM Matters in Modern Computing

• How distributed database clock synchronization, CPU pipeline hyper-periods, token bucket rate limiters, and cryptographic key generation rely on LCM.

Distributed ClocksRate LimitersRSA Keys
Open Guide
Mistakes Avoidance Analysis

Common Misconceptions About LCM

• Critical guide dispelling the top student and developer errors: confusing 'Least' with small size, applying LCM to zero or negatives, and decimal misconceptions.

HCF vs LCMZero & NegativesFraction Pitfalls
Open Guide
Higher Math Lattice Theory

Advanced: LCM in Abstract Algebra & Lattice Theory

• LCM as the 'join' operation (∨) in the lattice of divisibility, while GCD is the 'meet' (∧). Proving distributive lattice identities and dual group homomorphisms.

Divisibility LatticeJoin & MeetAlgebraic Proofs
Open Guide

No matching guides found

Try searching for numbers like 16, 24, 36, or terms like "odd", "even", or "coprime".

Worked Examples

• Three fully solved examples covering different scenarios.

Example 1: LCM of two numbers

• Find LCM(15, 20).

Step Action Result
1 Prime factorize 15 = 3 × 5; 20 = 2² × 5
2 Take highest powers 2², 3¹, 5¹
3 Multiply 4 × 3 × 5 = 60
✓ Verify 60 ÷ 15 = 4 ✓; 60 ÷ 20 = 3 ✓

Example 2: LCM of three numbers

• Find LCM(8, 12, 18).

Number Prime Factorization Highest Power
8 2³ 2³
12 2² × 3 2², 3¹
18 2 × 3² 2¹, 3²
LCM 2³ × 3² = 72 2³, 3²

Example 3: LCM of fractions

• Find LCM(1/2, 3/4, 5/6).

Step Action Result
1 LCM of numerators LCM(1, 3, 5) = 15
2 GCD of denominators GCD(2, 4, 6) = 2
3 Result 15/2 = 7.5 or 7½

Common Mistakes to Avoid

• Even experienced students make these errors. Watch out for them.

❌ Mistake Why it's wrong ✅ Correct approach
Confusing LCM with GCD LCM is the smallest common multiple (bigger), GCD is the largest common divisor (smaller) Remember: LCM ≥ max(a, b); GCD ≤ min(a, b)
Forgetting the highest power Using the lowest exponent gives GCD, not LCM Always pick the maximum exponent per prime
Missing prime factors Every distinct prime from any number must appear Build the union of all prime factors with max exponents
Assuming LCM = a × b always Only true when GCD(a, b) = 1 (coprime) Use LCM(a, b) = a × b ÷ GCD(a, b)
Forgetting the zero case Every multiple of 0 is 0, so no smallest exists Reject 0 as input; LCM is undefined with 0
Not simplifying fractions first Unsorted fractions can give wrong results Reduce each fraction before applying the LCM formula
Pro tip: Always verify your LCM by dividing it by each original number. If any division leaves a remainder, you made a mistake.

Frequently Asked Questions

• Quick answers to the most common LCM questions.

What is the LCM of two numbers?

• The LCM of two numbers is the smallest positive integer that both numbers can divide evenly. For example, LCM(6, 8) = 24 because 24 is the smallest number divisible by both 6 and 8.

How do I find the LCM of three numbers?

• You can find it in one of two ways: (1) prime factorize each number, take the highest power of every prime, and multiply; or (2) find LCM of the first two numbers, then find LCM of that result with the third. Both give the same answer.

What is the difference between LCM and LCD?

• LCD (Least Common Denominator) is just the LCM applied to the denominators of fractions. The math is identical — the name only changes because of context. LCM(4, 6) = 12 and LCD(1/4, 1/6) = 12.

Is LCM always greater than the numbers?

• The LCM is always greater than or equal to the largest number in the set. It can never be smaller than any input number. If the two numbers are equal, LCM(a, a) = a.

Can LCM be a negative number?

• No. LCM is only defined for positive integers (and positive rationals) and is always positive. Some textbooks extend it to negative integers by taking the absolute value, but the result is always positive.

What is the LCM of 0 and any number?

• LCM involving 0 is undefined in standard arithmetic, because every multiple of 0 is 0, and there is no "smallest" positive multiple. Our calculator rejects inputs containing 0.

How is LCM used in real life?

• LCM is used for adding fractions, scheduling repeating events (buses, alarms), aligning gear rotations, planning purchases with different package sizes, music rhythm patterns, and many computer science algorithms like rate limiting and hash table sizing.

What is the relationship between LCM and GCD?

• For any two positive integers a and b: LCM(a, b) × GCD(a, b) = a × b. This identity lets you calculate one if you know the other — it's the basis of the GCD method for finding LCM.

Can I find LCM of decimals?

• Yes. Convert each decimal to a fraction first (0.5 → 1/2, 1.25 → 5/4), then apply the LCM formula for fractions. Our calculator does this automatically in Decimal mode.

What is the LCM of two prime numbers?

• If both numbers are prime and different, their LCM is simply their product. For example, LCM(7, 11) = 77. If they're the same prime, LCM(p, p) = p.

Mathematical Glossary

• Key terms you'll encounter while working with LCM.

LCM
Least Common Multiple — the smallest positive integer divisible by every number in a set.
GCD
Greatest Common Divisor — the largest positive integer that divides every number in a set evenly. Also called HCF.
Multiple
The product of a number and any integer. Multiples of 3 are 3, 6, 9, 12, …
Factor
A number that divides another number without leaving a remainder.
Prime
A number greater than 1 with exactly two factors: 1 and itself.
Composite
A number greater than 1 that is not prime.
Coprime
Two numbers whose GCD is 1.
Prime Factorization
Breaking a number into the product of its prime factors.
LCD
Least Common Denominator — the LCM of denominators, used to add or subtract fractions.
BigInt
A data type that can hold integers of arbitrary size — used for exact arithmetic without rounding.