BrightChamps Logo
Login

Summarize this article:

Live Math Learners Count Icon209 Learners

Last updated on October 16, 2025

Greatest Common Divisor (GCD)

Professor Greenline Explaining Math Concepts

The Greatest Common Divisor is the largest number that can divide two or more numbers without leaving a remainder. The GCD helps children understand how they can divide items into equal parts without any remainders. In this article, we will discuss the significance of the concept and how to find GCD.

Greatest Common Divisor (GCD) for US Students
Professor Greenline from BrightChamps

What is the Greatest Common Divisor?

GCD is the greatest number that evenly divides two or more given numbers. For example, GCD of 24 and 36 is 12 because 12 is the largest common divisor. Note that the GCD of a number is always a positive number.

Professor Greenline from BrightChamps

Difference between GCD and LCM

GCD and LCM are two interrelated but different concepts. Let’s look at some key differences between them:

GCD

LCM

 

Stands for Greatest Common Divisor.

 

Stands for Least Common Multiple.

 

GCD is the largest positive integer that divides two or more numbers evenly (without a remainder).

 

LCM is the smallest positive number that is a multiple of two or more numbers. 

 

The GCD of two or more numbers is always less than or equal to the smallest of those numbers.

 

LCM of two or more numbers is always greater than or equal to the largest of the given numbers.

 

Denoted as GCD (a, b), where a and b are integers.

 

Denoted as LCM (a, b), where a and b are integers.

 

Professor Greenline from BrightChamps

How to Find the Greatest Common Divisor?

To find the GCD of two positive integers, we use the following steps:
 

Step 1: We begin by listing all the divisors of a.
 

Step 2: Then, list all the divisors of b.
 

Step 3: Identify the common divisors of a and b.
 

Step 4: The GCD is the largest common divisor out of the listed divisors.

 

   

 For example, let’s calculate the GCD of 40 and 60.
 

Step 1: Divisors of 40 = 1, 2, 4, 5, 8, 10, 20, 40.
 

Step 2: Divisors of 60 = 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60.
 

Step 3: Common divisors = 1, 2, 4, 5, 10, 20.
 

Step 4: The greatest common divisor of these numbers is 20.

So, we write: GCD \((40, 60) = 20\).

Professor Greenline from BrightChamps

Properties of GCD

The greatest common divisor (GCD) obeys certain mathematical properties. Here are a few important ones:

 

Commutative Property

Since the order of the numbers does not change the final result, GCD is commutative, i.e., GCD \( (a, b) = \) GCD\( (b, a)\)

For example: GCD\((12, 18) = \).GCD\((18, 12) = 6\)

 

Associative Property

The GCD is associative because the grouping of numbers does not change the result, i.e., GCD (\(a, \)GCD\((b, c)) =\) GCD(GCD\( (a, b), c)\)

For example,
 

  • First Grouping: GCD(\(8,\) GCD \((12,16))\)


GCD\((12, 16) = 4\)

GCD \((8, 4) = 4\)

So, GCD(8, GCD \((12, 16)) = 4\)
 

  •  Second Grouping: GCD(GCD\((8, 12), 16)\)


GCD\((8, 12) = 4\)

GCD\((4, 16) = 4\)

So, GCD(GCD\((8, 12), 16) = 4\)

GCD\( (8,\) GCD\((12, 16)) =\) GCD(GCD\((8, 12), 16)\)

Hence, GCD is associative.


Distributive Property (Over LCM)

The GCD is distributive over the Least Common Multiple (LCM). 

GCD\( (a, \)LCM\( (b, c)) = \)LCM (GCD \((a, b)\), GCD\((a, c)).\)

For example: GCD\( (8, \)LCM\( (12, 18)) = \)LCM (GCD \((8, 12),\) GCD \((8, 18))\)

Let’s look at the steps involved:
 

  • LCM \((12, 18) = 36 \)
     
  • GCD\( (8, 12) = 4\)
     
  • GCD\( (8, 18) = 2\)
     
  • LCM \((4, 2) = 4\)
     
  • GCD\( (8, 36) = 4\)
     

Therefore, 

GCD \((8,\) LCM\( (12, 18))\) = LCM (GCD\( (8, 12)\), GCD \((8, 18)) \)holds true.

 

Divisibility Property

According to the divisibility property, if d is given as GCD \((a, b),\) then it means d divides both a and b evenly. 
\(d ∣ a \) and \(d ∣ b\) where d = GCD (\(a, b)\).

Example: If d = GCD \((18, 24) = 6\), then \(6 ∣ 18\) and \( 6 ∣ 24\)

 

GCD with Zero

For any non-zero integer n, the GCD of 0 and n is n. However, the GCD of 0 and 0 is undefined because there is no greatest common divisor in this case.
 

GCD\((0, n) = n\), but GCD\((0, 0) =\) undefined.
 

Example: GCD\((12, 0) = 12\), but GCD\((0, 0)\) is undefined.

 

Multiplicative Property

According to the multiplicative property of GCD, if a and b are co-prime, then:

GCD\( (a × b, c) =\) GCD\( (a, c) ×\) GCD \((b, c). \)

For example:  Consider a = 7, b = 5, and c = 20.

Since 7 and 5 are co-prime;

(GCD \((7,5) = 1)\), GCD \((7 × 5, 20) =\) GCD \((7,20) ×\) GCD \((5,20)\) \(= 1 × 5 = 5 \)

Hence, the property holds true.

Professor Greenline from BrightChamps

Theories on GCD

Several significant theories lay the foundation of the Greatest Common Divisor. We will look at a few:


Euclidean Algorithm

The Euclidean Algorithm is a method used to find the GCD of two numbers using repeated division. In this process, the division is repeated until we get 0 as the remainder. For any two positive integers a and b, the algorithm uses the relation a \(= bq + r.   \)
Here, any common divisor of a and b is also a common divisor of b and r. Therefore, the GCD of a and b can be written as:

GCD \((a, b) =\) GCD \((b, r)\)

 

Let’s take a look at this with an example: GCD \((12, 10)\)


Step 1: Divide 12 by 10. Here, we get the remainder as 2.

So GCD \((12, 10) = \)GCD \((10, 2)\)


Step 2: Divide 10 by 2. Now, the remainder is 0. 

Since the remainder is 0. GCD \((12, 10) = 2.\)


 


Prime Factorization Theory

Prime Factorization theory states that the GCD of two numbers is obtained by multiplying the common prime factors with the smallest exponent.

Example: GCD\( (90, 150)\)

Determine the prime factorization of the given numbers:

Prime factorization of \(90: 2 × 3² × 5\)

Prime factorization of \(150: 2 × 3 × 5²\)

Common prime factors are 2, 3, and 5

Taking the smallest exponent for each number, we get, \(2¹, 3¹, 5¹ \)

Therefore, GCD is \(2¹ × 3¹ × 5¹ = 30\).

Professor Greenline from BrightChamps

Tips and Tricks for Greatest Common Divisor

The Greatest Common Divisor helps students perform complex arithmetic problems easily. Here are a few tips and tricks that help students easily grasp the concept:

 

  • Always remember that when a number is a multiple of another, the GCD is the smaller of the two. For example, GCD \((64, 32) = 32\).

     
  • The GCD of any two consecutive numbers is always 1.

     
  • There is just one common factor for co-prime numbers, and that is 1.

     
  • Apply the Euclidean Algorithm formula correctly.

     
  • Formula: GCD \((a, b) =\) GCD (b, a mod b), until the remainder is 0.
     
Max Pointing Out Common Math Mistakes

Common Mistakes and How to Avoid Them in Greatest Common Divisor

The greatest common divisor is significant; however, students often make mistakes when dealing with them. Here are some common mistakes and tips to avoid them.
 

Mistake 1

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Confusion between GCD and LCM.
 

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Students often confuse GCD and LCM. Understand that GCD is the largest number that can divide two given numbers evenly, while the LCM is the smallest number which they both (given numbers) share as a multiple.
 

Mistake 2

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Misunderstanding the GCD of 0 as 0.
 

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Incorrectly assuming that the GCD \((a, 0) = 0\). Always remember that the GCD of any number and zero is the number itself, i.e., GCD \((a, 0) = a\).
 

Mistake 3

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Overlooking negative numbers.

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Students might overlook the fact that GCD cannot be negative. To calculate the GCD, use the absolute values of the numbers to avoid confusion. 
 

Mistake 4

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Using prime factorization incorrectly.  
 

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

While using prime factorization, students make errors like missing a factor or incorrect factorization. Check if the prime factorization is correctly done by multiplying the factors, and check if the product aligns with the original number.
 

Mistake 5

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Selecting the highest exponents instead of the lowest.
 

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Some students mistakenly use the highest exponent while doing prime factorization. Remember that GCD uses the lowest exponent of the common factors and not the highest.
 

arrow-right
arrow-right
Professor Greenline from BrightChamps

Real-World Applications of Greatest Common Divisor

Greatest Common Divisors (GCD) are useful in everyday lives in many ways, and some of them are listed below. 
 

 

  • Simplifying fractions: To reduce a fraction like \(\frac{36}{48} \) to its lowest terms, we have to divide numerator and denominator by their GCD, which is 12. Thus, the result becomes \(\frac{3}{4} \). This is a direct daily use of GCD in schoolwork and budgeting. 

     
  • Sharing items equally without remainder: While distributing identical items like candies, pencil or gifts, among the children with nothing being left over, GCD tells the maximum size of each equal share. 

     
  • Working with time schedules and repeated events: When events repeat at different intervals, and you want a common time when they align, GCD helps. For instance, one signal flashes every 8 minutes and another every 12 minutes, the next time they flash together is every GCD \((8,12) = 4\) minutes. 

     
  • Breaking down large numbers in engineering: In allocating resources like materials, wires and so on, in equal segments without leftover, engineers uses GCD. 

     
  • Music and rhythms: In music, if two rhythms repeat after different counts, the point where they sync is the GCD. Musicians and composers often use this kind of reasoning for overlays, beats and loops. 
Max from BrightChamps Saying "Hey"
Hey!

Solved Examples of Greatest Common Divisor

Ray, the Character from BrightChamps Explaining Math Concepts
Max, the Girl Character from BrightChamps

Problem 1

Determine the GCD of 64 and 32.

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

GCD\((64, 32) = 32\)
 

Explanation

\(64 = 2^6 \)

\(32 = 2^5 \)

So, the only prime factor is 2.

Now, multiply the lowest exponents:

GCD \((64,32) = 2^5=32 \)
 

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Max, the Girl Character from BrightChamps

Problem 2

Find the GCD of 72 and 56 using the Euclidean Algorithm.

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

GCD\( (72, 56) = 8\)
 

Explanation

We first use the Euclidean Algorithm:


GCD(a, b) = GCD(b, a mod b)


Divide 72 by 56 → \(72 ÷ 56 = 1\) remainder 16


 GCD(72, 56) = GCD(56, 16)


Divide 56 by \(16 → 56 ÷ 16 = 3\) remainder 8


 GCD\((56, 16)\) = GCD\((16, 8)\)


Divide 16 by \(8 → 16 ÷ 8 = 2\) remainder 0


 GCD\((16, 8) = \)GCD\((8, 0)\)


Since GCD\((a, 0) = a\), we get GCD\((8, 0) = 8\)


Therefore, GCD\((72, 56) = 8 \)

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Max, the Girl Character from BrightChamps

Problem 3

Find the GCD of 45 and 0.

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

GCD\( (45,0) = 45 \)
 

Explanation

We apply the rule:


GCD\((a, 0) = a\)


Here \(a = 45\)


So, GCD \((45, 0) = 45.\)
 

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Max, the Girl Character from BrightChamps

Problem 4

Find the GCD of 106 and 1 using the Euclidean Algorithm.

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

GCD \((a, 0) = a\), so we get GCD\((1, 0) = 1\).
 

Explanation

We first apply Euclid’s Algorithm,


GCD\((a, b) = \)GCD(b, a mod b)


Divide 106 by 1:


\(106 ÷ 1 = 106\) with a remainder of 0


So,


GCD\((106, 1) = 1\)


Since GCD\((a,0) = a,\)

we have GCD \((106,1) =\) GCD\( (1,0) = 1\).


Therefore, we can conclude that the GCD of any number and 1 is always 1 (since 1 is a common factor of every integer).

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Max, the Girl Character from BrightChamps

Problem 5

Determine the GCD of 98 and 120.

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

GCD \((98, 120) = 2\)
 

Explanation

We first determine the Prime Factorization of the given numbers:


\(98 = 2 × 7² \)

\(120 = 2³ × 3 × 5\)


Then, identify the common factors,


The only common prime factor is 2.


Now, we multiply the lowest exponents:


GCD \((98, 120) = 2\)
 

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Ray Thinking Deeply About Math Problems

FAQs on Greatest Common Divisor

1.What do you mean by the term GCD?

GCD refers to the greatest common divisor that can completely divide two or more numbers without any remainder.
 

Math FAQ Answers Dropdown Arrow

2.Name the two major methods used to determine GCD.

The two major methods are:

  • Prime factorization method
  • Euclidean algorithm
     

Math FAQ Answers Dropdown Arrow

3.Is it possible for the GCD of two integers to be greater than the smaller one?

No, the GCD of two numbers will always be less than or equal to the smaller number.

Math FAQ Answers Dropdown Arrow

4.How can we apply GCD in our real life?

GCD is used to simplify fractions and divide things into equal groups. We also use GCD in arranging any items.
 

Math FAQ Answers Dropdown Arrow

5.What can be the GCD of two prime numbers?

Since prime numbers have no common factors other than 1, the GCD of two prime numbers is always 1.
 

Math FAQ Answers Dropdown Arrow

6.My child gets confused between GCD and LCM. How can I explain the difference easily?

GCD (Greatest Common Divisor) divides things into smaller, equal parts. Whereas, LCM (Least Common Multiple) helps find when things come together again. While GCD focuses on dividing, LCM focuses on repeating.

Math FAQ Answers Dropdown Arrow

7.What are some easy ways for parents to teach their children GCD at home?

You can use real objects like fruits or candies. For example, if you have 12 apples and 8 oranges, ask your child: “What’s the biggest number of fruit baskets we can make so that each has the same number of apples and oranges?” This turns abstract math into a fun, practical game.

Math FAQ Answers Dropdown Arrow
Math Teacher Background Image
Math Teacher Image

Hiralee Lalitkumar Makwana

About the Author

Hiralee Lalitkumar Makwana has almost two years of teaching experience. She is a number ninja as she loves numbers. Her interest in numbers can be seen in the way she cracks math puzzles and hidden patterns.

Max, the Girl Character from BrightChamps

Fun Fact

: She loves to read number jokes and games.

INDONESIA - Axa Tower 45th floor, JL prof. Dr Satrio Kav. 18, Kel. Karet Kuningan, Kec. Setiabudi, Kota Adm. Jakarta Selatan, Prov. DKI Jakarta
INDIA - H.No. 8-2-699/1, SyNo. 346, Rd No. 12, Banjara Hills, Hyderabad, Telangana - 500034
SINGAPORE - 60 Paya Lebar Road #05-16, Paya Lebar Square, Singapore (409051)
USA - 251, Little Falls Drive, Wilmington, Delaware 19808
VIETNAM (Office 1) - Hung Vuong Building, 670 Ba Thang Hai, ward 14, district 10, Ho Chi Minh City
VIETNAM (Office 2) - 143 Nguyễn Thị Thập, Khu đô thị Him Lam, Quận 7, Thành phố Hồ Chí Minh 700000, Vietnam
UAE - BrightChamps, 8W building 5th Floor, DAFZ, Dubai, United Arab Emirates
UK - Ground floor, Redwood House, Brotherswood Court, Almondsbury Business Park, Bristol, BS32 4QW, United Kingdom