Skip to content
ToolHub

GCF Calculator

Greatest common factor (GCD/HCF) of two or more numbers, with three methods.

🧮 Math Calculators Free · No sign-up
GCF
GCFPro
Greatest Common Factor
Find the Greatest Common Factor of 2 or more numbers
Also known as GCD (Greatest Common Divisor) or HCF (Highest Common Factor)
💡 Positive whole numbers · comma, space, or new line
Greatest Common Factor
—
History 0
📋
No calculations yet
Your history will appear here

About the GCF Calculator

The GCF Calculator finds the greatest common factor, the largest number that divides all your numbers exactly. It is also called the greatest common divisor (GCD) or highest common factor (HCF). Enter two or more whole numbers and see the answer with step-by-step working using prime factorisation, the Euclidean algorithm or lists of factors.

How to use the GCF Calculator

  1. Enter two or more positive whole numbers.
  2. Read the GCF.
  3. Open the steps and choose a method to see the working.

Example

GCF of 24, 36 and 60

24 = 2³ × 3, 36 = 2² × 3², 60 = 2² × 3 × 5. The shared primes are 2 × 2 × 3, so the GCF is 12.

Frequently asked questions

What is the GCF used for?

Simplifying fractions and ratios, and splitting things into the largest equal groups.

What is the GCF of two prime numbers?

1, because primes share no other factors.

How is it related to the LCM?

For two numbers, GCF × LCM = the product of the numbers.

Use ↑ ↓ to move, Enter to open.