GCD/LCM Calculator
Workspace
What is the GCD/LCM Calculator?
The GCD/LCM Calculator finds the greatest common divisor and the least common multiple of two numbers. Enter two numbers in the workspace, click Process, and it reports both values together.
How to Use the GCD/LCM Calculator
- Enter the first number in the Number 1 field and the second number in the Number 2 field.
- Click Process.
- Read the result panel, which shows the two numbers, the GCD, and the LCM.
- Use Copy to copy the result, Download to save it, or Clear to start over.
Worked Example
Input: Number 1 = 48, Number 2 = 180
Observed result: Numbers: 48, 180, GCD: 12, LCM: 720.
Check: 48 = 2^4 x 3 and 180 = 2^2 x 3^2 x 5, so the greatest common divisor is 2^2 x 3 = 12 and the least common multiple is 2^4 x 3^2 x 5 = 720. A further check is GCD x LCM = 12 x 720 = 8640, which equals 48 x 180.
Limitations
- Exactly two numbers only. There is no way to enter three or more numbers in one calculation.
- The workspace provides two integer number fields. It does not show factor trees, prime factorization steps, or any working.
- The result lists the GCD and LCM only, with no explanation of the method used.
Frequently Asked Questions
What is the GCD?
The largest number that divides both inputs exactly. For 48 and 180, it is 12.
What is the LCM?
The smallest number that both inputs divide exactly. For 48 and 180, it is 720.
Can I enter three numbers?
No. The workspace has two number fields only, so calculate pairs one at a time.
How are GCD and LCM related?
For two numbers, GCD x LCM equals the product of the two numbers. Here 12 x 720 = 48 x 180 = 8640.
Related Tools
- Army Height & Weight Calculator Open tool →
- Point Buy Calculator (D&D 5e) Open tool →
- BMI Calculator Open tool →
- GPA Calculator Open tool →
- Moving / Removal Cost Calculator Open tool →
- Child Support Calculator Open tool →
- Futures Profit Calculator Open tool →
- Mean Absolute Deviation Calculator Open tool →
From the Blog
How to Check an Image’s Dimensions Before You Upload It
Check an image's width, height, and file size before uploading, avoid upscaling, and test it on your site.
Read article →How to Pick a Colour From an Image (Without Guessing)
Pick an exact colour from any image with an eyedropper, save the hex code, test contrast, and keep your palette small.
Read article →How to Find a Font From an Image (the Practical Way)
Identify a font from an image with a clean crop, compare candidates letter by letter, check licences, and test lookalikes.
Read article →