Factors, GCF & LCM Calculator
Find common factors, least common multiples and prime factorizations.
The interactive calculator loads above this explanation when JavaScript is available.
How to use the factors, gcf & lcm calculator
Find common factors, least common multiples and prime factorizations. Enter the known values, choose units where offered, and read the live result and breakdown.
Worked example
This example uses the following inputs. Currency amounts are illustrated in USD.
- Positive whole numbers
- 24, 36
Greatest common factor: 12
Method
GCF uses Euclid’s algorithm; LCM(a,b) = a × b / GCF(a,b). Prime factors use integer trial division.
What to watch for
Uses your inputs; results are estimates under the stated model.
Assumptions and references
Uses your inputs; results are estimates under the stated model.
Formula implementation: v0.8.0. Examples are checked against the calculation engine; specialist professional review is not claimed. How we check calculations.