Greatest Common Divisor (GCD / GCF)

Calculate Greatest Common Divisor (GCD / GCF) instantly. Free online calculator with the exact formula, a worked example, and metric units. No signup required.

Greatest Common Divisor (GCD / GCF)

Number a
Number b
GCD
12
Euclid's algorithmCalculate Greatest Common Divisor (GCD / GCF) instantly. Free online calculator with the exact formula, a worked example, and metric units. No signup required.
GCD
12
LCM
72
a
24
b
36

More about: Greatest Common Divisor (GCD / GCF)

What it calculates

The “Greatest Common Divisor (GCD / GCF)” calculator computes GCD from 2 parameters: number a, number b.

A core calculation for studying, engineering tasks, and checking solutions.

Example calculation

With parameters Number a = 24, Number b = 36 the result is 12 (Euclid's algorithm).

How to use

  1. Enter the parameter values — every field above is adjustable with a slider.
  2. The result and related metrics are calculated automatically as you type.
  3. Use the additional metrics shown (if any) where needed.
  4. Copy the result or bookmark the page.

Related calculators