The GCF is 6 and the LCM is 180.
Math calculator
LCM and GCF Calculator
Enter up to 12 integers separated by commas to see both shared-factor results and prime factorizations.
Calculated privately on your device
No account. Formula and assumptions are shown below.
Calculator inputs
LCM and GCF details
Formula & disclaimer
GCF is found by repeated Euclidean division; LCM(a,b) = |a Γ b| Γ· GCF(a,b)
View assumptionsFormula reviewCalcs at Hand Editorial TeamVerified 31 August 2026 Β· automated checks included
Saved on this device
Resultβ
Projection
Move across the chart, drag the slider, or use the arrow keys.
Formula & details
Calculation
View period breakdown
More actions
Compare scenarios
How to read this result
Three useful checks, kept deliberately short.
12, 18 and 30: Find shared prime factors Β· Keep the lowest shared powers for GCF Β· Keep the highest powers for LCM.
LCM is the smallest positive integer divisible by every entered value.
Formula and assumptions
GCF is found by repeated Euclidean division; LCM(a,b) = |a Γ b| Γ· GCF(a,b)GCF is the largest positive integer that divides every entered value.
Keep in mind: Input is limited to 12 positive integers no greater than 1,000,000,000 each.
Produced byCalcs at Hand Editorial Team
Last formula check31 August 2026
Review methodKnown examples + boundary cases
Editorial and correction policy β
