All tools

GCD and LCM Calculator

Find the greatest common divisor and least common multiple of two or more integers.

GCD and LCM Calculator
Calculation result
Waiting for input

Input and result notes

GCD and LCM operate on integer lists, with signs not changing common-factor magnitudes. Including zero makes the LCM zero; decimal values need an explicit scaling convention.