Using the Least Common Multiple Calculator
This page finds the least common multiple of a short list of whole numbers. That multiple is the smallest positive integer that every number in the list divides evenly. Four and six give 12, because 12 is the first positive integer that both 4 and 6 divide. Three, five, and seven give 105. The page folds the list two numbers at a time, using the greatest common divisor of each pair so the product does not have to be built from the raw values first.
Enter 2 to 12 whole numbers, separated by commas or spaces. A decimal is rejected. Zero is rejected, because no positive multiple is a multiple of zero in the sense this page uses. A leading minus sign is dropped, and the text of the result says that the sign was ignored. Each number may have at most 9 digits. If the running multiple grows past 12 digits, the page stops instead of printing a partial product.
The headline is the multiple itself, with no unit attached to it. The lines under it repeat the numbers after signs and leading zeros have been cleaned, and they count how many values were used. Copy keeps the sentence that names the list and the multiple. The page does not factor the numbers on screen, and it does not list every common multiple. One answer is the least one.
What the Multiple Is
A common multiple of a list is a positive integer that each entry divides with no remainder. The least common multiple is the smallest such integer. For 4 and 6, the positive multiples of 4 begin 4, 8, 12, 16. The positive multiples of 6 begin 6, 12, 18. The first number in both lists is 12, so the least common multiple is 12. Twenty-four is also a common multiple, and the page does not report it, because it is not the least.
For more than two numbers, the same idea applies to the whole list at once. Three, five, and seven are pairwise coprime, so their least common multiple is their product, 105. You can check that 105 divided by 3 is 35, by 5 is 21, and by 7 is 15. One hundred four is smaller and is not a multiple of 3. The page returns 105 and nothing else.
The count line tells you how many values survived parsing. "4, 6" is two values. "3 5 7" is three values. Extra spaces and a mix of commas and spaces are treated as separators. An empty slot, such as a trailing comma, is not counted as a number. A single number is not enough, because a multiple of one number alone is just that number, and the page is built for a list.
How a Pair Becomes the List Result
The page uses the relation between the least common multiple and the greatest common divisor. For two positive integers, their product equals their greatest common divisor times their least common multiple. Rearranged, the least common multiple is the first number divided by the greatest common divisor, times the second number. Dividing first keeps the intermediate value smaller than the raw product.
The greatest common divisor is the Euclidean algorithm. Replace the larger number by the remainder of the division, and repeat until the remainder is zero. The last non-zero remainder is the divisor. For 4 and 6, 6 divided by 4 leaves 2, and 4 divided by 2 leaves 0, so the divisor is 2. Four divided by 2 is 2, and 2 times 6 is 12.
A third number is folded in the same way. The running multiple takes the place of the first value, and the next entry is the second. For 3, 5, and 7, the first pair gives 15, and 15 with 7 gives 105. Order does not change the final multiple. The same fold works if you type the numbers in another order.
A list of measurements is a different job. The Mean Median Mode Calculator averages a list and finds a middle value and a most common value. It does not ask which integer every entry divides. Use that page for a center. Use this page when the question is a shared multiple.
What the Parser Accepts
Each token must be an optional minus sign followed by digits. "4", "06", and "-4" are whole numbers. "4.0" is not, and "4a" is not. Leading zeros are stripped after the sign is read, so 06 becomes 6. A token that is only zeros, including 0 and 00 and -0, is rejected as zero. The message is "Zero is not allowed."
A minus sign on any token sets a note in the result sentence: "Negative signs were ignored." The multiple is still positive. Least common multiple is defined here on positive integers, and the sign is not a factor. If you meant a decimal and typed a minus by habit, the page will not guess. It will treat the digits as a positive integer and say so.
At most 12 numbers are accepted, and at least 2. Thirteen numbers are rejected before any product is formed. A number with 10 or more digits is rejected even if the eventual multiple would have been small. The 9-digit cap is a guard on the input, separate from the 12-digit cap on the result. Both exist so the page does not print a truncated integer.
Worked Lists
Type 4, 6 and calculate. The headline is 12. The numbers line is "4, 6" and the count is 2. There is no note about signs. Type -4, 6. The headline is still 12, and the sentence says negative signs were ignored. The numbers line shows 4, 6, because the sign was removed before the fold.
Type 3 5 7 with spaces. The headline is 105. The count is 3. Type 3, 5, 7 with commas and the same headline returns. Type 8, 12. The greatest common divisor is 4, 8 divided by 4 is 2, and 2 times 12 is 24. The headline is 24. Twenty-four divided by 8 is 3, and 24 divided by 12 is 2. Twelve is smaller, and 12 divided by 8 is not a whole number, so 12 is not a common multiple.
A hand product of two large coprime numbers is ordinary arithmetic. The 4 Function Calculator multiplies and divides the values you type, one operation at a time. It does not walk a remainder sequence. Use it when you already know you want a product. Use this page when you want the least shared multiple and would rather not test candidates.
What This Multiple Is Not
The page does not find a greatest common divisor as its headline. That divisor is an intermediate value. If you need the divisor itself, this is the wrong readout. The page also does not print the prime factorization. Two numbers can share a multiple without the page showing which primes they share.
Fractions are out of scope. The least common multiple of a half and a third is a different school topic, and this page will not accept 1/2. Mixed numbers and decimals are rejected with the whole-number message. Convert to integers yourself before you paste, and remember that scaling both numbers by ten is not the same problem.
The page does not solve congruences. A schedule that repeats every 4 days and every 6 days does meet every 12 days if both cycles start together. If one cycle is already offset, the shared multiple is not the day of the next meeting. The headline will not apply an offset you did not type.
Common Mistakes
The usual miss is to multiply the numbers and stop. Four times six is 24, and 24 is a common multiple, but it is not the least. The page divides by the greatest common divisor first, which is why 4 and 6 become 12 rather than 24. If your hand product is larger than the headline, check for a shared factor before you call the page wrong.
Comparing two results by percent is a separate question. The Percentage Difference Calculator compares two quantities as a percent. It does not fold a list into a shared multiple. A 12 and a 24 can be compared there. They should not be pasted here if what you wanted was the percent gap.
Where a Shared Multiple Is Useful
Gear teeth, tile repeats, and class schedules are the ordinary uses. If one gear has 8 teeth in the count you care about and another has 12, the pair returns to the start after 24 steps of the combined cycle this page would report for 8 and 12. That is a model of the counts you typed, not a measurement of a real gearbox.
Checking a Result by Hand
Divide the headline by each input after the sign has been removed. Every division should land on a whole number. Then try the headline minus the smallest input, or any obvious smaller candidate, and confirm that at least one input does not divide it. For 4 and 6, 12 divided by 4 is 3 and 12 divided by 6 is 2. Eight is smaller and 6 does not divide 8. That pair of checks is enough for a short list.
A value between two known points is a different check. The Interpolation Calculator estimates a middle value from two endpoints. It does not test divisibility. Use it for a straight-line estimate. Use the division check above for this headline.
Checking the Calculator
Enter 4, 6 and confirm 12. Enter 3, 5, 7 and confirm 105. Enter -4, 6 and confirm 12 with the sentence about ignored signs. Enter 0 and confirm the page rejects the list. Enter 4.5, 6 and confirm the whole-number message. Enter a single 4 and confirm the page asks for 2 to 12 numbers.
Association between two lists is not a multiple. The Correlation Coefficient Calculator returns a correlation for paired values. It does not ask what integer those values divide. Use it for paired data. Use this page for a shared multiple of whole numbers.