Greatest Common Factor

GCF/GCD of any list of integers — plus LCM.

Calculator Numbers & Math Updated Apr 19, 2026
Numbers
Result

Algorithm

Euclidean
gcd(a, b) = gcd(b, a mod b)
Relation
lcm(a, b) = |a·b| / gcd(a, b)

Last updated: