Browser-onlyLiveMath Calculators

LCM and GCF Calculator

Compute the least common multiple and greatest common factor of a list of positive integers.

Privacy note. Runs in your browser. The list of integers you enter never leaves this page.
Only positive whole numbers count. Decimals, zero, and negative values are skipped. You need at least two valid numbers to compute GCF and LCM.
Parsed numbers12, 18, 24
Skipped entries0
Greatest common factor (GCF)6
Least common multiple (LCM)72

Recommended next steps

Related tools

Frequently asked questions

The greatest common factor (GCF) is the largest positive integer that divides every number in the list. The least common multiple (LCM) is the smallest positive integer that every number in the list divides into. They are complementary: for two numbers a and b, a × b = GCF × LCM.

Last updated 2026-06-03.