Unlock the Mystery of Multiples with our LCM Calculator

Enter two positive integers and discover their Least Common Multiple. Visualize multiples and copy results with ease!

Least Common Multiple (LCM):

LCM Visualization

Understanding Least Common Multiple (LCM)

The Least Common Multiple (LCM) of two integers \(a\) and \(b\) is the smallest positive integer that is divisible by both \(a\) and \(b\). It's a fundamental concept in number theory with applications in various mathematical and real-world problems.

Formula for LCM

The LCM of two numbers \(a\) and \(b\) can be calculated using the formula:

$$LCM(a, b) = \frac{|a \cdot b|}{GCD(a, b)}$$

Where \(GCD(a, b)\) is the Greatest Common Divisor of \(a\) and \(b\).

How to Use This Tool

Example

For example, to find the LCM of 12 and 18: