Greatest Common Factor Calculator (2024)

Calculator Use

Calculate GCF, GCD and HCF of a set of two or more numbers and see the work using factorization.

Enter 2 or more whole numbers separated by commas or spaces.

The Greatest Common Factor Calculator solution also works as a solution for finding:

  • Greatest common factor (GCF)
  • Greatest common denominator (GCD)
  • Highest common factor (HCF)
  • Greatest common divisor (GCD)

What is the Greatest Common Factor?

The greatest common factor (GCF or GCD or HCF) of a set of whole numbers is the largest positive integer that divides evenly into all numbers with zero remainder. For example, for the set of numbers 18, 30 and 42 the GCF = 6.

Greatest Common Factor of 0

Any non zero whole number times 0 equals 0 so it is true that every non zero whole number is a factor of 0.

k × 0 = 0 so, 0 ÷ k = 0 for any whole number k.

For example, 5 × 0 = 0 so it is true that 0 ÷ 5 = 0. In this example, 5 and 0 are factors of 0.

GCF(5,0) = 5 and more generally GCF(k,0) = k for any whole number k.

However, GCF(0, 0) is undefined.

How to Find the Greatest Common Factor (GCF)

There are several ways to find the greatest common factor of numbers. The most efficient method you use depends on how many numbers you have, how large they are and what you will do with the result.

Factoring

To find the GCF by factoring, list out all of the factors of each number or find them with a Factors Calculator. The whole number factors are numbers that divide evenly into the number with zero remainder. Given the list of common factors for each number, the GCF is the largest number common to each list.

Example: Find the GCF of 18 and 27

The factors of 18 are 1, 2, 3, 6, 9, 18.

The factors of 27 are 1, 3, 9, 27.

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

The greatest common factor of 18 and 27 is 9.

Example: Find the GCF of 20, 50 and 120

The factors of 20 are 1, 2, 4, 5, 10, 20.

The factors of 50 are 1, 2, 5, 10, 25, 50.

The factors of 120 are 1, 2, 3, 4, 5, 6, 8, 10, 12, 15, 20, 24, 30, 40, 60, 120.

The common factors of 20, 50 and 120 are 1, 2, 5 and 10. (Include only the factors common to all three numbers.)

The greatest common factor of 20, 50 and 120 is 10.

Prime Factorization

To find the GCF by prime factorization, list out all of the prime factors of each number or find them with a Prime Factors Calculator. List the prime factors that are common to each of the original numbers. Include the highest number of occurrences of each prime factor that is common to each original number. Multiply these together to get the GCF.

You will see that as numbers get larger the prime factorization method may be easier than straight factoring.

Example: Find the GCF (18, 27)

The prime factorization of 18 is 2 x 3 x 3 = 18.

The prime factorization of 27 is 3 x 3 x 3 = 27.

The occurrences of common prime factors of 18 and 27 are 3 and 3.

So the greatest common factor of 18 and 27 is 3 x 3 = 9.

Example: Find the GCF (20, 50, 120)

The prime factorization of 20 is 2 x 2 x 5 = 20.

The prime factorization of 50 is 2 x 5 x 5 = 50.

The prime factorization of 120 is 2 x 2 x 2 x 3 x 5 = 120.

The occurrences of common prime factors of 20, 50 and 120 are 2 and 5.

So the greatest common factor of 20, 50 and 120 is 2 x 5 = 10.

Euclid's Algorithm

What do you do if you want to find the GCF of more than two very large numbers such as 182664, 154875 and 137688? It's easy if you have a Factoring Calculator or a Prime Factorization Calculator or even the GCF calculator shown above. But if you need to do the factorization by hand it will be a lot of work.

How to Find the GCF Using Euclid's Algorithm

  1. Given two whole numbers, subtract the smaller number from the larger number and note the result.
  2. Repeat the process subtracting the smaller number from the result until the result is smaller than the original small number.
  3. Use the original small number as the new larger number. Subtract the result from Step 2 from the new larger number.
  4. Repeat the process for every new larger number and smaller number until you reach zero.
  5. When you reach zero, go back one calculation: the GCF is the number you found just before the zero result.

For additional information see our Euclid's Algorithm Calculator.

Example: Find the GCF (18, 27)

27 - 18 = 9

18 - 9 - 9 = 0

So, the greatest common factor of 18 and 27 is 9, the smallest result we had before we reached 0.

Example: Find the GCF (20, 50, 120)

Note that the GCF (x,y,z) = GCF (GCF (x,y),z). In other words, the GCF of 3 or more numbers can be found by finding the GCF of 2 numbers and using the result along with the next number to find the GCF and so on.

Let's get the GCF (120,50) first

120 - 50 - 50 = 120 - (50 * 2) = 20

50 - 20 - 20 = 50 - (20 * 2) = 10

20 - 10 - 10 = 20 - (10 * 2) = 0

So, the greatest common factor of 120 and 50 is 10.

Now let's find the GCF of our third value, 20, and our result, 10. GCF (20,10)

20 - 10 - 10 = 20 - (10 * 2) = 0

So, the greatest common factor of 20 and 10 is 10.

Therefore, the greatest common factor of 120, 50 and 20 is 10.

Example: Find the GCF (182664, 154875, 137688) or GCF (GCF(182664, 154875), 137688)

First we find the GCF (182664, 154875)

182664 - (154875 * 1) = 27789

154875 - (27789 * 5) = 15930

27789 - (15930 * 1) = 11859

15930 - (11859 * 1) = 4071

11859 - (4071 * 2) = 3717

4071 - (3717 * 1) = 354

3717 - (354 * 10) = 177

354 - (177 * 2) = 0

So, the the greatest common factor of 182664 and 154875 is 177.

Now we find the GCF (177, 137688)

137688 - (177 * 777) = 159

177 - (159 * 1) = 18

159 - (18 * 8) = 15

18 - (15 * 1) = 3

15 - (3 * 5) = 0

So, the greatest common factor of 177 and 137688 is 3.

Therefore, the greatest common factor of 182664, 154875 and 137688 is 3.

References

[1] Zwillinger, D. (Ed.). CRC Standard Mathematical Tables and Formulae, 31st Edition. New York, NY: CRC Press, 2003 p. 101.

[2] Weisstein, Eric W. "Greatest Common Divisor." From MathWorld--A Wolfram Web Resource.

Help With Fractions: Finding the Greatest Common Factor.

Wikipedia: Euclidean Algorithm.

Greatest Common Factor Calculator (2024)

FAQs

Can a calculator find the greatest common factor? ›

You can use a graphing calculator to quickly find the greatest common factor (GCF) of two or more numbers. A calculator is particularly useful when you need to find the GCF of large numbers. Find the GCF of 504 and 3,150. The GCF is also known as the greatest common divisor, or GCD.

How do I check my GCF answer? ›

To find the GCF of a set of numbers, list all the factors of each number. The greatest factor appearing on every list is the GCF. For example, to find the GCF of 6 and 15, first list all the factors of each number. Because 3 is the greatest factor that appears on both lists, 3 is the GCF of 6 and 15.

What is the answer to the greatest common factor? ›

The greatest common factor (GCF) of a set of numbers is the largest factor that all the numbers share. For example, 12, 20, and 24 have two common factors: 2 and 4. The largest is 4, so we say that the GCF of 12, 20, and 24 is 4.

How do I calculate the greatest common factor? ›

To find the GCD/GCF of two numbers, list their factors, identify the common factors, and choose the largest one. For example, the GCD/GCF of 12 and 8 is 4. Numbers with a GCD/GCF of 1 are called relatively prime.

What is the GCF of 27? ›

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

How to find common factors quickly? ›

To find common factors of two numbers, first, list out all the factors of two numbers separately and then compare them. Now write the factors which are common to both the numbers. These factors are called common factors of given two numbers.

What are the three methods for finding GCF? ›

To find the greatest common factor of two or more natural numbers, there are 3 methods that can be used - listing out of the common factors, prime factorization, and division method. Each method requires division and multiplication to obtain the GCF. For example, the GCF of 14 and 35 is 7.

How do you calculate GCF mentally? ›

As an easy example, let's say you need to find the GCF for 16 and 20. All you do is subtract 16 from 20, to get the difference, 4, and this number — 4 — is the largest number that could POSSIBLY go into both 16 and 20 evenly. Once you know that, just test 2, 3, and 4 to find the highest one that goes into 16 and 20.

How to solve GCF problems? ›

How do you find the GCF? Step 1: State the product of prime factors for each number. Step 2: Write all the prime factors for each number into a Venn diagram. Step 3: Multiply the prime factors in the intersection to find the GCF.

What is the simplest form of greatest common factor? ›

How can you use the greatest common factor to simplify fractions? You can divide the numerator and denominator of a fraction by their GCF to find the simplest form! You know the greatest common factor of 16 and 24 is 8. So, divide both 16 and 24 by 8.

What is the easiest way to find LCM and GCF? ›

To find the GCF of two numbers, first, find the common factors and choose the greatest one amongst them. LCM is found by finding the smallest multiple among the common multiples of the numbers. To find the LCM of two numbers, first, find the common multiples and choose the smallest one amongst them.

How to find factors in TI-84? ›

Finding the Factors of a Number:

1) Press y = 2) Enter Number/x 3) Press 2nd then Table 4) The integers in the x column that have corresponding integers in the y column are factor pairs of the number.

What is 42 and 84 greatest common factor? ›

The GCF of 84 and 42 is 42. To calculate the greatest common factor of 84 and 42, we need to factor each number (factors of 84 = 1, 2, 3, 4, 6, 7, 12, 14, 21, 28, 42, 84; factors of 42 = 1, 2, 3, 6, 7, 14, 21, 42) and choose the greatest factor that exactly divides both 84 and 42, i.e., 42.

Top Articles
7 Ways Americans Use Their Tax Refunds  - Milli Bank
How often should a computer be serviced? | Benefits of a service
Radikale Landküche am Landgut Schönwalde
Craigslist Free En Dallas Tx
Craigslist Monterrey Ca
Tabc On The Fly Final Exam Answers
Watch Mashle 2nd Season Anime Free on Gogoanime
My Boyfriend Has No Money And I Pay For Everything
GAY (and stinky) DOGS [scat] by Entomb
Giovanna Ewbank Nua
Corporate Homepage | Publix Super Markets
The Blind Showtimes Near Showcase Cinemas Springdale
Robot or human?
Simple Steamed Purple Sweet Potatoes
Synq3 Reviews
C-Date im Test 2023 – Kosten, Erfahrungen & Funktionsweise
今月のSpotify Japanese Hip Hopベスト作品 -2024/08-|K.EG
Slushy Beer Strain
Scholarships | New Mexico State University
Painting Jobs Craigslist
Hell's Kitchen Valley Center Photos Menu
2016 Hyundai Sonata Refrigerant Capacity
Dumb Money, la recensione: Paul Dano e quel film biografico sul caso GameStop
Foxy Brown 2025
Masterkyngmash
Www.dunkinbaskinrunsonyou.con
Plaza Bonita Sycuan Bus Schedule
Academy Sports Meridian Ms
Wisconsin Volleyball Team Boobs Uncensored
Inter Miami Vs Fc Dallas Total Sportek
Infinite Campus Asd20
Smayperu
Golden Tickets
Great Clips On Alameda
Craigs List Jonesboro Ar
The best Verizon phones for 2024
Heelyqutii
Craigslist Lakeside Az
Vocabulary Workshop Level B Unit 13 Choosing The Right Word
10 Rarest and Most Valuable Milk Glass Pieces: Value Guide
Nid Lcms
Ds Cuts Saugus
Craigslist Woodward
My Gsu Portal
La Qua Brothers Funeral Home
A rough Sunday for some of the NFL's best teams in 2023 led to the three biggest upsets: Analysis
Boyfriends Extra Chapter 6
Iron Drop Cafe
Diamond Desires Nyc
Wieting Funeral Home '' Obituaries
Factorio Green Circuit Setup
Latest Posts
Article information

Author: Greg O'Connell

Last Updated:

Views: 5636

Rating: 4.1 / 5 (62 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Greg O'Connell

Birthday: 1992-01-10

Address: Suite 517 2436 Jefferey Pass, Shanitaside, UT 27519

Phone: +2614651609714

Job: Education Developer

Hobby: Cooking, Gambling, Pottery, Shooting, Baseball, Singing, Snowboarding

Introduction: My name is Greg O'Connell, I am a delightful, colorful, talented, kind, lively, modern, tender person who loves writing and wants to share my knowledge and understanding with you.