LCM Calculator

Calculate Least Common Multiple (LCM) of two numbers.

Numbers

Results

LCM

36

Least Common Multiple

GCD

6

Greatest Common Divisor

Formula:

LCM = (a × b) / GCD
= (12 × 18) / 6
= 36

About This Calculator

The LCM (Least Common Multiple) Calculator helps you find the least common multiple of two numbers. The LCM is the smallest positive integer that is divisible by both numbers. It's useful for adding and subtracting fractions, solving problems involving multiples, and finding common denominators.

The calculator uses the relationship between LCM and GCD (Greatest Common Divisor): LCM(a, b) = (a × b) / GCD(a, b). This efficient method quickly finds the LCM without listing all multiples. The calculator also provides the GCD for reference.

Formula & Calculation Method

LCM Formula:

LCM using GCD:
LCM(a, b) = (a × b) / GCD(a, b)

GCD (Euclidean Algorithm):
GCD(a, b) = GCD(b, a mod b)
Continue until remainder is 0

Example:
LCM(12, 18) = (12 × 18) / GCD(12, 18)
= 216 / 6 = 36

The LCM is the smallest number that is a multiple of both numbers. For example, LCM(4, 6) = 12 because 12 is the smallest number divisible by both 4 and 6. The relationship with GCD allows efficient calculation without listing multiples.

How to Use This Calculator

  1. Enter Number 1: Input the first number.
  2. Enter Number 2: Input the second number.
  3. View Results: See the LCM and GCD calculated automatically.
  4. Use LCM: Use the LCM to find common denominators, solve problems involving multiples, or synchronize cycles.

Frequently Asked Questions

What is LCM?

LCM (Least Common Multiple) is the smallest positive integer that is divisible by both numbers. For example, LCM(4, 6) = 12 because 12 is the smallest number that both 4 and 6 divide evenly into.

How is LCM different from GCD?

LCM is the smallest common multiple (what both numbers divide into), while GCD is the largest common divisor (what divides into both numbers). They are related: LCM(a, b) × GCD(a, b) = a × b.

When is LCM used?

LCM is commonly used for: finding common denominators when adding/subtracting fractions, solving problems involving multiples or cycles, scheduling problems (when events repeat), and finding the least common period.

Can LCM be calculated for more than two numbers?

Yes, LCM can be extended to multiple numbers: LCM(a, b, c) = LCM(LCM(a, b), c). This calculator handles two numbers, but you can iteratively use it for more numbers.

NumCalculators Editorial Team

Multi-disciplinary Expert Team

The NumCalculators Editorial Team consists of subject matter experts across various fields who review and verify the accuracy of our calculators. Each calculator undergoes rigorous testing and validation before publication.

Published: 2024-01-15Updated: 2024-12-15