Compute the greatest common factor and least common multiple for a list of numbers.
Comma-separated or one per line.
Greatest Common Factor (GCF)
6
Greatest Common Factor (GCF) — Calculated outcome. Derived from your inputs via the displayed formula; use to plan.
Least Common Multiple (LCM)
72
Least Common Multiple (LCM) — Calculated outcome. Derived from your inputs via the displayed formula; use to plan.
What this means
The calculator reduces the list using Euclid’s algorithm for the GCF and builds the LCM from pairwise products divided by the running gcd.
The GCF is the largest factor shared by every number; the LCM is the smallest multiple they all share. Both are handy for simplifying fractions and solving scheduling problems.
Formula
GCF via Euclid’s algorithm: gcd(a,b) = gcd(b, a mod b) | LCM = a × b ÷ gcd(a,b)
Worked examples
FAQ
How do I use the LCM in everyday math?
Find a common denominator when adding fractions or predict when repeating events coincide.
What do the numbers need to be?
Positive whole numbers. Decimals and zero are not supported.