Least Common Multiple Calculator
Least Common Multiple Calculator
Venn Diagram

LCM Venn Diagram Calculator

Visualize shared and distinct prime factors in an interactive Venn diagram format.

LCM Venn Diagram Calculator Inputs

First integer

Second integer

Calculation Result Verified Result
Answer
--
Calculation Output

Step-by-Step Explanation

Calculating initial values...

How LCM Venn Diagram Calculator Works?

The LCM Venn Diagram Calculator works by sorting prime factors into three regions: factors unique to a, factors unique to b, and factors shared by both.

1. Factors both numbers

12 gives 2, 2, 3 and 18 gives 2, 3, 3.

2. Fills the overlap

Shared factors 2 and 3 move into the centre region.

3. Fills the outer regions

The extra 2 stays on the left for 12, and the extra 3 stays on the right for 18.

4. Multiplies all three regions

2 × (2 × 3) × 3 = 36, which is the least common multiple.

LCM Venn Diagram Calculator Formula

The LCM Venn Diagram Calculator multiplies all three regions, while the centre alone gives the greatest common divisor.

LCM = left × centre × right, and GCD = centre

Formula Terms

Left region
Prime factors belonging only to a.
Centre region
Prime factors shared by a and b, whose product is the GCD.
Right region
Prime factors belonging only to b.

Worked Example

  1. 1Input: 12 and 18.
  2. 2Centre: 2 × 3 = 6, which is GCD(12, 18).
  3. 3Left: 2, the remaining factor of 12.
  4. 4Right: 3, the remaining factor of 18.
  5. 5LCM = 2 × 6 × 3 = 36.

LCM Venn Diagram Calculator Conversion Table

The table below shows the three Venn regions for 7 pairs.

PairLeft onlyCentre (GCD)Right onlyLCM
12, 1826336
8, 1224324
20, 30210360
45, 30315290
16, 2428348
28, 42214384
7, 971963

An empty centre, shown as 1 for the pair 7 and 9, marks coprime inputs whose LCM equals the product 63.

What is LCM Venn Diagram Calculator?

The LCM Venn Diagram Calculator is a region solver that places prime factors into two overlapping circles and reads the least common multiple from all three regions.

Region layout makes the GCD and LCM relationship visible in one picture: the centre is counted once in the LCM, which is exactly why GCD × LCM equals a × b.

Each prime factor appears in precisely one region, so no factor is counted twice. That rule is what keeps the product minimal.

What are the uses of LCM Venn Diagram Calculator?

The LCM Venn Diagram Calculator has 4 main uses.

  • Visualising shared factors

    The centre 6 for 12 and 18 shows the overlap directly.

  • Teaching GCD and LCM together

    One diagram answers both questions.

  • Explaining the product identity

    Counting the centre twice reproduces a × b, which shows why the identity holds.

  • Marking coprime pairs

    An empty centre identifies pairs such as 7 and 9.

Related LCM Calculators

View All →