GCF and LCM Calculator

Find the greatest common factor and the least common multiple of two numbers.

CalcSolved
CODE MODE

Formula: GCF comes from the Euclidean algorithm. LCM = (first x second) / GCF. Example: For 12 and 18, the GCF is 6 and the LCM is 36.