GlobaleGratuito

Calcolatore di MCD e mcm

Trova il massimo comune divisore e il minimo comune multiplo di due o più numeri interi, di qualsiasi grandezza.

I tuoi dati restano in questa scheda. Non riceviamo i tuoi file, i testi incollati né i valori dei calcoli.

Dati

Suggerimento: premi Ctrl + Enter per eseguire

Il tuo risultato

Il risultato apparirà qui.

Per ora la guida dettagliata qui sotto è disponibile solo in inglese.

Informazioni su questo strumento

The greatest common divisor (GCD) is the largest number that divides all your numbers; the least common multiple (LCM) is the smallest number they all divide. You need the GCD to simplify fractions and ratios, and the LCM to add fractions with different denominators or to find when repeating schedules line up. This calculator handles any count of whole numbers of any size.

Come si usa

  1. Enter two or more whole numbers separated by commas or spaces.
  2. Run the calculation.
  3. Read the GCD, the LCM and whether the numbers are coprime (GCD of 1).
  4. Use the listed breakdown to see how each number relates to the GCD.

Come funziona il calcolo

GCD by Euclid’s algorithm, gcd(a, b) = gcd(b, a mod b), applied across the list. LCM by lcm(a, b) = |a × b| ÷ gcd(a, b), applied pairwise. Big integers keep results exact.

Euclid: gcd(a, b) = gcd(b, a mod b); lcm(a, b) = |a × b| ÷ gcd(a, b)

Esempio pratico

Three bus routes leave a station every 12, 18 and 30 minutes. Their LCM is 180, so all three leave together every 180 minutes (3 hours). Their GCD is 6, and the breakdown shows 12 = 6 × 2, 18 = 6 × 3 and 30 = 6 × 5.

Esempio di input e risultato

Numeri interi separati da virgole o spazi: 84, 126, 210

→ Massimo comune divisore (MCD): 42
→ Minimo comune multiplo (mcm): 1260
→ Coprimi: No

Limiti

  • Whole numbers only.
  • At least two numbers.
  • Very long lists may be slower.

Ultimo aggiornamento:

Domande frequenti

What does coprime mean?

Numbers whose GCD is 1 share no factor other than 1, such as 8 and 15.

How do I use the LCM to add fractions?

Use it as the common denominator: for 1/12 + 1/18, the LCM 36 gives 3/36 + 2/36.

Can I enter negative numbers?

Use positive whole numbers; signs do not change the GCD.

Risoluzione dei problemi

It reports invalid input.

Remove decimals and thousands separators.

The LCM is enormous.

With many unrelated large numbers, the LCM grows quickly; this is expected.

I need prime factors.

Use the prime factorization calculator.

Privacy & Gratuito

I miei dati vengono salvati?

I tuoi dati restano in questa scheda. Non riceviamo i tuoi file, i testi incollati né i valori dei calcoli.

Questo strumento è gratuito?

Sì. Non servono registrazione né pagamento.

Elaborato nel tuo browser

Passi successivi utili