Skip to main content
Toolsiva

Free online tool

GCD and LCM Calculator

Find the greatest common divisor and least common multiple.

Result

Enter values to calculate.

How to use this tool

  1. 1. Enter the valuesComplete the calculator fields with your numbers or dates.
  2. 2. Review the calculationResults update automatically when inputs change.
  3. 3. Adjust and compareChange any value to compare another scenario.

Frequently asked questions

How does GCD and LCM Calculator determine the result?

It applies the calculation represented by the fields in the workspace. Find the greatest common divisor and least common multiple.

Why might GCD and LCM Calculator display a rounded value?

Some calculations produce long or repeating decimals, so results may be rounded for readability.

Can GCD and LCM Calculator calculate decimal values?

Yes. Decimal inputs are supported wherever they are meaningful for the calculation.

Tool guide

About GCD and LCM Calculator

How GCD and LCM Calculator works

Calculates greatest common divisor and least common multiple of integers.

Try this

Enter 12, 18 and 30 to compare their common divisor and common multiple.

Before using the result

Very large integer combinations may exceed JavaScript's exact safe range.

Continue working

Related tools

View all Calculators →