GCD (HCF) & LCM Calculator

Highest common factor and lowest common multiple.

Also called: HCF calculator, GCD calculator.

FreeNo sign-upRuns in your browser
CALCULATORS

GCD (HCF) & LCM Calculator

Highest common factor and lowest common multiple.

Runs locally in your browser
Ready. Fill in the fields above, then press Run tool.
Privacy note: this tool runs in your browser, so the text you enter stays on your device.

Find a tool

Loading tools…

Watch: how to use the GCD (HCF) & LCM Calculator (12 seconds)

Recorded on a phone, steps written on screen, no sound.

About the GCD (HCF) & LCM Calculator

Enter two or more whole numbers (separated by spaces, commas or lines) to get the greatest common divisor (GCD, also HCF) and the least common multiple (LCM). Example: 12 and 18 → GCD 6, LCM 36.

How to use the GCD (HCF) & LCM Calculator

  1. Enter your textType or paste numbers.
  2. Press Run toolThe result appears right under the button.
  3. Copy or download the resultCopy text results with Copy output; when the tool makes a picture or file, use its Download button.

This tool works inside your browser: what you enter stays on your device.

Example

A sample input and the result the GCD (HCF) & LCM Calculator gives for it (produced by the tool itself, not typed by hand).

Numbers
12, 18, 24

Result:

GCD (HCF): 6
LCM: 72

Good to know

What you need
You type or choose: Numbers
Where it runs
In your browser, on your device.
Cost
Free, no sign-up.

Questions

What is HCF?

Highest common factor, the same as GCD.

Can I use decimals?

No, whole numbers only.

More tools in Calculators

See all Calculators tools