LCM and GCF Calculator

Calculate the greatest common factor, least common multiple, and prime factors of multiple integers.

How to use the tool

Enter the requested values and choose a mode or operation when needed. Fields start empty so results always reflect your own data.

For 12, 18, and 24: GCF=6 and LCM=72.

Formula and method

Signs are ignored for LCM, GCF, and factors. Zero is handled explicitly.

MCM(a,b)=|ab|/MCD(a,b)

Explore all math & statistics tools

Related tools