Skip to main content
ToolPinch
Math calculators

What Do These Numbers Have in Common?

Find the greatest common factor and least common multiple.

LCM and GCF Calculator

Enter values to see one clear answer.

Method

The GCF is the largest whole number dividing both inputs. For non-zero integers, LCM = |a × b| ÷ GCF.

Example

For 24 and 36, the GCF is 12 and the LCM is 72.

Limits

Check inputs and units. Important academic, financial or professional decisions should be confirmed against an appropriate source.

Common questions

Does the LCM calculator show the solution?

It returns both the least common multiple and greatest common factor for the two entered whole numbers.

What does the lcm and gcf calculator calculate?

Find the greatest common factor and least common multiple.

Does this lcm and gcf calculator show its method?

Yes. The result includes the central formula or working needed to check the answer.

Are my values uploaded?

No. The calculation runs in this browser and does not require an account.