LCM Calculator
Enter two or more positive whole numbers to find their least common multiple. Open Calculation details for the GCD and the steps.
How to use the LCM calculator
- Enter 2–20 positive whole numbers, separated by spaces, commas, semicolons or newlines. Each entry can have up to 12 digits.
- Do not put grouping separators inside a number. For example, type 1200; 1800, not 1,200; 1,800. A comma separates entries; it is not a decimal mark.
- Read the exact LCM. Open Calculation details for the overall GCD and the pairwise steps, or copy the result with its input list.
What the least common multiple means
The LCM is the smallest positive whole number divisible by every entered number with no remainder. Lowest common multiple and least common multiple mean the same thing.
For two positive integers, LCM(a, b) = (a ÷ GCD(a, b)) × b. For more numbers, combine the first two, then combine their LCM with the next number until every entry is included.
The GCD, also called the greatest common factor, is the largest positive integer that divides every entry. It is not the LCM. For 12 and 18, the GCD is 6 and the LCM is 36.
Worked examples
For 12 and 18, the GCD is 6. Their LCM is (12 ÷ 6) × 18 = 36. It is smaller than the product 216 because the numbers share factors.
For 12, 18 and 30, first find LCM(12, 18) = 36, then LCM(36, 30) = 180. The overall GCD of the three original numbers is 6.
For fraction denominators 8 and 12, the least common denominator is their LCM, 24. That does not add the fractions or change their numerators; use the separate Fraction Calculator for fraction arithmetic.
Positive integer input and exact output
This version accepts 2–20 positive integers with at most 12 entered digits each, including leading zeros. Zero, negative numbers, decimal values, fractions and expressions are not supported.
Results remain exact, including integers too large for ordinary floating-point arithmetic. Long answers wrap without removing digits. The page does not generate prime factorizations, schedules or lists of multiples.
Your entries
The calculation runs in your browser. This tool adds no input upload, saved record or input-bearing URL. Existing website consent, analytics and network services remain separate.
LCM questions
Sources
The mathematical definitions and the GCD-based method follow this university reference.
Checked: 24 October 2026.
This reference supports the mathematics; the input limits are choices made for this tool. It does not endorse the calculator.
Related tools
Number Base Converter
Convert signed integers between any bases from 2 to 36 with exact complete results and readable steps.
Open tool — Number Base ConverterScientific Calculator
Evaluate real expressions with powers, roots, logs and degree/radian trigonometry, with explicit precedence and clear numerical limits.
Open tool — Scientific CalculatorPercentage Change Calculator
Compare an original and new value to find the percentage increase or decrease and the numeric change.
Open tool — Percentage Change CalculatorAverage Calculator
Find the arithmetic mean of a number list, with a clear decimal-format choice, count and sum.
Open tool — Average CalculatorPercentage Calculator
Find a percentage of a number, one number as a percentage of another, or the whole from a known amount and percentage.
Open tool — Percentage CalculatorWeighted Average Calculator
Calculate an average from values and their relative weights. Check total weight and copy an explained result.
Open tool — Weighted Average CalculatorFraction Calculator
Calculate with fractions and mixed numbers, or simplify one fraction to lowest terms.
Open tool — Fraction CalculatorMedian Calculator
Find the median of a number list, with the middle values and a sorted preview.
Open tool — Median CalculatorCircle Area & Circumference Calculator
Find circle area and circumference from a radius or diameter, with metric and imperial unit conversion.
Open tool — Circle Area & Circumference CalculatorScale Calculator
Convert drawing or model lengths to real dimensions, work backwards, or find the scale from matching lengths.
Open tool — Scale CalculatorRandom Number Generator
Generate random integers within inclusive limits, with optional uniqueness and sorting.
Open tool — Random Number GeneratorGPA Calculator
Calculate a credit-weighted term GPA or combine compatible quality-point and credit totals.
Open tool — GPA CalculatorFinal Grade Calculator
Find the exam score needed for your target course grade using your current grade and final weight, with upward rounding and clear limits.
Open tool — Final Grade Calculator