Your data is never sent to a server or stored anywhere. All processing happens in your browser.

GCD & LCM Calculator

Results
GCD
LCM

How to Use


Enter two numbers to calculate their GCD and LCM. You can also enter multiple comma-separated numbers in the first field to find the GCD/LCM of all of them.

GCD and LCM


The Greatest Common Divisor (GCD) is the largest number that divides all given numbers without a remainder. The Least Common Multiple (LCM) is the smallest number that is a multiple of all given numbers. GCD is calculated using the Euclidean algorithm. LCM = |a x b| / GCD(a, b).

Privacy


All processing happens in your browser. No data is sent to any server.