Jump to a section
Below I show the prime factorization method the solver used, a second method you can do in your head, and two ways to check the result. By the end you should be able to handle a similar pair on your own.
How do you find the GCF of 9 and 18 step by step?
The prime factorization method has three moves. First, break each number into primes. 9 = 3 × 3 = 3², and 18 = 2 × 3 × 3 = 2 × 3². Second, look for the primes both numbers share. Both contain 3², and only 18 contains a 2.
Third, take each shared prime at its lowest power and multiply. Both numbers have 3², so the GCF is 3² = 9. The 2 is left out because 9 has no 2 to match it. That is exactly what the solver’s steps above show.
Why does this work? A common factor has to be built only from primes that both numbers contain. The greatest one uses as many of those shared primes as possible, which is why you keep the full 3² and not just a single 3.
Finding the GCF of 9 and 18 by listing factors
Listing is the method most textbooks teach first, and it suits small numbers well. Write every factor pair for each number, then circle what they share.
- Factors of 9: 1, 3, 9
- Factors of 18: 1, 2, 3, 6, 9, 18
- Common factors: 1, 3, 9
The greatest common factor is 9. Work through the factors in order (1 × 18, 2 × 9, 3 × 6) so you don’t skip one. Listing gets slow with bigger numbers. For something like the GCF of 36 and 60, prime factorization is faster and less error-prone.
Is there a mental shortcut for the GCF of 9 and 18?
Yes, and it is my favorite. Ask one question: does the smaller number divide the larger one evenly? Here, 18 ÷ 9 = 2 with no remainder, so 9 goes into 18 exactly. When that happens, the smaller number is the GCF. You are done in about two seconds.

This is the first step of the Euclidean algorithm. You divide the larger number by the smaller and look at the remainder. A remainder of 0 means the divisor is the GCF. If the remainder isn’t 0, you repeat the process with the divisor and the remainder until you reach 0. For 9 and 18 it takes one step.
If one number is a multiple of the other, the smaller number is the GCF. 18 is 2 × 9, so GCF(9, 18) = 9.
Why is the GCF of 9 and 18 not 3?
This is the mistake I see most often. A student factors 9 as 3 × 3 and 18 as 2 × 3 × 3, spots the shared 3, and writes down 3. But the numbers share two 3s, not one. Every 3 they have in common counts, so the answer is 3 × 3 = 9.
You can test it. Is 3 a common factor of 9 and 18? Yes. Is there a bigger one? Try 9: it goes into 9 once and into 18 twice. So 3 is a common factor, but it isn’t the greatest one. If your answer to a GCF problem can be doubled or tripled and still divide both numbers, you stopped too early.
Try this: Factor 12 and 18 into primes and find their GCF. Then check whether your answer can be multiplied by anything and still divide both numbers. (The answer is 6, and nothing bigger works.)
9/18 simplified and other forms of the answer
The most common reason to find this GCF is to reduce a fraction. Divide the numerator and denominator by 9: 9 ÷ 9 = 1 and 18 ÷ 9 = 2. So 9/18 simplifies to 1/2 in one step. Because you divided by the greatest common factor, the fraction is fully reduced and nothing is left to cancel. If you want more practice reducing, 10/12 simplified works the same way.

The fraction also reads naturally in other forms. 9/18 = 1/2 = 0.5 = 50%. Flipped, 18/9 = 2 exactly, with remainder 0 and no mixed number needed. That remainder of 0 is the same fact as the shortcut above.
GCF problems also turn up in word problems. If you have 9 red tiles and 18 blue tiles and want identical groups with nothing left over, the most groups you can make is 9. Each group would hold 1 red and 2 blue.
What is the LCM of 9 and 18, and how do you check?
The least common multiple is the smallest number both 9 and 18 divide into. The multiples of 9 are 9, 18, 27, and the multiples of 18 start at 18, so the LCM is 18. When one number is a multiple of the other, the larger number is always the LCM. Compare that with a pair that shares fewer factors, such as the LCM of 9 and 15, where you have to work a little harder.
Now you can check the GCF two ways:
- Division check: 9 ÷ 9 = 1 and 18 ÷ 9 = 2. Both come out as whole numbers, so 9 is a common factor.
- Product check: GCF × LCM = the product of the two numbers. Here 9 × 18 = 162, and 9 × 18 = 162. They match.
The product check only works for two numbers, and it needs the correct LCM. It is a good catch-all if you have both values.
Where does the GCF of 9 and 18 lead next?
Once you’re comfortable with a pair like this, try ones where neither number divides the other. The GCF of 63 and 42 is a good next step, because the shortcut fails and you need prime factors or the Euclidean steps. After that, move on to the least common multiple. The LCM of 12 and 18 uses the same prime factors, but you take the highest powers instead of the lowest.
It also helps to be solid on division facts, since the whole method rests on knowing what divides what. Something like 63 divided by 9 is the kind of quick fact that makes factoring feel easy. Use the solver at the top to test your own pairs, then read through its steps to see whether you agree.
Practice problems
Try these on paper first, then check your answer or load the full steps into the solver.
- gcf of 8 and 168
- gcf of 12 and 306
- gcf of 36 and 4812
- gcf of 84 and 12642
What Is the GCF of 9 and 18?: common questions
What is the GCF of 9 and 18?
The GCF of 9 and 18 is 9. It is the largest whole number that divides both 9 and 18 with no remainder: 9 ÷ 9 = 1 and 18 ÷ 9 = 2.
What are the common factors of 9 and 18?
The factors of 9 are 1, 3 and 9. The factors of 18 are 1, 2, 3, 6, 9 and 18. The common factors are 1, 3 and 9, and the greatest of them is 9.
Is the GCF the same as the HCF or GCD?
Yes. Greatest common factor (GCF), highest common factor (HCF) and greatest common divisor (GCD) are three names for the same idea. For 9 and 18, all three equal 9.
How do you simplify 9/18 using the GCF?
Divide the top and bottom by the GCF, which is 9. That gives 9 ÷ 9 = 1 and 18 ÷ 9 = 2, so 9/18 simplifies to 1/2.