GCF and LCM Calculator

Two to 20 whole numbers, separated by commas or spaces.

Greatest common factor (GCF)

6

LCM: 180. The GCF is also called the GCD or the highest common factor.

Least common multiple (LCM)
180
Prime factors of 12
2^2 × 3
Prime factors of 18
2 × 3^2
Prime factors of 30
2 × 3 × 5

For 12, 18, 30, the GCF is 6 and the LCM is 180.

GCF and LCM Calculator by Ivorytool, free tools that run in your browser.