GCD & LCM Calculator

Calculator Tools

HCF and LCM of two or more numbers

FreePrivateInstant
Add a file · .txt .md .csv .json … · up to 2.00 MB
Full guide, 4 min readGCD and LCM: Euclid’s 2,300-year-old shortcut, and when two buses meet againRead the story behind this tool →

Similar tools you may like

History

All history →

GCD & LCM Calculator — at a glance

Find the greatest common divisor (GCD / HCF) and least common multiple (LCM) of two or more whole numbers at once.

Your input
12, 18, 24
Run
Result
GCD 6
LCM 72

How to use it — step by step

Two or more whole numbers.

1

Paste your input

Paste or type your content into the big input box. Try a sample if you want to see it work.

2

Choose options

Pick the mode and options that fit what you need.

3

Find GCD & LCM

Press the button. The result is created instantly on your device.

4

Copy the result

Check the output and press Copy to use it anywhere.

Pro tips

Small things that make the result better.

✦GCD is also called HCF (highest common factor).
✦LCM is useful for adding fractions with different denominators.
✦GCD × LCM equals the product of two numbers.

Quick facts

Freeno signup, no limit
Instantresult in a moment
Privatenothing is uploaded
Any devicephone, tablet or PC

Frequently Asked Questions

What is the GCD of 12 and 18?+

6 — the largest number that divides both.

Is my data safe?+

Yes. Everything runs inside your own browser. Your text, files and images are never uploaded to any server.

Is this tool really free?+

Yes — completely free, no signup, no watermark and no usage limit.

More Free Tools