Back to Functions

LCM

Returns the least common multiple of one or more integers.

MathLCM(value1, value2)

LCM

The LCM function in Google Sheets returns the least common multiple of one or more integers. It is a useful tool for finding the smallest common multiple among a set of numbers. Explore our comprehensive guide to understand how to use the LCM function effectively.

Function Syntax and Parameters

Syntax: LCM(value1, value2)

Parameters:

  • value1: The first value or integer for finding the least common multiple.
  • value2: The second value or integer for finding the least common multiple.

Step-by-Step Tutorial

  1. Using LCM with two integers:

    • Example: =LCM(3, 5)
    • Result: 15
  2. Using LCM with more than two integers:

    • Example: =LCM(4, 6, 10)
    • Result: 60

Use Cases and Scenarios

  1. Pricing Optimization: Determine the least common multiple of product prices for efficient pricing strategies.
  2. Scheduling: Find the least common multiple of time intervals to schedule recurring events.
  3. Manufacturing: Calculate the least common multiple of production cycles to streamline manufacturing processes.

Related Functions

  • GCD: Find the greatest common divisor of two or more integers.
  • MOD: Calculate the remainder after division.

Related Articles

Newsletter

More LCM examples coming soon.

We are building short, practical updates for Sheets power users.