Beginner

LCM Calculator — Least Common Multiple

Enter two or three positive whole numbers and instantly find their Least Common Multiple — the smallest positive integer that every entered number divides into evenly.
Leave blank for two numbers
Least Common Multiple (LCM)
36

Smallest positive integer divisible by all entered numbers

GCD of first two
6
LCM formula check
12 × 18 / 6 = 36
Next common multiples
72, 108, 144
05.110.215.220.325.430.535.540.61218LCM=36Inputs and their LCM on the number line
Step by step
  1. 1

    GCD of the two numbers

    GCD(12, 18) = 6
    Computed with the Euclidean algorithm: repeatedly replace with the remainder.
  2. 2

    LCM = a × b ÷ GCD

    12 × 18 ÷ 6 = 36
I risultati sono stime fornite solo a scopo informativo generale e non costituiscono consulenza professionale — verifica sempre i risultati importanti in modo indipendente prima di farvi affidamento. Leggi l'avvertenza completa.
Risposta rapida

Come funziona questo calcolatore?

LCM(a, b) = |a × b| / GCD(a, b). Compute GCD via the Euclidean algorithm (repeatedly replace with the remainder), then divide into the product. For three numbers chain it: LCM(LCM(a,b), c). The LCM is the smallest positive integer divisible by every input.

Formula
LCM(a, b) = |a × b| / GCD(a, b)
How this is calculated

The Least Common Multiple of two integers is found most efficiently via the GCD: LCM(a, b) = |a × b| / GCD(a, b). The GCD is computed with the Euclidean algorithm — repeatedly replace the larger number with the remainder when divided by the smaller, until the remainder is zero; the last non-zero value is the GCD. This never requires factoring the numbers, making it fast even for large values.

For three numbers the computation is chained: LCM(a, b, c) = LCM(LCM(a, b), c). The order does not matter because LCM is commutative and associative.

Only positive integers are accepted. Zero would make LCM = 0 by convention (since every number divides 0), which is usually not useful. If you need the LCM for fraction work (finding a common denominator) the result here is identical to the Least Common Denominator.

Domande frequenti

For any two positive integers a and b: LCM(a, b) × GCD(a, b) = a × b. This means LCM = a × b / GCD, and GCD = a × b / LCM. They are complementary: the GCD measures the largest common factor; the LCM measures the smallest common multiple.

LCM is used to find a common denominator when adding or subtracting fractions, to synchronise repeating events (e.g. two gears meeting at the same position), and in number theory problems involving divisibility and modular arithmetic.

No. The LCM is always at least as large as the largest of the input numbers, because every number is a multiple of itself. When one number is a multiple of all others (e.g. 6 and 3) the LCM equals the largest number.

Conosciuto anche come

calcolo mcm
minimo comune multiplo
calcolatore mcm
mcm di due numeri
come calcolare il minimo comune multiplo
mcm passo passo
mcm e mcd
calcolare mcm online

APA

TG we-Calculate Editorial Team. (2026). LCM Calculator — Least Common Multiple [Online calculator]. TG we-Calculate. https://we-calculate.com/it/calculator/lcm-calculator

Chicago

TG we-Calculate Editorial Team. "LCM Calculator — Least Common Multiple." TG we-Calculate. 2026. https://we-calculate.com/it/calculator/lcm-calculator.

IEEE

TG we-Calculate Editorial Team, "LCM Calculator — Least Common Multiple," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/it/calculator/lcm-calculator

BibTeX

@misc{wecalculate_lcm_calculator, title = {LCM Calculator — Least Common Multiple}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/it/calculator/lcm-calculator}}, year = {2026}, note = {TG we-Calculate} }

Questo calcolatore ti è stato utile?