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 number a and number b — each field above is adjustable with a slider.
  2. GCD is calculated automatically as you type.
  3. Check the worked example below to see the formula applied to real numbers.
  4. Copy the result or bookmark this calculator.

Related calculators

FAQ

How is Greatest Common Divisor (GCD / GCF) calculated?
The Greatest Common Divisor (GCD / GCF) calculator computes GCD from number a, number b. Enter your values above and the exact formula is applied instantly; a worked example with real numbers is shown below.
Is the Greatest Common Divisor (GCD / GCF) calculator free?
Yes. It is completely free, needs no signup, runs entirely in your browser, and sends no data to any server.

More calculators in this category

Explore related free tools

Two-Way ANOVAKruskal-WallisMann-Whitney UWilcoxon Signed-RankLevene's TestShapiro-WilkMultiple Linear RegressionPolynomial RegressionAdjusted R²Spearman CorrelationKendall TauResiduals