Skip to main content
← All calculators

GCF Calculator

Find greatest common factor

Last updated:
Try:
GCF / GCD
0
LCM (Bonus)
0
Step-by-Step: Prime Factorization
Step 1: Prime factorize each number
48 = 2^4 × 3
36 = 2^2 × 3^2
Step 2: Identify common prime factors
2
3
Step 3: Take minimum power of common primes
GCF = 2^2 × 3 = 12
Prime Factor Visualization
482^43362^23^2
Green = common factors

GCF Properties

GCF(a, a) = a
GCF of a number with itself
GCF(a, 1) = 1
GCF with 1 is always 1
GCF(a, 0) = a
GCF with 0 is the number
LCM × GCF = a × b
Product relationship (2 numbers)

When to Use GCF

Simplifying Fractions
48/36 → 4/3 (divide by GCF 12)
Factoring Expressions
12x + 18y → 6(2x + 3y)
Dividing Evenly
Split items into equal groups
Cryptography
RSA algorithm uses GCD

How to Use the GCF Calculator

The GCF (Greatest Common Factor) calculator finds the largest number that divides evenly into two or more numbers. Also known as GCD (Greatest Common Divisor), see solutions using prime factorization and the Euclidean algorithm.

What is GCF?

The Greatest Common Factor is the largest positive integer that divides all given numbers without a remainder:

GCF(12, 18) = 6 because 6 is the largest number that divides both 12 and 18.

Method 1: Prime Factorization

  1. Find the prime factorization of each number
  2. Identify common prime factors
  3. Take the lowest power of each common prime
  4. Multiply them together

Example: GCF(48, 36)
48 = 2⁴ × 3
36 = 2² × 3²
GCF = 2² × 3 = 12

Method 2: Euclidean Algorithm

Repeatedly divide and take remainders until you reach 0:

GCF(48, 18):
48 ÷ 18 = 2 remainder 12
18 ÷ 12 = 1 remainder 6
12 ÷ 6 = 2 remainder 0
GCF = 6

Method 3: Listing Factors

List all factors and find the largest common one:

Factors of 12: 1, 2, 3, 4, 6, 12
Factors of 18: 1, 2, 3, 6, 9, 18
GCF = 6

Real-World Applications

  • Simplifying fractions: Divide both parts by the GCF
  • Tiling: Finding the largest square tile that fits
  • Distributing items: Dividing evenly into groups

Related Calculators

For finding the LCM, use our LCM calculator. For simplifying fractions, try our fraction calculator.

Frequently Asked Questions

The Greatest Common Factor (GCF), also called GCD (Greatest Common Divisor), is the largest positive number that divides both numbers evenly. For example, GCF(12, 18) = 6 because 6 is the largest number that divides both (12÷6=2, 18÷6=3).

Stay Updated

Get new calculators and tips delivered to your inbox.