c+CalcLantern

GCF & LCM

Find the greatest common factor and least common multiple.

How this works

Euclid’s algorithm finds the GCF; LCM = a × b ÷ GCF.

Example

Using the example inputs, greatest common factor is 12.

First integer
24
Second integer
36
Greatest common factor
12

Scope and assumptions

Positive whole-number inputs only within the displayed range. Lists positive integer divisors and the greatest common divisor / least common multiple; it is not a symbolic factorization tool.

OpenStax mathematics

Related calculators

Fraction arithmetic

Number-base converter

Scientific notation

Significant-figure rounding

Scientific calculator

BUILT FOR CLARITY

Useful tools. Honest answers.

An original collection of calculators for everyday estimates and learning.

Calculations run in your browser. This site does not send your inputs to a server or serve advertising. Optional analytics runs only after you allow it. Results are estimates within each tool’s stated scope, not professional advice.

Financial, health and building-related tools have specific limitations. Check important decisions with a qualified professional. No live currency rates, tax tables or current price feeds are connected.