Favorite places of your favorite city
Home
Add to preferred sources on Google

LCM Calculator

Enter two or more positive whole numbers to find their least common multiple. Open Calculation details for the GCD and the steps.

Your numbers

Enter 2–20 positive whole numbers, up to 12 digits each. Commas, semicolons, spaces and newlines separate entries. Do not use grouping marks inside a number. A comma separates entries, not decimal digits. Example: 1200; 1800, not 1,200; 1,800.

Least common multiple

Enter at least two numbers to see their LCM.

Exact integer arithmetic in your browser.

Calculation details

Adding or subtracting fractions? Use the Fraction Calculator.

How to use the LCM calculator

  1. Enter 2–20 positive whole numbers, separated by spaces, commas, semicolons or newlines. Each entry can have up to 12 digits.
  2. 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.
  3. 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

The least common denominator of fractions with positive integer denominators is the LCM of those denominators. For denominators 8 and 12 it is 24. This calculator finds that number; it does not perform the fraction arithmetic.

Their product is a common multiple, but it is not always the smallest. For 6 and 8 the product is 48 while the LCM is 24. Shared factors must not be counted more often than necessary.

Not in this version. Enter positive whole numbers only. The tool does not choose between extended LCM conventions for zero or convert decimal values into scaled integers.

Yes, enter up to 20 numbers. The calculation combines them one at a time using the previous LCM. Repeating a number or changing the order does not change the final LCM.

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.

Number Base Converter

Convert signed integers between any bases from 2 to 36 with exact complete results and readable steps.

Open tool — Number Base Converter

Scientific Calculator

Evaluate real expressions with powers, roots, logs and degree/radian trigonometry, with explicit precedence and clear numerical limits.

Open tool — Scientific Calculator

Percentage Change Calculator

Compare an original and new value to find the percentage increase or decrease and the numeric change.

Open tool — Percentage Change Calculator

Average Calculator

Find the arithmetic mean of a number list, with a clear decimal-format choice, count and sum.

Open tool — Average Calculator

Percentage 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 Calculator

Weighted Average Calculator

Calculate an average from values and their relative weights. Check total weight and copy an explained result.

Open tool — Weighted Average Calculator

Fraction Calculator

Calculate with fractions and mixed numbers, or simplify one fraction to lowest terms.

Open tool — Fraction Calculator

Median Calculator

Find the median of a number list, with the middle values and a sorted preview.

Open tool — Median Calculator

Circle Area & Circumference Calculator

Find circle area and circumference from a radius or diameter, with metric and imperial unit conversion.

Open tool — Circle Area & Circumference Calculator

Scale Calculator

Convert drawing or model lengths to real dimensions, work backwards, or find the scale from matching lengths.

Open tool — Scale Calculator

Random Number Generator

Generate random integers within inclusive limits, with optional uniqueness and sorting.

Open tool — Random Number Generator

GPA Calculator

Calculate a credit-weighted term GPA or combine compatible quality-point and credit totals.

Open tool — GPA Calculator

Final 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
View all tools in this category