✓ Effortless Math · Free Tool

GCF & LCM Calculator

Enter two or more whole numbers and get their greatest common factor (GCF) and least common multiple (LCM) — with each number's prime factorization and full step-by-step working.

Finds:  GCF (greatest common factor) & LCM (least common multiple)
Numbers

Enter two or more positive whole numbers, separated by commas or spaces.

Results

GCF & LCM

Step-by-step (prime factorization method)