Back to homeMathematics · Grade 6 · Change subject
Start for free
Math 6 · Mathematics
Numbers · Divisibility

Greatest Common Factor

Mateo has two ribbons for making gift bows, one $30$ inches long and one $45$ inches long. He wants to cut both into pieces that are all the same length, as long as possible, with no ribbon left over. How long should each piece be? The answer is the greatest common factor, and by the end of this page you will find it.

What is the GCF?

A factor (or divisor) of a number divides it exactly. A common factor of two numbers is a factor of both. The biggest one has a name.

Lists of the factors of 12 and 18, with the common factors highlighted and 6 marked as the greatest common factor. factors of 121, 2, 3, 4, 6, 12 factors of 181, 2, 3, 6, 9, 18 common factors 1, 2, 3,6 GCF(12, 18) = 6

The most direct method, good for small numbers: list all the factors of each number, circle the ones they share, and pick the biggest.

Practice★☆☆Not started
Calculate all the divisors of the numbers $12$ and $18$. Then, indicate which are the common divisors and point out which of them is the Greatest Common Factor (GCF).

Calculate all the divisors of the numbers $12$ and $18$. Then, indicate which are the common divisors and point out which of them is the Greatest Common Factor (GCF).

Divisors of 12 Divisors of 18 Common 4 12 9 18 1 2 3 6 GCF
Solve
Practice★☆☆Not started
Ashley has $20$ star stickers and $30$ planet stickers. She wants to make equal envelopes with the largest possible number of stickers of each type, without any left…

Ashley has $20$ star stickers and $30$ planet stickers. She wants to make equal envelopes with the largest possible number of stickers of each type, without any left over. How many stickers of each kind must she put in each envelope? (Hint: Look for the greatest common divisor of $20$ and $30$).

Solve

Finding the GCF with prime factorization

Listing every factor gets slow with big numbers like $84$ and $126$. Prime factorization is faster.

Diagram of finding a GCF from prime factorizations by keeping only the common primes with the lowest exponent. A = 2² · 3 · 7B = 2 · 3² · 5 7 and 5 are not shared → left out 2² and 2¹ → lowest is 2¹ 3¹ and 3² → lowest is 3¹ GCF(A, B) = 2 · 3 = 6

The same method works for three or more numbers. A prime only counts if it appears in all of them.

Practice★☆☆Not started
Look at the prime factorizations of these two numbers and find their $MCD$: $A = 2^{2} \cdot 3 \cdot 5$ $B = 2 \cdot 3^{2}$ Remember the pedagogical rule: "For the GCF,…

Look at the prime factorizations of these two numbers and find their $MCD$:

  • $A = 2^{2} \cdot 3 \cdot 5$

  • $B = 2 \cdot 3^{2}$

Remember the pedagogical rule: "For the GCF, we take the common factors raised to the lowest exponent".

Solve
Practice★★☆Not started
Calculate the Greatest Common Factor ($M.C.D.$) of the following groups of numbers using the prime factorization method: a) $48$ and $72$ b) $30, 45$ and $60$ c) $120$…

Calculate the Greatest Common Factor ($M.C.D.$) of the following groups of numbers using the prime factorization method:

  1. a) $48$ and $72$
  2. b) $30, 45$ and $60$
  3. c) $120$ and $150$
Solve
Practice★★☆Not started
Look at the following prime factorizations of three numbers and, without carrying out the multiplications, indicate what their $\text{HCF}$ is:…

Look at the following prime factorizations of three numbers and, without carrying out the multiplications, indicate what their $\text{HCF}$ is:

$A = 2^3 \cdot 3^2 \cdot 5$

$B = 2^2 \cdot 3^3$

$C = 2^2 \cdot 3^2 \cdot 7$

Solve

Relatively prime numbers and quick shortcuts

Sometimes the GCF is easy to see without any work.

Prime factorizations of 9 and 20 showing they share no prime, so their GCF is 1. 9 = 3² 20 = 2² · 5 no prime in common→ GCF(9, 20) = 1 9 and 20 are relatively prime, even though neither one is prime

Here is another shortcut.

Practice★☆☆Not started
Work out the $MCD$ of the following pairs of numbers mentally. They are small numbers where you can identify the greatest common factor at a glance: a) $MCD(4, 8)$ b)…

Work out the $MCD$ of the following pairs of numbers mentally. They are small numbers where you can identify the greatest common factor at a glance:

  1. a) $MCD(4, 8)$
  2. b) $MCD(5, 10)$
  3. c) $MCD(7, 14)$
  4. d) $MCD(10, 20)$

What do all these results have in common?

Solve
Practice★☆☆Not started
We say that two numbers are relatively prime when their only common divisor is $1$. Check if the numbers $8$ and $15$ are relatively prime by finding their $GCF$.

We say that two numbers are relatively prime when their only common divisor is $1$. Check if the numbers $8$ and $15$ are relatively prime by finding their $GCF$.

Divisors of 8 Divisors of 15 2 4 8 3 5 15 1 GCF The only common divisor is 1 → Relatively prime!
Solve
Practice★★☆Not started
Two numbers are said to be relatively prime if their only common divisor is $1$. Check if the following pairs of numbers are relatively prime by calculating their…

Two numbers are said to be relatively prime if their only common divisor is $1$. Check if the following pairs of numbers are relatively prime by calculating their $M.C.D.$:

  1. a) $14$ and $15$
  2. b) $22$ and $33$
  3. c) $21$ and $25$
Solve

Word problems: equal groups

Look for these clues: "the greatest number of identical groups", "the largest possible", "with nothing left over". They signal a GCF.

28 granola bars and 42 fruit cups split into 14 identical bags, each with 2 bars and 3 cups. 28 granola bars÷ 14 = 2 per bag 42 fruit cups÷ 14 = 3 per bag GCF(28, 42) = 14 bagseach bag: 2 bars + 3 cups
Practice★☆☆Not started
In a library they want to organize $45$ adventure books and $60$ science fiction books on shelves, so that on each shelf there is the same number of books and that this…

In a library they want to organize $45$ adventure books and $60$ science fiction books on shelves, so that on each shelf there is the same number of books and that this is the maximum possible.

  1. a) How many books will they put on each shelf?
  2. b) How many shelves will they use for the adventure books and how many for the science fiction ones?
Solve
Practice★★☆Not started
A team-building day has been organized at the middle school. There are $54$ students in 6th grade and $42$ students in 7th grade. They want to form teams (all from the…

A team-building day has been organized at the middle school. There are $54$ students in 6th grade and $42$ students in 7th grade. They want to form teams (all from the same grade or mixed, as decided by the teacher) but on the condition that all the teams in the school have exactly the same number of people and that this number is the maximum possible without anyone being left out.

  1. a) How many students will there be in each team?
  2. b) How many 6th grade teams and how many 7th grade teams will be formed?
Solve
Practice★★☆Not started
For a food bank, a supermarket donates $36$ cans of beans, $48$ cartons of milk and $60$ packages of rice. They want to prepare the largest possible number of equal bags…

For a food bank, a supermarket donates $36$ cans of beans, $48$ cartons of milk and $60$ packages of rice. They want to prepare the largest possible number of equal bags to distribute, so that in each bag there is the same number of products of each type.

  1. a) How many bags will they be able to prepare at most?
  2. b) What will each bag contain?
Solve

Word problems: cutting into equal pieces

When you cut lengths of rope, wood or cable into pieces of the same size, with no waste, the GCF is the length of each piece.

Two strips of 56 inches and 80 inches cut into equal 8-inch pieces, giving 7 and 10 pieces. 56 in. → 7 pieces of 8 in. 80 in. → 10 pieces of 8 in. GCF(56, 80) = 8 in.
Practice★☆☆Not started
A gardener wants to cut two hoses, one of $15$ feet and another of $25$ feet, into pieces that measure the same and are as long as possible, so that no hose is wasted.…

A gardener wants to cut two hoses, one of $15$ feet and another of $25$ feet, into pieces that measure the same and are as long as possible, so that no hose is wasted. What length will each piece be?

15 ft 25 ft ? ft
Solve
Practice★★☆Not started
An electrician has two rolls of leftover cable from a construction site: a blue one that measures $120$ feet and a black one of $96$ feet. He wants to cut them into…

An electrician has two rolls of leftover cable from a construction site: a blue one that measures $120$ feet and a black one of $96$ feet. He wants to cut them into pieces of the same length, so that they are as long as possible and there is no cable left over on either roll.

  1. a) How long must each piece be?
  2. b) How many pieces will he get in total between the two colors?
Cable azul: 120 ft Cable negro: 96 ft L = ? Equal maximum length (GCF)
Solve
Practice★★★Not started
In a technology workshop, the students have three wooden slats of $120$ inches, $144$ inches and $180$ inches in length. The teacher asks them to cut them into equal…

In a technology workshop, the students have three wooden slats of $120$ inches, $144$ inches and $180$ inches in length. The teacher asks them to cut them into equal pieces, with no wood left over, and of the greatest possible length to make bridge structures.

  1. a) What length must each piece be?
  2. b) How many pieces will they get in total by adding the three slats?
Solve

Three quantities and a second question

Harder problems have three quantities, or ask for something extra at the end, like how many groups of each kind. The plan is the same:

  1. Decide whether the GCF is the number of groups or the size of a group.

  2. Find the GCF of all the numbers.

  3. Divide each number by the GCF and answer the second question.

72 blueberry, 108 banana and 144 chocolate muffins packed in boxes of 36, making 2, 3 and 4 boxes. 72 blueberry ÷ 36 = 2 boxes 108 banana ÷ 36 = 3 boxes 144 chocolate ÷ 36 = 4 boxes 2 + 3 + 4 = 9 boxes of 36
Practice★★★Not started
A food bank has received three donations of basic products: $540$ gallons of milk, $420$ pounds of rice and $360$ packages of pasta. They want to organize identical…

A food bank has received three donations of basic products: $540$ gallons of milk, $420$ pounds of rice and $360$ packages of pasta. They want to organize identical batches to distribute among the largest possible number of families, so that in each batch there is the same amount of each product and nothing is left over.

  1. a) How many families will they be able to help at most?
  2. b) What amount of each product will each of these families receive?
Solve
Practice★★★Not started
An organic farmer has picked $250$ red apples, $325$ green apples and $175$ yellow apples. He wants to pack them into equal boxes (with the same number of apples of a…

An organic farmer has picked $250$ red apples, $325$ green apples and $175$ yellow apples. He wants to pack them into equal boxes (with the same number of apples of a single color per box) to send them to different shops. If he wants the boxes to contain the maximum possible number of pieces:

  1. a) How many apples will there be in each box?
  2. b) How many boxes of each type of apple will he send?
Solve
Practice★★★Not started
In a chemistry laboratory they have three containers with different solutions: one with $135$ fl oz, another with $180$ fl oz and a third with $225$ fl oz. They want to…

In a chemistry laboratory they have three containers with different solutions: one with $135$ fl oz, another with $180$ fl oz and a third with $225$ fl oz. They want to distribute all the liquid into identical test tubes, with the greatest possible capacity, so that all the tubes are completely full and the substances are not mixed.

  1. a) What will be the maximum capacity of each test tube?
  2. b) How many tubes will be filled from the container with the largest volume?
135 fl oz 180 fl oz 1 2 3 4 5 225 fl oz ? fl oz Max.
Solve

Squares, rectangles and fence posts

To cover a rectangle with identical squares that fit exactly (no cutting), the side of each square must divide both the length and the width. The largest possible square has a side equal to the GCF.

A 108 by 72 inch board tiled by six squares with side 36 inches. 108 in. 36 in. 72 in. 3 across × 2 down = 6 squares

The GCF also decides how far apart you can place posts around a fence so that the spacing is equal and there is a post at every corner.

A rectangular fence 84 feet by 60 feet with 24 posts spaced 12 feet apart, including all four corners. 84 ft by 60 ft posts 12 ft apart 7 + 5 + 7 + 5 = 24 spaces → 24 posts
Practice★★☆Not started
A craft shop wants to cut a sheet of foam board $150$ inches long by $90$ inches wide into equal squares, so that they are as large as possible and no piece is left…

A craft shop wants to cut a sheet of foam board $150$ inches long by $90$ inches wide into equal squares, so that they are as large as possible and no piece is left over.

  1. a) What dimensions will the side of each square have?
  2. b) If each square is sold for $\$2,50$, how much money will they get from selling all the squares that come out of the sheet?
$2,50 150 in 90 in l l
Solve
Practice★★★Not started
An urban artist wants to design a mural on a rectangular wall that measures $210$ inches high by $165$ inches wide. For her design, she wants to divide the entire wall…

An urban artist wants to design a mural on a rectangular wall that measures $210$ inches high by $165$ inches wide. For her design, she wants to divide the entire wall into equal squares, so that they are as large as possible and she does not have to cut any pieces.

  1. a) How long must the side of each square be to cover the whole wall?
  2. b) How many squares will the mural have in total?
165 in 210 in MURAL x x ?
Solve
Practice★★★Not started
A gardener wants to surround a rectangular vegetable patch $90$ feet long and $126$ feet wide with posts for a fence. The owner of the patch has asked him to place a…

A gardener wants to surround a rectangular vegetable patch $90$ feet long and $126$ feet wide with posts for a fence. The owner of the patch has asked him to place a post in each corner and that the distance between each post is always the same and as large as possible.

  1. a) What distance must he leave between each post?
  2. b) How many posts will he need in total to surround the entire perimeter of the vegetable patch?
Vegetable patch d = maximum distance 126 ft 90 ft d d
Solve

Puzzles with remainders and missing numbers

These problems are about what the GCF means, so they are good practice for reasoning.

Dividing with a remainder

If a number $n$ divided by $d$ leaves remainder $r$, then $n - r$ is a multiple of $d$, because taking away the remainder leaves an exact division. So remove the remainder first, then take the GCF.

Finding or inventing a number with a given GCF

Practice★★☆Not started
Make up two different natural numbers, $a$ and $b$, so that the following condition is met: $M.C.D.(a, b) = 12$ Explain your answer by showing the prime factorization of…

Make up two different natural numbers, $a$ and $b$, so that the following condition is met:

$M.C.D.(a, b) = 12$

Explain your answer by showing the prime factorization of the chosen numbers.

Solve
Practice★★★Not started
We are looking for the largest possible number that, when dividing the numbers $159$ and $195$, leaves a remainder of $3$ units in both cases. Explain the steps you…

We are looking for the largest possible number that, when dividing the numbers $159$ and $195$, leaves a remainder of $3$ units in both cases. Explain the steps you follow to find it using the concept of Greatest Common Factor.

Solve
Practice★★★Not started
We know that the Greatest Common Factor of two numbers is $12$ and that one of those numbers is $48$. If the other number is greater than $50$ but less than $70$: a)…

We know that the Greatest Common Factor of two numbers is $12$ and that one of those numbers is $48$. If the other number is greater than $50$ but less than $70$:

  1. a) Find what that second number is.
  2. b) Explain why it could not be the number $60$ using prime factorization.
Solve

Back to the start: Mateo's ribbons are $30 = 2 \cdot 3 \cdot 5$ inches and $45 = 3^2 \cdot 5$ inches. The common primes are $3$ and $5$, so $\text{GCF}(30, 45) = 15$. Each piece is $15$ inches long, and he gets $2$ pieces from the first ribbon and $3$ from the second.

Summary

See all the exercises in this section