Developer Tools
View All Developer ToolsDate & Time
View All Date & Time ToolsText Tools
View All Text ToolsOnline Converters
View All Online ConvertersLCM Calculator
Calculate the least common multiple of two whole numbers instantly and review the GCD relationship plus divisibility note.
Calculate the least common multiple
Enter two whole numbers to find their least common multiple instantly in your browser.
Find the smallest shared multiple between two whole numbers
Use this LCM calculator when you need the least common multiple for two integers. It is useful for common denominators, repeating schedules, divisibility checks, and quick integer arithmetic without working through multiple tables by hand.
Enter two whole numbers to calculate the least common multiple instantly.
Least common multiple result
Review the LCM first, then compare the GCD relationship, product, and divisibility note.
Enter whole numbers to calculate the LCM.
Review the LCM, GCD relationship, and divisibility note here.
How to use the LCM calculator
- Enter the first whole number you want to compare.
- Enter the second whole number.
- Review the main result to see the least common multiple instantly.
- Use the supporting values to compare the GCD relationship, product, and divisibility note.
- Use Example to load a sample pair or Clear to reset both inputs.
LCM calculator examples
-
what is the LCM of 12 and 18
-
least common multiple of 8 and 12
-
common denominator for 6 and 15
What this LCM calculator covers
This tool calculates the least common multiple, or LCM, for two whole numbers. It also supports users who think of the same result as the lowest common multiple, and it shows the GCD relationship behind the answer so you can see how the smallest shared multiple connects to the common divisor of the same pair.
When an LCM calculator is useful
An LCM calculator is useful when you need a common denominator for fractions, want to align repeating events, compare multiples, or solve divisibility questions. You can use the LCM to add fractions with unlike denominators or find when two repeating cycles align. Instead of listing out multiples manually, you can enter the two numbers and get the smallest shared multiple instantly.
LCM vs GCD
The LCM is the smallest multiple shared by both numbers. The GCD is the largest factor that divides both numbers evenly. If your goal is fraction addition or matching repeated cycles, the LCM is usually the better starting point. If your goal is simplification or reduction, the GCD is usually more useful.
LCM calculator FAQs
What does LCM mean?
LCM means least common multiple. It is the smallest whole number that both input values divide evenly.
Can I use negative numbers?
Yes. The calculator accepts negative integers and normalizes them to absolute values before calculating the LCM.
Can I use 0 in the LCM calculator?
Yes. This calculator returns 0 when one input is 0 and the other is a non-zero whole number. The pair 0 and 0 is treated as invalid here, so enter at least one non-zero value.