Calculators.Life Calculator
Math

Common Multiple Calculator

Input Parameters

Scenarios
Enter the first positive integer
Enter the second positive integer
Optional third positive integer (leave 0 to ignore)
How many common multiples to list in sequence

Computed Results

Least Common Multiple (LCM)
36
First N Common Multiples36, 72, 108, 144, 180
Greatest Common Divisor (GCD / GCF)6

A common multiple calculator determines the lowest shared multiple and the greatest common divisor for two or three integers. It helps you quickly identify the least common multiple (LCM) and generates a sequential list of subsequent common multiples based on your specified count.

How to Use the Common Multiple Calculator

Follow these steps to find the shared multiples and divisors for your chosen integers:

  1. Enter the primary numbers: Input your first and second positive integers into the respective fields.
  2. Add a third number (optional): If you are comparing three values, enter the third integer. To evaluate only two numbers, leave this field as 0.
  3. Set the output count: Specify how many common multiples you want to list in sequence (between 1 and 20).
  4. Review the results: The calculator will display the Least Common Multiple (LCM), the requested sequence of common multiples, and the Greatest Common Divisor (GCD).

Formula and Calculation Method

The calculator determines the Least Common Multiple (LCM) by first finding the Greatest Common Divisor (GCD) using the Euclidean algorithm. The Euclidean algorithm repeatedly divides the larger number by the smaller number until the remainder is zero. The last non-zero remainder is the GCD.

Once the GCD is known, the LCM for two numbers is calculated using the following relationship:

LCM(a, b) = (a × b) ÷ GCD(a, b)

If a third number is included, the calculator applies the same logic sequentially. It first finds the LCM of the first two numbers, and then finds the LCM of that result and the third number.

To generate the list of the first N common multiples, the calculator simply multiplies the final LCM by 1, 2, 3, and so on, up to your specified count.

Inputs and Outputs Reference

FieldTypeDescription
First Number (#1)InputThe first positive integer to evaluate.
Second Number (#2)InputThe second positive integer to evaluate.
Third Number (#3)InputAn optional third positive integer. Leave as 0 to calculate for only two numbers.
Number of Multiples to ListInputThe quantity of sequential common multiples to generate (maximum 20).
Least Common Multiple (LCM)OutputThe smallest positive integer that is divisible by all entered numbers.
First N Common MultiplesOutputA comma-separated list of the lowest common multiples in ascending order.
Greatest Common Divisor (GCD / GCF)OutputThe largest positive integer that divides evenly into all entered numbers.

Verified Calculation Scenarios

Small Prime Numbers

If you want to find 3 common multiples for the prime numbers 2 and 3 (leaving the third number as 0), the calculator determines that the LCM is 6. The first three common multiples are 6, 12, and 18. Because 2 and 3 are prime, their GCD is 1.

Three-Number Calculation

Consider evaluating three mid-range values: 15, 20, and 25, and requesting 10 multiples. The calculator identifies the LCM as 300. The sequence of the first ten multiples is 300, 600, 900, 1200, 1500, 1800, 2100, 2400, 2700, and 3000. The GCD for these three numbers is 5.

Large Integers

For larger values like 5000, 7500, and 12000, requesting the maximum 20 multiples yields an LCM of 60000. The list begins at 60000 and increments by 60000 for each subsequent multiple, ending at 1200000. The GCD for this set is 500.

Practical Use Cases

Finding common multiples is a foundational mathematical process used in various practical applications:

Frequently Asked Questions

What is the difference between a common multiple and the least common multiple (LCM)?

A common multiple is any number that can be divided evenly by all the integers in your set. The least common multiple (LCM) is simply the smallest positive number in that infinite list of common multiples.

How does the calculator generate the list of common multiples?

Every common multiple of a set of numbers is also a multiple of their LCM. The calculator finds the LCM first, then multiplies it by 1, 2, 3, and so on to generate the requested sequence.

What happens if I enter the exact same number in all input fields?

If you enter identical numbers (for example, 100, 100, and 100), the Least Common Multiple and the Greatest Common Divisor will both be that exact number (100). The list of multiples will simply be 100, 200, 300, etc.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.