Least Common Multiple Calculator

Calculate the nonnegative least common multiple of 2–100 signed integers without rounding large results.

Enter 2–100 integers separated by commas or whitespace, each with at most 12 digits plus an optional sign. Maximum input length is 1,500 characters. Results use exact integers.

Calculations stay in this browser. Inputs are not uploaded or saved.

Find the least shared multiple

Enter two to 100 integers separated by commas or whitespace, then select Calculate. For nonzero inputs, the least common multiple is the smallest positive integer divisible by every entered magnitude. The algorithm combines values using their greatest common divisor, avoiding a search through a long list of candidate multiples.

Example: 6, 8 and 15

Load the example to enter 6, 8 and 15. The LCM of 6 and 8 is 24; combining 24 with 15 gives 120. Dividing 120 by each original number produces an integer. Repeating one of the inputs does not change the result, although repeated entries remain part of the displayed input count.

Exact results and zero convention

Calculations use exact integers, including answers larger than JavaScript's ordinary safe-number range. The output is displayed as a full digit string rather than a rounded scientific approximation. If the number is long, it wraps inside the result area and Copy results copies the entire value.

Negative input signs are ignored for this calculation. If any input is zero, the tool returns zero by convention. This is not a smallest positive common multiple; it is a useful explicitly defined extension for handling zero in an LCM computation. If you expected a positive result, check the list for an unintended zero.

Enter integers without grouping punctuation

Each value accepts at most 12 digits plus an optional sign, and the full list is limited to 1,500 characters. Commas separate numbers, so enter 1000 rather than 1,000 for one thousand. Decimal values, units and exponent notation are not supported. At least two and at most 100 values are required.

Editing the list clears the previous result. No inputs are sent to a server. Use Greatest Common Divisor Calculator for common factors, or Fraction Calculator to perform exact operations on two fractions.