Skip to content
CalculatorAtlas

Common Multiple Calculator

Tested

First common multiples of two numbers.

Tested, not yet published. The formula for this calculator is implemented and passes its automated checks. This page stays non-indexable until it is reviewed and published.

Results

Enter your values and press Calculate. Results appear here.

  • • Result

Quick answer

Common multiples of a and b are the multiples of their least common multiple. For 4 and 6 the LCM is 12 and the first five common multiples are 12, 24, 36, 48 and 60.

Enter two positive integers. The calculator returns the first five common multiples and the LCM.

Related tools: Common Factor Calculator: All common factors of two numbers. Slope Calculator: Slope, angle, distance and line equation through two points. LCM Calculator: Least common multiple of two or more numbers.

How to use the Common Multiple Calculator

  1. Enter first number (a whole number, between 1 and 1000000).
  2. Enter second number (a whole number, between 1 and 1000000).
  3. Press Calculate to see the result, and use Reset to start again.
Inputs of the Common Multiple Calculator
InputWhat to enterAllowed values
First numberA whole number≥ 1, ≤ 1000000
Second numberA whole number≥ 1, ≤ 1000000

Formula and method

Formula

common multiples = k × lcm(a, b)

IEEE-754 double precision; shown to at most 6 decimal places.

Every common multiple is a multiple of the LCM.

Worked examples

This example is verified: each one is an automated test case that the live calculator must reproduce exactly.

Example 1

Inputs: First number = 4; Second number = 6.

Results of example 1
ResultValue
First five common multiples12, 24, 36, 48, 60
LCM12

The first line is the headline result (first five common multiples). Below it the common Multiple Calculator lists lCM, which describe the same case from other angles. IEEE-754 double precision; shown to at most 6 decimal places.

Finding the LCM

LCM(a, b) = a × b ÷ gcd(a, b) = 24 ÷ 2 = 12. Every common multiple is k × 12.

Applications

Use common multiples to add fractions with different denominators (denominators 4 and 6 use 12) or to find when two cycles line up: buses every 4 and 6 minutes meet every 12 minutes.

How the result changes with first number

Holding every other input at the first worked example, this table changes only first number. It shows how sensitive the answer is to that one value; each row was produced by running this calculator.

How the result changes with first number
First numberFirst five common multiplesLCM
26, 12, 18, 24, 306
412, 24, 36, 48, 6012
824, 48, 72, 96, 12024
1648, 96, 144, 192, 24048

What happens with invalid input

These messages are produced by the calculator itself, so you know what to fix.

  • Second number: entering "0" shows "Second number must be at least 1." beside that field and no result.

Choosing between the Common Multiple Calculator and similar calculators

Each row shows what a related calculator on this site asks for and what it returns, so you can pick the one that matches your question.

Choosing between the Common Multiple Calculator and similar calculators
CalculatorYou enterIt returns
[Common Factor Calculator](/math/common-factor-calculator/)first number and second numberCommon factors
[Slope Calculator](/math/slope-calculator/)x₁, y₁ and x₂Slope
[LCM Calculator](/math/lcm-calculator/)numbersLeast common multiple
[Factor Calculator](/math/factor-calculator/)numberFactors
[Quadratic Formula Calculator](/math/quadratic-formula-calculator/)a, b and cRoots

Background: algebra

Many algebra calculators rest on the same ideas: write the problem in a standard form, identify the coefficients, apply the formula and check the answer by substituting it back. For a quadratic ax² + bx + c = 0 the roots are (−b ± √(b² − 4ac)) ÷ 2a, and the discriminant b² − 4ac decides the kind of roots: positive gives two real roots, zero gives one repeated root and negative gives two complex conjugate roots.

If a = 0 the equation is linear, not quadratic. A sign slip on the −b term shifts both roots by the same amount, so substitute your roots back to check.

Assumptions and limitations

  • Positive integers

If a required value is empty, not a number, or outside its allowed range, the form marks that field with a message and shows no result instead of a misleading number. The automated checks deliberately try invalid entries for second number to confirm this.

Frequently asked questions

What is the LCM of 3 and 5?

The LCM of 3 and 5 is 15, since they share no factor.

Are there infinitely many common multiples?

Yes. Every multiple of the LCM is a common multiple, so the list never ends.

What is the difference between LCM and GCF?

LCM is the smallest common multiple, GCF the largest common divisor.

What does the Common Multiple Calculator calculate?

First common multiples of two numbers. It returns First five common multiples and LCM.

What formula does the Common Multiple Calculator use?

common multiples = k × lcm(a, b). Every common multiple is a multiple of the LCM.

What do I need to enter in the common Multiple Calculator?

You enter First number and Second number.

How is the result rounded or limited?

IEEE-754 double precision; shown to at most 6 decimal places. Positive integers.

What is an example of a common Multiple result?

With first number 4 and second number 6, the first five common multiples is 12, 24, 36, 48, 60.

Sources

  • OpenStax, Algebra and Trigonometry 2e (Rice University): exponents, radicals, logarithms and inverse trigonometric functions

Content last reviewed 2026-11-04. Formulas and worked examples are checked by automated tests against independently computed values.