Mathematics · Greatest common factor

GCF of 18 and 27

The greatest common factor of 18 and 27 is 9. It is the largest whole number that divides both 18 and 27 with no remainder.

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

Greatest common factor

9

GCF, GCD or HCF of 18 and 27

Least common multiple

54

LCM of 18 and 27

18/27 simplified

2/3

both divided by 9

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 18 and 27

Factors of 18: 1, 2, 3, 6, 9, 18
Factors of 27: 1, 3, 9, 27

Common factors: 1, 3, 9
Greatest of those = 9

The common factors of 18 and 27 are 1, 3 and 9, and that is the complete list. The largest one, 9, is the GCF.

02

Prime factorization method

18 = 2 × 32 (2 × 3 × 3)
27 = 33 (3 × 3 × 3)

Shared primes at their lowest power: 32
GCF = 9

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

03

Euclid's algorithm, step by step

27 ÷ 18 = 1 remainder 9
18 ÷ 9 = 2 remainder 0

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

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 2 steps for 18 and 27.

04

LCM of 18 and 27, and the fraction 18/27

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 = 9 × 54 = 486
18 × 27 = 486
They match, so both answers are right

Dividing the top and bottom of 18/27 by 9 reduces it to 2/3, which is as far as it goes. Anything smaller than the GCF would leave the fraction reducible.

05

GCF of 18 and 27: FAQs

What is the GCF of 18 and 27?

The GCF of 18 and 27 is 9. It is the largest whole number that divides both of them exactly.

What are the common factors of 18 and 27?

The common factors of 18 and 27 are 1, 3 and 9. The greatest of them is 9.

Is the GCF of 27 and 18 the same as the GCF of 18 and 27?

Yes. The order makes no difference. The greatest common factor of 27 and 18 is 9, exactly the same as the GCF of 18 and 27, 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 27 and 18.

What is the LCM of 18 and 27?

The LCM of 18 and 27 is 54. You can check it with GCF times LCM: 9 times 54 equals 486, which is the same as 18 times 27.

Are 18 and 27 coprime?

No. 18 and 27 share 9 as a common factor, so they are not coprime. Coprime numbers have a GCF of exactly 1.

How do you simplify 18/27?

Divide the top and the bottom by their GCF, which is 9. That gives 18 divided by 9 equals 2, and 27 divided by 9 equals 3, so 18/27 simplifies to 2/3.

Which method is quickest for 18 and 27?

Euclid's algorithm, because it reaches the answer in 2 steps and you never have to write out the full factor lists.

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