Calcupedia

GCD & LCM Calculator

Math

Calculate the greatest common divisor (GCD) and least common multiple (LCM) of two numbers.

Ad · Billboard
11,000,000
11,000,000

GCD (Greatest Common Divisor)

6

The largest number that divides both A and B evenly.

LCM (Least Common Multiple)

36

The smallest number that both A and B divide into evenly.

Share result
Reload calculator
Clear inputs

Found this calculator useful?

From Scratch To $10K/Month In 60 Days

This is a proven money making system that takes students by the hand to make at least $10,000 per month, every month. Students get 12 weeks of guided coaching in addition to the "MPS Super Funnel" and tools.

We value your privacy and promise not to sell or misuse your information. Here's our privacy policy.

Calculator Stats

Odeh Ahwal

Creators

Odeh Ahwal
Reviewed and verifiedThis calculator was reviewed and verified by the Calcupedia due diligence team.

0people find this calculator helpful

Views

Helpful

Saved

Embeds

Like
Share
Embed this calculator
Cite
Save
Ad · 300×250
Ad · 300×250

Frequently Asked Questions

What is GCD used for?

The greatest common divisor is used to simplify fractions, solve ratio problems, and find the largest equal grouping size when dividing items evenly.

What is LCM used for?

The least common multiple is used to find a common denominator when adding or subtracting fractions, and to solve scheduling problems where events repeat at different intervals.

How are GCD and LCM related?

For any two numbers, multiplying their GCD by their LCM always equals the product of the two original numbers: GCD(a,b) × LCM(a,b) = a × b.

Spot a mistake? Tell us what's wrong.

Don't see what you need?

Request a calculator. The most-requested ones get built first in our monthly batch.

Request a calculator

Want this calculator on your website?

Embed the GCD & LCM Calculator on any site — no code needed. Customize colors, remove branding, and track usage.

Embed it free →
Embed on any platform — Next.js, React, Vue.js, PHP, Laravel, Shopify, Wix, Webflow, Squarespace, and more