Skip to main content

LCM Calculator

Least common multiple of two or more integers. Rejects results beyond safe integers.

Rated 4.7 out of 5 based on 340 reviews

Results

How to use LCM Calculator

  1. Enter integers. Leave a field blank only when the page says the value is missing, not by typing 0 unless 0 is a real value.
  2. Read the result rows under the form. Errors appear in the status line. Nothing is uploaded.
  3. Rounding follows IEEE floating point in this browser unless the page says it uses integers or BigInt.

LCM Calculator

LCM

ComputesLeast common multiple of two or more integers. Rejects results beyond safe integers.
IncludesLCM
IncludesSafe-integer cap
Enginepercentage
UploadNone
AdviceArithmetic only

What LCM Calculator is

LCM(4, 6) = 12. A 0 in the list makes LCM 0. Huge products that overflow a safe integer are rejected instead of wrapping.

The formula runs in this tab. CZNull does not receive the numbers.

How this page computes

LCM(a, b) = |ab| / GCD(a, b). See GCD.

Entities and related jobs

Least common multiple of two or more integers. Rejects results beyond safe integers. Named features: LCM, Safe-integer cap.

See also GCD Calculator, Fraction Calculator, Prime Factorization, Percentage Calculator, Scientific Calculator, Average Calculator.

Use cases

Common denominators and repeating event schedules.

Limits

Invalid input appears in the status line. IEEE floating point applies unless a row says otherwise. CZNull does not receive the numbers.

LCM Calculator questions

Does this page upload my numbers?
No. The formula runs in the page you opened. CZNull does not receive the values.
What does LCM Calculator compute?
LCM(4, 6) = 12.
Why is this its own URL?
Search queries name this job. Nearby modes stay on their own pages so inputs do not mix. Related calculators are linked below LCM Calculator.
LCM(4, 6)?
12.
A 0 in the list?
LCM is 0 on this page.
Can I treat the result as official?
No. Rounding and real-world rules can differ. Use the page to check the arithmetic.