Math

GCD / LCM

Calculate GCD and LCM for multiple numbers with prime factorization steps.

Enter numbers separated by commas or spaces
These numbers are coprime (GCD = 1) — they share no common factors.