LCM Calculator
Find the least common multiple of two numbers quickly. Perfect for fractions, word problems and exam prep.
Least common multiple
36
LCM of 12 and 18
Relation
12 × 18 = 216
LCM divides the product
Last updated: February 2026
How this calculator is verified
Checked by True Calculator automated test suite on
- Formula verified against a published worked example in the automated test suite
- Edge cases (zero, negative, boundary and unit-mismatch inputs) covered by unit tests
The full verification method is on our how we verify page. Found an error? Tell us and we will re-check it.
When to Use This Calculator
The least common multiple is a staple of Indian school mathematics and practical scheduling. Students use the LCM to add and subtract fractions with different denominators, solve word problems about repeating events and prepare for board and competitive exams. Teachers use it to explain why 1/4 and 1/6 become twelfths, the LCM of 4 and 6. In everyday life, the LCM solves timing problems: when two buses on different schedules will arrive together, when machines that need servicing every 12 and 18 days coincide, or when streetlights with different cycles blink in sync. Manufacturers use LCM concepts to plan packaging lots that match production batches, and engineers apply it when combining gear ratios. The calculator delivers the exact LCM instantly using the formula LCM times GCF equals the product of the two numbers, so students can check their manual working.
How to Use This Calculator
- Step 1: Enter the first number, such as 12.
- Step 2: Enter the second number, such as 18.
- Step 3: Read the least common multiple, which is the smallest number divisible by both.
- Step 4: Use the LCM to add fractions or solve scheduling problems that repeat on fixed cycles.
Worked Example
Two traffic signals on a road in Surat turn green every 12 minutes and 18 minutes respectively. A driver wants to know how often they are green together, so she enters 12 and 18 into the calculator. The LCM comes out as 36, meaning both signals are green together every 36 minutes. A student uses the tool to add the fractions 1/4 and 1/6, finds the LCM of 4 and 6 as 12, and converts both fractions to twelfths: 3/12 plus 2/12 equals 5/12. Her teacher checks a pair of coprime numbers, 7 and 13, whose LCM is simply their product, 91.
Tips and Common Mistakes
- •Tip 1: To add fractions, convert each to the common denominator equal to the LCM of the denominators.
- •Tip 2: The LCM of two numbers is never smaller than the larger of the two numbers.
- •Tip 3: For coprime numbers like 7 and 13, the LCM is just their product, which is a useful mental shortcut.
- ✗Mistake 1: Confusing LCM with GCF: the LCM is the smallest shared multiple, while the GCF is the largest shared factor.
- ✗Mistake 2: Multiplying the two numbers directly without dividing by their GCF, which gives too large a value whenever the numbers share factors.
Frequently Asked Questions
What is the LCM?
The least common multiple is the smallest number that is a multiple of both inputs. For 12 and 18, the LCM is 36 because it is the smallest number divisible by both.
How is the LCM calculated?
Using the formula LCM(a, b) = |a × b| ÷ GCF(a, b). The greatest common factor is found first, then the product of the numbers is divided by it.
Where is the LCM used in everyday maths?
It is essential for adding and comparing fractions with different denominators, solving time-based problems like buses on schedules, and exam preparation for competitive tests.
What is the LCM of coprime numbers?
For numbers with no common factor besides 1, such as 7 and 13, the LCM is simply their product: 91.
Why does my result show as an exact number?
The calculator uses exact integer arithmetic, so results like 36 or 91 are precise. Only results larger than about 9 quadrillion are flagged as out of safe range.
Compare these tools
- Percentage Calculator — Calculate percentages, percentage difference and percentage change instantly
- Rounding Calculator — Round any number to the nearest value, or up and down, to any decimal places
- Standard Form Calculator — Convert numbers to and from standard form (scientific notation) with one click
You might also need
Related calculators from other categories
Date
Age Difference Calculator
Find the age difference between two dates in years, months and days, plus total days, weeks and months. See who is older at a glance.
Statistics
Correlation Coefficient Calculator
Compute the Pearson correlation coefficient between two data series. See r, r² and the direction and strength of the relationship.
Statistics
Covariance Calculator
Calculate sample or population covariance between two paired series, with the correlation coefficient. See how two variables move together.
Date
Date Difference Calculator
Count the exact days, weeks, months, years and business days between two dates, with hours and minutes too. Perfect for deadlines, leave and projects.