Syntax
| Parameter | Description |
|---|---|
| number1 | Parameter of the LCM function. |
| [number2 | (Optional.) Parameter of the LCM function. |
| ...] | Parameter of the LCM function. |
Examples
Scheduling overlap
=LCM(4, 6)
Common denominator
=LCM(3, 5, 7)
Machine sync
=LCM(15, 20, 25)
Common Errors
Negative numbers are not accepted. LCM requires non-negative integers.
Non-numeric arguments return #VALUE!.
Tips
For two numbers: LCM(a,b) × GCD(a,b) = a × b. You can verify your results using this relationship.
When multiple events have different repeat intervals, LCM tells you when they'll all happen simultaneously again.
LCM of several numbers can be enormous. LCM(12,18,25,7) = 1260. Watch for overflow with many large inputs.
Try LCM in Viztab
Import your data and use LCM with 370+ other formulas. No signup required.
Open Viztab