DevCalc Logo
DevCalc

Work through the method

LCM Calculator

Need to find the LCM of a set of numbers fast? Our free LCM Calculator instantly calculates the Least Common Multiple of two or more numbers, with clear results perfect for homework, teaching, or quick math problem-solving.

Calculate the Least Common Multiple (LCM) of two or more numbers instantly. Enter numbers separated by commas.

Example: 12, 18, 24

Least Common Multiple Formula

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

The Least Common Multiple (LCM) is the smallest positive number that is divisible by all given numbers. For two numbers, the LCM can be calculated using their Greatest Common Divisor (GCD).

Example Calculation

Input: 12, 18

Output: LCM = 36

Common Uses

  • • Fractions
  • • Mathematics
  • • Education
  • • Algebra
  • • Competitive Exams
  • • Number Theory
  • • Engineering Calculations
  • • Problem Solving

How the LCM Calculator Works

1

Enter Numbers

Input two or more numbers separated by commas.

2

Calculate LCM

The calculator determines the smallest number divisible by all entered numbers.

3

Analyze Result

Review the Least Common Multiple and related calculations.

4

View Answer

See the calculated LCM instantly.

Questions about this calculator

The Least Common Multiple is the smallest positive integer that is evenly divisible by all given numbers.

LCM can be calculated using prime factorization or by dividing the product of two numbers by their GCD.

The LCM of 12 and 18 is 36.

LCM is commonly used in fractions, algebra, scheduling problems, and mathematical calculations.

Yes. You can calculate the LCM of two or more numbers simultaneously.

For any two positive integers a and b, the product of their LCM and HCF is always equal to the product of the two numbers themselves (LCM × HCF = a × b).

Find the LCM of two or more numbers

Enter at least two positive numbers separated by commas. The least common multiple is the smallest positive value divisible by every entered number, making it useful for common denominators, repeating schedules, and cycle problems.

How this calculator finds the LCM

For two values a and b, LCM(a,b) = |a × b| / GCD(a,b). For more than two values, the calculator applies that relationship repeatedly to the running result. The greatest common divisor is found with the Euclidean algorithm.

Worked example

For 12 and 18, the greatest common divisor is 6. Therefore LCM = (12 × 18) ÷ 6 = 36. For 12, 18, and 30, combining the next number gives an LCM of 180.

Input guidance

Use comma-separated positive integers for standard LCM questions. Although the interface parses positive numeric values, LCM is normally defined here for whole numbers; decimal inputs can produce results that are not meaningful in the usual number-theory sense. Very large products may also exceed JavaScript's exact integer range.

Learn more

Latest helpful articles

Recent guides and verified updates selected for this calculator.

View all articles

Transportation

Inland Waterways Development: Traffic Growth, Safety Milestones & New River Lighthouses on NW-2

Inland waterways in India are expanding rapidly, with freight traffic growing from 2.9 crore metric tonnes in 2014-15 to 21.8 crore metric tonnes in 2025-26 at a CAGR of 20.13%. National Waterway-2 on the Brahmaputra River now features India's first river-based lighthouses for 24/7 navigation. Digital platforms provide real-time depth and weather data, enhancing navigation safety across 32 operational waterways spanning 20,187 km.

3 min read

Environment

India's Ramsar Site Tally Reaches 103 with New Additions

India's Ramsar site tally reaches 103 with new wetland additions Sukhna Lake in Chandigarh and Sauj Jheel in Uttar Pradesh. The Ministry of Environment, Forest and Climate Change announced the milestone on October 15, 2026, strengthening the nation's commitment to wetland conservation and biodiversity.

2 min read

Governance

Special Campaign 6: Progress, citizen-centric initiatives and compliance deadline (31 Oct 2026)

Special Campaign 6 entered its implementation phase on 2 October 2026 and runs until 31 October 2026. The third review meeting chaired by DARPG Secretary saw 600+ officers from 84 ministries review progress. Key citizen-centric initiatives include India Post's DigiPost, e-waste collection drives, waste-to-prosperity art installations, and dedicated one-day campaigns across ministries. Innovations span digital services e-waste management record disposal and community participation. The campaign is promoted widely through social media and PIB releases.

3 min read