Zum Inhalt springen
CalculatorsFinder
Mathe-Rechner

Greatest Common Factor Calculator

Find the greatest common factor (GCF or GCD) of two or more whole numbers.

  • Sofortige Ergebnisse
  • Schritt für Schritt
  • Privat: läuft in deinem Browser

Zahlen eingeben

Separate with commas or spaces. At least two numbers.

Ergebnis

Greatest common factor

6

Numbers divided by the GCF
8, 3, 5
Numbers entered
3
Berechnung Schritt für Schritt
  1. 48 = 2 × 18 + 12
  2. 18 = 1 × 12 + 6
  3. 12 = 2 × 6 + 0
  4. gcd(48, 18) = 6
  5. 6 = 0 × 30 + 6
  6. 30 = 5 × 6 + 0
  7. gcd(6, 30) = 6

Die Erklärung unten ist vorerst nur auf Englisch verfügbar. Der Rechner selbst funktioniert in jeder Sprache gleich.

Über: Greatest Common Factor Calculator

The greatest common factor (also called the greatest common divisor, GCD, or highest common factor, HCF) is the largest whole number that divides every number in a set without a remainder.

It is used to simplify fractions and ratios and to split things into equal groups. The calculator shows the Euclidean algorithm steps.

Formel und Funktionsweise

gcd(a, b) = gcd(b, a mod b)

gcd(a, 0) = a

gcd(a, b, c) = gcd(gcd(a, b), c)

The Euclidean algorithm repeatedly replaces the larger number with the remainder until the remainder is zero. The last non-zero value is the GCF.

Rechenbeispiel

GCF of 48, 18 and 30

gcd(48, 18): 48 = 2 × 18 + 12, 18 = 1 × 12 + 6, 12 = 2 × 6 + 0, so it is 6. Then gcd(6, 30) = 6. Dividing the numbers by 6 gives 8, 3 and 5.

Tipp: Klicke oben im Rechner auf „Beispiel ausprobieren“, um diese Zahlen zu laden.

Dein Ergebnis verstehen

A GCF of 1 means the numbers are coprime: they share no factor other than 1.

To simplify a fraction, divide numerator and denominator by their GCF.

Häufige Fehler vermeiden

  • Confusing GCF with the least common multiple.
  • Entering decimals; the GCF is defined for whole numbers.
  • Stopping at a common factor that is not the greatest one.

Häufig gestellte Fragen

What is the difference between GCF and GCD?

None. Greatest common factor, greatest common divisor and highest common factor all mean the same thing.

What is the GCF of a number and zero?

The absolute value of that number, since every number divides zero.

How do I use the GCF to simplify a fraction?

Divide both the numerator and the denominator by their GCF.