# What is the Greatest Common Factor of 40 and 58?

Greatest common factor (GCF) of 40 and 58 is **2**.

GCF(40,58) = 2

We will now calculate the prime factors of **40 and 58**, than find the greatest common factor *(greatest common divisor (gcd))* of the numbers by matching the biggest common factor of 40 and 58.

## How to find the GCF of 40 and 58?

We will first find the prime factorization of 40 and 58. After we will calculate the factors of 40 and 58 and find the biggest common factor number .

### Step-1: Prime Factorization of 40

Prime factors of 40 are 2, 5. Prime factorization of **40** in exponential form is:

40 = 2^{3} × 5^{1}

### Step-2: Prime Factorization of 58

Prime factors of 58 are 2, 29. Prime factorization of **58** in exponential form is:

58 = 2^{1} × 29^{1}

### Step-3: Factors of 40

List of positive integer factors of 40 that divides 40 without a remainder.

1, 2, 4, 5, 8, 10, 20

### Step-4: Factors of 58

List of positive integer factors of 58 that divides 40 without a remainder.

1, 2, 29

#### Final Step: Biggest Common Factor Number

We found the factors and prime factorization of 40 and 58. The biggest common factor number is the **GCF** number.

So the **greatest common factor 40 and 58** is **2**.

Also check out the Least Common Multiple of 40 and 58