LCM - Least Common Multiple

Last Updated : 24 Jan, 2026

The Least Common Multiple (LCM) of two numbers is the smallest positive number that is evenly divisible by both of them.

LCM of 4 and 6 :
Multiples of 4 are 4, 8, 12, 16, 20......
Multiples of 6 are 6, 12, 18, 24, 30.......
The lowest common multiple of 4 and 6 is 12.

LCM of 12 and 18:
Multiples of 12 are 12, 24, 36, 48, 60 ......
Multiples of 18 are 18, 36, 54, 72 .......
The lowest common multiple of 12 and 18 is 36.


  • The LCM is always greater than or equal to the larger of the two numbers. The LCM is equal to the larger of the two numbers when one of the numbers is divisible by the other. For example, the LCM of 4 and 8 is 8, because 8 is divisible by 4.
  • The LCM of two different numbers is multiplication of them if there are no common factors other than 1. For example, LCM of 3 and 7 is 21.
  • The LCM of two same numbers is the number itself. For example, LCM of 5 and 5 is 5.

For Beginners

This section explains what LCM is, how to find it using different methods, and where it's used in real life.

For Aptitude Preparation

Boost your exam prep with LCM tricks, quizzes, and commonly asked aptitude questions and facts.

Practice Questions

Practice solving LCM problems at both basic and advanced levels to strengthen your understanding.

For Programmers

Explore LCM-based coding problems and programs, from simple logic to competitive programming challenges.

Comment

Explore