Find the least common multiple of two or more whole numbers — the smallest number they all divide into evenly. Enter your numbers and watch the answer, prime factorization, and step-by-step working update live.
Updates live as you type
The least common multiple of a set of whole numbers is the smallest positive number every one of them divides into without a remainder. It is the meeting point of their times tables — the first multiple they all share. There are two ways to look at it, and they always agree.
The GCF method is the fastest for two numbers and scales cleanly to a whole list.
Use the greatest common factor of a and b — the largest number that divides both. The Euclidean algorithm or a quick factor list both work.
Multiply the two numbers, then divide by their GCF. That single division gives the LCM of the pair.
For three or more, take the LCM you just found and combine it with the next number the same way. With a third number of 8, fold it into the 12 from step 2. Repeat until the list runs out.
Every textbook teaches the LCM three ways. Here is the same problem — LCM(12, 18) — solved by each. Switch tabs to see them line up.
Same answer, three routes. 2 × 2 × 3 × 3 = 36.
A small idea that quietly powers fraction arithmetic, schedules, and anything that repeats on a cycle.
Pick a first number and read its LCM with every common partner at a glance — the fast answer to “LCM of 4 and 6”, “LCM of 6 and 8”, and the rest.
When two numbers share no common factor (coprime), their LCM is simply their product.
A handful of facts make LCM problems quicker and let you sanity-check any answer.
Most wrong LCM answers come from a few predictable slips. Catch them before they cost you.
They are computed from the same prime factors but pull in opposite directions. Using 12 and 18 as the example:

PEMDAS is the order you do math operations: Parentheses, Exponents, Multiplication and Division, then Addition and Subtraction. This guide explains the rule, the left-to-right tie-breaker, the famous traps, and PEMDAS vs BODMAS.

The laws of exponents let you multiply, divide, and nest powers without ever expanding them. Add the exponents to multiply, subtract to divide, multiply to raise a power to a power. This guide states each rule in one line and proves it with a worked example.

π is the ratio of any circle's circumference to its diameter, a constant that equals about 3.14159. This guide explains what the symbol means, lists its digits and approximations, and shows how to type π on Windows, Mac, HTML, and LaTeX.