LCM and GCD Other Number Calculator

This calculator computes the Greatest Common Divisor (GCD) and Least Common Multiple (LCM) of two numbers, and allows you to find the GCD and LCM with other numbers relative to these values.

Input Parameters

Calculation Results

Calculation Formula

GCD(a, b) = a × b / LCM(a, b)

Where:
GCD = Greatest Common Divisor
LCM = Least Common Multiple

GCD (Greatest Common Divisor):

-

LCM (Least Common Multiple):

-

LCM and GCD Other Number Calculator Calculator Usage Guide

Learn how to use the LCM and GCD Other Number Calculator calculator and its working principles

How to Use This Calculator

  1. Enter two positive integers in the input fields labeled "First Number" and "Second Number"
  2. Click the "Calculate" button to compute the GCD and LCM
  3. The results will be displayed in the Calculation Results section

Understanding GCD and LCM

GCD (Greatest Common Divisor) is the largest number that divides both of the given numbers without leaving a remainder. For example, the GCD of 12 and 18 is 6.

LCM (Least Common Multiple) is the smallest number that is a multiple of both of the given numbers. For example, the LCM of 12 and 18 is 36.

Formula Used

The relationship between GCD and LCM is given by:

GCD(a, b) = a × b / LCM(a, b)

This formula is used in the calculator to ensure accurate results.

Example

If you enter 24 and 36:

  • GCD(24, 36) = 12
  • LCM(24, 36) = 72