Excel
LCM function in Excel
Returns the least common multiple
=LCM(number1, [number2], ...)LCM syntax and parameters
Two arguments, one required.
- number1numberRequired
- number2numberRepeating
LCM examples
Formulas you'll actually reuse.
When two cycles line up again — every 12 and 18 days meet on day 36:
=LCM(B2, C2)Result
36A batch size that packs evenly into 4s, 6s, and 10s:
=LCM(4, 6, 10)Result
60
LCM in Google Sheets
Same name — your formula ports as-is.
Try LCM in the playground
Edit the example — nothing to install.
Preloaded with the LCM formula from Example 1 — change anything and watch it respond.
Loading the editor…
Related functions
More ways Excel gets this done.
- ABSReturns the absolute value of a numberMathGoogle Sheets
- ACOSReturns the arccosine of a numberMathGoogle Sheets
- ACOSHReturns the inverse hyperbolic cosine of a numberMathGoogle Sheets
- ACOTReturns the arccotangent of a numberMathGoogle Sheets
- ACOTHReturns the hyperbolic arccotangent of a numberMathGoogle Sheets
- AGGREGATEReturns an aggregate in a list or databaseMathNo Google Sheets equivalent