NumbarnNumbarn

Least Common Multiple Calculator

Adjust the inputs below. Results update as you type.

How it works

LCM(a,b) = (a × b) / GCF(a,b). Using prime factorization: take the highest power of each prime factor present in any number. Example: LCM(12,18) = LCM(2²×3, 2×3²) = 2²×3² = 36. Used to add/subtract fractions (find LCD), schedule repeating events, and solve synchronization problems. LCM grows quickly; for many numbers, use the step-by-step approach.

Input guidance

  • Check units and decimal placement before running calculations.
  • For percentage and ratio tasks, define the baseline value clearly.
  • Use rounded output carefully and keep full precision for intermediate steps.

The formula

The LCM is the smallest number both values divide into. Compute it as LCM(a,b) = a × b ÷ GCF(a,b), or by comparing prime factorizations.

Worked example

LCM(4, 6): GCF is 2, so LCM = 4 × 6 ÷ 2 = 12.

More examples to test

  • Baseline example: solve with clean numbers first to verify formula direction.
  • Edge-case example: test near-zero or boundary values to avoid interpretation errors.

How to interpret results

Use outputs as quick checks, then verify with step-by-step work for graded or high-stakes use.

When this can be inaccurate

Errors usually come from unit mismatch, wrong baseline assumptions, or rounding too early in multistep problems.

Change history

  • July 2026: Quality-reviewed for publication with formula checks and explanatory copy updates.

Site-wide corrections also appear on the corrections log.

Sponsored

Build math and logic skills with guided lessons

Educational platform recommendation.

Frequently asked questions

What is the least common multiple?+

The smallest positive number that is a multiple of all the given numbers — useful for adding fractions with different denominators.

How do I find the LCM?+

Divide the product of the numbers by their greatest common factor, or take the highest power of each prime that appears in any factorization.

How does LCM relate to GCF?+

For two numbers, LCM × GCF = the product of the numbers, so each can be found from the other.

Why do my classroom and calculator results differ?+

Differences usually come from rounding conventions, order-of-operations handling, or different baseline assumptions.

What is the safest way to validate an answer?+

Recompute with units shown and check against a second method or manual arithmetic for critical problems.

Related calculators