Skip to content
MyDailyTool

LCM Calculator

Find the least common multiple of any set of integers. Shows prime factorization and step-by-step working — useful for adding fractions, scheduling problems, and number theory.

LCM
24

How to use the lcm calculator

Enter two or more positive integers separated by commas, spaces, or new lines.

Formula & explanation

LCM(a, b) = |a × b| ÷ GCD(a, b). Extended pairwise across the input list.

Examples

LCM(4, 6) = 12. LCM(4, 6, 8) = 24. LCM(3, 5) = 15.

Frequently asked questions

Why no zero?
LCM is undefined when any input is zero — anything times zero is zero.

Related math tools