wiseowlcalc
Country: Choose countryCountry

GCF and LCM calculator

For 48 and 180 the greatest common factor is 12 and the least common multiple is 720. Enter two or more whole numbers.

Two or more positive whole numbers.

Greatest common factor (GCF)

12

The GCF of 48, 180 is 12 and the LCM is 720.

GCF (also GCD, HCF)
12
LCM
720

Euclid's algorithm

Stepaba ÷ bRemainder
118048336
24836112
3361230

Divide a by b, keep the remainder, and repeat with b and the remainder until it is 0. The last non-zero remainder is the GCF.

Greatest common factor (GCF)12

How do you find the GCF and LCM?

GCF(a, b) by Euclid: GCF(a, b) = GCF(b, a mod b)  ·  LCM(a, b) = a × b ÷ GCF(a, b)

Worked example

Stepaba ÷ bRemainder
118048336
24836112
3361230

The last non-zero remainder is the GCF: 12. LCM = 48 × 180 ÷ 12 = 720.

What are GCF and LCM used for?

Questions people ask

What is the GCF of 48 and 180?

12. It is the largest number that divides both 48 and 180 exactly.

What is the LCM of 48 and 180?

720: the smallest number that both 48 and 180 divide into exactly.

Are GCF, GCD and HCF the same?

Yes. Greatest common factor, greatest common divisor and highest common factor all name the same value.

How do you find the LCM from the GCF?

LCM = (a × b) ÷ GCF. For 48 and 180: 8640 ÷ 12 = 720.

Can I use more than two numbers?

Yes. Enter three or more, for example 12, 18, 30: GCF 6, LCM 180.

Sources

Published by wiseowlcalc · Last updated · Checked by wiseowlcalc against the sources above; not yet reviewed by a named professional (editorial policy).

Calculators give estimates for planning only. They are not financial, tax, legal or medical advice. Check important decisions with a qualified professional.