Greatest Common Factor of 63 and 42

The greatest common factor of 63 and 42 is 21. It is the biggest whole number that divides both of them evenly: 63 ÷ 21 = 3 and 42 ÷ 21 = 2.

Answer

21

  1. Prime factorize each number

    63 = 32 × 7
    42 = 2 × 3 × 7

  2. Multiply the shared factors

    Take each prime they all share, at its lowest power: GCF = 21 (3 × 7)

  3. Check

    63 ÷ 21 = 3, 42 ÷ 21 = 2 ✓

Jump to a section

Below you will see three ways to get there, why they all agree, and what to do with the answer once you have it.

What is the GCF of 63 and 42?

The greatest common factor (also called the highest common factor, or HCF) is the largest number that goes into two numbers with nothing left over. For 63 and 42, that number is 21. Nothing larger divides both: 42 has no factor between 21 and 42 itself, and 42 does not divide 63.

A useful fact to keep in your pocket: every common factor of two numbers also divides their GCF. The common factors of 63 and 42 are 1, 3, 7 and 21, and all of them divide 21 neatly.

How do you find the GCF of 63 and 42 with prime factors?

Prime factorization is the method I trust most, because it works on any pair of numbers, large or small. Break each number into primes, then keep what they share.

  1. Factor 63: 63 = 3 × 3 × 7, which is 3² × 7.
  2. Factor 42: 42 = 2 × 3 × 7.
  3. Find the primes in both: a 3 and a 7.
  4. Multiply them: 3 × 7 = 21.

When a prime appears in both numbers, take it the fewest times it appears in either one. Here 3 appears twice in 63 but only once in 42, so you use it once. The 2 appears only in 42, so it does not make the cut.

The most common slip I see in class is grabbing every prime from both lists, which gives you something larger than either number can handle. If your answer is bigger than the smaller number (42), something went wrong.

What are the factors of 63 and 42?

Listing is the friendliest method for small numbers. Write every factor pair for each number, then circle what appears in both lists.

Number All factors
63 1, 3, 7, 9, 21, 63
42 1, 2, 3, 6, 7, 14, 21, 42

The numbers on both lines are 1, 3, 7 and 21. The largest is 21, so that is the GCF. Listing gets slow with big numbers, which is where prime factors or the next method pull ahead.

Is there a faster way to find the GCF of 63 and 42?

Yes, and it is a lovely mental trick: subtract. The GCF of two numbers also divides their difference. Here 63 − 42 = 21, so the GCF must be a factor of 21. Then check whether 21 divides 42. It does (42 = 2 × 21), so 21 is the answer. Done in two moves.

Four rising step cards show the subtraction shortcut: 63 minus 42 equals 21, 42 divided by 21 leaves 0, so GCF is 21
Subtract first, then test the difference: 63 − 42 = 21 divides 42 evenly, so 21 is the GCF.

The full version is the Euclidean algorithm, which repeats division with remainders:

  • 63 ÷ 42 = 1 remainder 21
  • 42 ÷ 21 = 2 remainder 0

The last nonzero remainder is the GCF: 21. This is the method to reach for with numbers like 1,071 and 462, where listing factors would take all afternoon.

If one number is a multiple of the other, the smaller one is the GCF. That is the case in the GCF of 21 and 63, where 63 = 3 × 21, so the answer is simply 21.

Quick check

Divide both numbers by your answer. If you get whole numbers with no common factor left (here 3 and 2), you have the greatest common factor and not just a common one.

What is the LCM of 63 and 42?

The least common multiple is the smallest number that both 63 and 42 divide into. It is 126, because 63 × 2 = 126 and 42 × 3 = 126. The GCF and LCM are linked by a handy rule: GCF × LCM = the two numbers multiplied together.

Check it: 21 × 126 = 2,646, and 63 × 42 = 2,646. The match tells you both answers are right. If you want practice with the LCM side, try the LCM of 12 and 18, which works the same way.

How do you simplify 42/63 with the GCF?

This is where the GCF earns its keep. To reduce a fraction to lowest terms, divide the top and bottom by their GCF. For 42/63, divide both by 21: 42 ÷ 21 = 2 and 63 ÷ 21 = 3. So 42/63 = 2/3, and it cannot be reduced further because 2 and 3 share nothing.

Two columns show numerator 42 becoming 2 and denominator 63 becoming 3 after dividing by 21
Dividing both the top and bottom of 42/63 by the GCF 21 gives 2/3 at once.

Flip it and 63/42 = 3/2, which is 1 1/2 as a mixed number, or 1.5 as a decimal. Dividing by the GCF in one step beats reducing in small stages (÷ 3, then ÷ 7), though both routes land in the same place. The same idea turns decimals into fractions, as in 1.35 as a fraction, where 135/100 reduces by 5 to 27/20.

Try this: Find the GCF of 84 and 126 by subtracting first (126 − 84 = 42), then test whether 42 divides 84. Say your answer out loud, then check it with prime factors.

Where is the GCF used, and what comes next?

The GCF shows up whenever you need to split two quantities into equal, whole groups with nothing left over. Some everyday cases:

  • Cutting a 63 cm board and a 42 cm board into identical pieces: the longest piece is 21 cm, giving 3 and 2 pieces.
  • Sharing 63 pencils and 42 erasers across the most possible identical kits: 21 kits, each with 3 pencils and 2 erasers.
  • Tiling or arranging items in equal rows when two counts must match a pattern.

After this skill, factoring algebra is the natural next step. Pulling the GCF out of an expression like 63x + 42 gives 21(3x + 2), and it is exactly the same thinking. To keep building, compare a pair that shares a different amount, such as the GCF of 16 and 28, or see how a smaller case works in the GCF of 9 and 18. For a pair with a longer list of common factors, look at the highest common factor of 36 and 48.

Practice problems

Try these on paper first, then check your answer or load the full steps into the solver.

  1. gcf of 28 and 4214
  2. gcf of 54 and 9018
  3. gcf of 84 and 12642
  4. gcf of 252 and 19818

Greatest Common Factor of 63 and 42: common questions

What is the GCF of 63 and 42?

The GCF of 63 and 42 is 21. It is the largest whole number that divides both 63 and 42 with no remainder, since 63 ÷ 21 = 3 and 42 ÷ 21 = 2.

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 number. Which one you see depends on your country or textbook.

Are 63 and 42 coprime?

No. Two numbers are coprime only when their GCF is 1, and the GCF of 63 and 42 is 21. They share the prime factors 3 and 7.

What is the LCM of 63 and 42?

The LCM of 63 and 42 is 126. You can confirm it with the rule GCF × LCM = product of the numbers: 21 × 126 = 2,646, and 63 × 42 = 2,646.

More gcf & lcm problems