Mathematics · Greatest common factor

GCF of 12 and 20

The greatest common factor of 12 and 20 is 4. It is the largest whole number that divides both 12 and 20 with no remainder.

You will also see it written as the highest common factor (HCF) or the greatest common divisor (GCD) of 12 and 20. All three names mean the same thing.

Greatest common factor

4

GCF, GCD or HCF of 12 and 20

Least common multiple

60

LCM of 12 and 20

12/20 simplified

3/5

both divided by 4

Below is the same answer reached three different ways, because different classes teach different methods. Every line is worked out for these two numbers, so you can copy the one your teacher asks for.

01

Listing the factors of 12 and 20

Factors of 12: 1, 2, 3, 4, 6, 12
Factors of 20: 1, 2, 4, 5, 10, 20

Common factors: 1, 2, 4
Greatest of those = 4

The common factors of 12 and 20 are 1, 2 and 4, and that is the complete list. The largest one, 4, is the GCF.

02

Prime factorization method

12 = 22 × 3 (2 × 2 × 3)
20 = 22 × 5 (2 × 2 × 5)

Shared primes at their lowest power: 22
GCF = 4

Take every prime that appears in both lists, each at the lower of its two powers, and multiply them: 22 gives 4.

03

Euclid's algorithm, step by step

20 ÷ 12 = 1 remainder 8
12 ÷ 8 = 1 remainder 4
8 ÷ 4 = 2 remainder 0

Last non-zero remainder = 4, so the GCF is 4

Divide the larger number by the smaller, then keep dividing the previous divisor by the remainder. When the remainder reaches zero, the divisor you used last is the GCF. It took 3 steps for 12 and 20.

04

LCM of 12 and 20, and the fraction 12/20

For any two numbers, the GCF multiplied by the LCM equals the two numbers multiplied together. That gives a quick way to get one from the other, and a way to check both.

GCF × LCM = 4 × 60 = 240
12 × 20 = 240
They match, so both answers are right

Dividing the top and bottom of 12/20 by 4 reduces it to 3/5, which is as far as it goes. Anything smaller than the GCF would leave the fraction reducible.

Where these two numbers turn up

A 12 tooth and a 20 tooth sprocket return to the same position every 60 teeth, their LCM.

05

GCF of 12 and 20: FAQs

What is the GCF of 12 and 20?

The GCF of 12 and 20 is 4. It is the largest whole number that divides both of them exactly.

What are the common factors of 12 and 20?

The common factors of 12 and 20 are 1, 2 and 4. The greatest of them is 4.

Is the GCF of 20 and 12 the same as the GCF of 12 and 20?

Yes. The order makes no difference. The greatest common factor of 20 and 12 is 4, exactly the same as the GCF of 12 and 20, because you are looking at the same two numbers either way. The same is true if you see it written as the highest common factor of 20 and 12.

What is the LCM of 12 and 20?

The LCM of 12 and 20 is 60. You can check it with GCF times LCM: 4 times 60 equals 240, which is the same as 12 times 20.

Are 12 and 20 coprime?

No. 12 and 20 share 4 as a common factor, so they are not coprime. Coprime numbers have a GCF of exactly 1.

How do you simplify 12/20?

Divide the top and the bottom by their GCF, which is 4. That gives 12 divided by 4 equals 3, and 20 divided by 4 equals 5, so 12/20 simplifies to 3/5.

Which method is quickest for 12 and 20?

Listing factors, because both numbers are small enough to write the factors out by eye.

06

Nearby pairs

Any other numbers? The GCF Calculator takes two to ten values and shows the same three methods, and the math calculators page has the rest of the set.

Open the GCF Calculator →
Aayush Kulshrestha, founder of Calcxi

Written & verified by

Aayush Kulshrestha

B.Tech Computer Science · 8 years in web development & SEO · Bhilwara, India
About · LinkedIn · Report an error