Least Common Multiple Calculator
Least Common Multiple Calculator
Derive GCD

GCD From LCM Calculator

Find GCD from two numbers and their known LCM using GCD = (a × b) / LCM.

GCD From LCM Calculator Inputs

First known number

Second known number

Known least common multiple

Calculation Result Verified Result
Answer
--
Calculation Output

Step-by-Step Explanation

Calculating initial values...

How GCD From LCM Calculator Works?

The GCD from LCM Calculator works by rearranging the product identity, dividing a × b by the known least common multiple.

1. Reads two integers and their LCM

Three values enter: a, b and the stated LCM.

2. Forms the product

The product a × b is computed exactly in BigInt.

3. Divides by the LCM

The quotient is the greatest common divisor.

4. Flags impossible input

An LCM that fails to divide a × b exactly cannot belong to that pair, and the calculator reports the inconsistency.

GCD From LCM Calculator Formula

The GCD from LCM Calculator uses GCD(a, b) = (a × b) ÷ LCM(a, b).

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

Formula Terms

a, b
The two integers of the pair.
LCM(a, b)
Known least common multiple supplied as input.
Exact division
A remainder above 0 proves the supplied LCM is wrong for that pair.

Worked Example

  1. 1Input: a = 24, b = 36, LCM = 72.
  2. 224 × 36 = 864.
  3. 3864 ÷ 72 = 12.
  4. 4GCD(24, 36) = 12.
  5. 5Check: 24 ÷ 12 = 2 and 36 ÷ 12 = 3, both exact.

GCD From LCM Calculator Conversion Table

The table below converts 7 pair-and-LCM inputs into the derived GCD.

PairGiven LCMProductDerived GCD
4, 612242
8, 1224964
10, 15301505
24, 367286412
18, 30905406
21, 351057357
9, 1199991

A derived GCD of 1, as in the pair 9 and 11, confirms the two inputs are coprime.

What is GCD From LCM Calculator?

The GCD from LCM Calculator is an inverse solver that returns the greatest common divisor when the pair and its least common multiple are already known.

Exam questions often supply the LCM and ask for the GCD, a task needing one division rather than a full factorisation. For 24 and 36 with LCM 72, the single step 864 ÷ 72 returns 12.

The division doubles as a consistency test. A stated LCM of 70 for the pair 24 and 36 fails, because 864 ÷ 70 leaves a remainder.

What are the uses of GCD From LCM Calculator?

The GCD from LCM Calculator has 4 main uses.

  • Answering reverse exam questions

    Problems give the pair and the LCM, then request the GCD.

  • Validating published answers

    A non-exact division exposes a printed LCM error.

  • Reducing fractions from known data

    The derived GCD 12 reduces 24/36 to 2/3.

  • Confirming coprimality

    A result of 1 proves no shared factor above 1 exists.

Related LCM Calculators

View All →