GCF
calculator.

The greatest common factor of two whole numbers.

The greatest common factor is in the app.

The factor list and each division are in Stephen AI.

Get Stephen AI Free

Greatest common factor.
Three ways to find it.

GCF and greatest common factor are two names for the same number. OpenStax Contemporary Mathematics, section 3.1, also calls it the greatest common divisor: the largest whole number that divides both numbers. For 12 and 18, that number is 6. Stephen AI is a tutor for the steps below. A gcf calculator checks the factor you kept.

List the factors

OpenStax Prealgebra 2e, section 2.4, finds the factors of a counting number by dividing by 1, then 2, then 3, and so on, until the quotient is smaller than the divisor. When the quotient is a whole number, the divisor and the quotient are both factors. For 12, the pairs are 1 and 12, 2 and 6, and 3 and 4, so the factors are 1, 2, 3, 4, 6, and 12. For 18, the pairs are 1 and 18, 2 and 9, and 3 and 6. Division by 4 and by 5 does not come out even, and at 6 the quotient is already smaller, so the factors are 1, 2, 3, 6, 9, and 18. The numbers on both lists are 1, 2, 3, and 6. The greatest is 6, which is the result section 3.1 states for this pair.

Divide and keep the remainder

The Euclidean algorithm is the same question when the list would be long. Raji, An Introductory Course in Elementary Number Theory, section 1.6, uses ordinary division: if the larger number equals a quotient times the smaller number, plus a remainder smaller than that smaller number, the greatest common factor is unchanged when the larger number is replaced by the remainder. Repeat until the remainder is 0. The greatest common factor is the last remainder that is not zero. For this pair, 18 = 1 × 12 + 6, so 18 and 12 have the same greatest common factor as 12 and 6. Then 12 = 2 × 6 + 0. The last remainder that is not zero is 6.

Match the prime factors

OpenStax Prealgebra 2e, section 10.6, writes each number as a product of primes, keeps the primes both numbers share, and multiplies those shared primes. 12 = 2 × 2 × 3 and 18 = 2 × 3 × 3. Both lists contain one 2 and one 3. The product is 6, the same greatest common factor as the list.

The least common multiple is a different question. Section 3.1 defines it as the smallest positive whole number that is a multiple of each number in the set. Multiples of 12 include 12, 24, and 36. Multiples of 18 include 18 and 36. The least common multiple of 12 and 18 is 36. Simplifying a fraction uses the greatest common factor instead. OpenStax Prealgebra 2e, section 4.2, says a fraction is simplified when the numerator and the denominator have no common factor other than 1, and that a common factor comes out by the Equivalent Fractions Property. Divide 12 and 18 by 6 and 12/18 is 2/3. That check is what a fraction calculator is for.

Working a math problem one step at a time

Questions,
clearly answered.

What does GCF mean?

GCF means greatest common factor. It is the largest whole number that divides each of the numbers you started with. OpenStax Contemporary Mathematics, section 3.1, also calls this the greatest common divisor. For 12 and 18, the factors in common are 1, 2, 3, and 6, so the greatest common factor is 6.

What is the difference between GCF and LCM?

The greatest common factor divides both numbers. The least common multiple is a number both of them divide into. OpenStax Contemporary Mathematics, section 3.1, defines the least common multiple as the smallest positive common multiple of the set. For 12 and 18, the greatest common factor is 6. The least common multiple is 36, because 36 is a multiple of both and no smaller positive multiple is.

How does the Euclidean algorithm find the GCF of 12 and 18?

Divide the larger number by the smaller and replace the larger with the remainder. Raji, An Introductory Course in Elementary Number Theory, section 1.6, shows that the greatest common factor is the last remainder that is not zero. 18 = 1 × 12 + 6, then 12 = 2 × 6 + 0. The last remainder that is not zero is 6, so the greatest common factor of 12 and 18 is 6.

How do you find the GCF with prime factors?

Write each number as a product of primes, keep only the primes that appear in every list, and use the smaller count of each. OpenStax Prealgebra 2e, section 10.6, multiplies those shared primes. 12 = 2 × 2 × 3 and 18 = 2 × 3 × 3. The shared primes are one 2 and one 3, and 2 × 3 = 6.

How do you simplify a fraction with the GCF?

Divide the numerator and the denominator by their greatest common factor. OpenStax Prealgebra 2e, section 4.2, says a fraction is simplified when the numerator and the denominator have no common factor other than 1. The greatest common factor of 12 and 18 is 6, and 12/18 = 2/3.

Can you find the GCF of more than two numbers?

Yes. OpenStax Prealgebra 2e, section 10.6, defines the greatest common factor for two or more expressions: the largest factor every one of them shares. OpenStax Contemporary Mathematics, section 3.1, Example 3.19, finds it for 24, 42, and 30. Their prime factors are 2 × 2 × 2 × 3, 2 × 3 × 7, and 2 × 3 × 5. The primes in every list are 2 and 3, so the greatest common factor is 6.

Is it okay to use a GCF calculator on homework?

Use it to check the factor you found after you have listed the factors or finished the divisions. If the assignment is the work, copying only the greatest common factor skips what is being graded. Follow your class academic honesty policy.

Stephen AI Get it for Free