BrightChamps Logo
Login
Creative Math Ideas Image
Live Math Learners Count Icon104 Learners

Last updated on July 4th, 2025

Math Whiteboard Illustration

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 Indian 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:
 

  1. We begin by listing all the divisors of a.
     
  2. Then, list all the divisors of b.
     
  3. Identify the common divisors of a and b.
     
  4. The GCD is the largest common divisor out of the listed divisors.

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

 

  • Divisors of 40 = 1, 2, 4, 5, 8, 10, 20, 40.
     
  • Divisors of 60 = 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60.
     
  • Common divisors = 1, 2, 4, 5, 10, 20.
     
  • 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, so 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 × 32 × 5

Prime factorization of 150: 2 × 3 × 52

Common prime factors are 2, 3, and 5

Taking the smallest exponent for each number, we get, 21, 31, 51

Therefore, GCD is 21 × 31 × 51 = 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 two consecutive numbers will always be 1.

     
  • There is just one common factor for co-prime numbers, i.e., 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
Max from BrightChamps Saying "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"

GCD(64, 32) = 32
 

Explanation

64 = 26

32 = 25

So, the only prime factor is 2.

Now, multiply the lowest exponents:

GCD (64, 32) = 25 = 32
 

Max from BrightChamps Praising Clear Math Explanations
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"

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
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"

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
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"

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 get:


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
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"

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
Ray Thinking Deeply About Math Problems

FAQs on Greatest Common Divisor

1.What do you mean by the term GCD?

Math FAQ Answers Dropdown Arrow

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

Math FAQ Answers Dropdown Arrow

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

Math FAQ Answers Dropdown Arrow

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

Math FAQ Answers Dropdown Arrow

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

Math FAQ Answers Dropdown Arrow

6.How can children in India use numbers in everyday life to understand Greatest Common Divisor (GCD)?

Math FAQ Answers Dropdown Arrow

7.What are some fun ways kids in India can practice Greatest Common Divisor (GCD) with numbers?

Math FAQ Answers Dropdown Arrow

8.What role do numbers and Greatest Common Divisor (GCD) play in helping children in India develop problem-solving skills?

Math FAQ Answers Dropdown Arrow

9.How can families in India create number-rich environments to improve Greatest Common Divisor (GCD) skills?

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
Dubai - 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