Summarize this article:
246 LearnersLast updated on December 8, 2025

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.

The Greatest Common Divisor (GCD) of two positive integers a and b is the largest positive number that divides both numbers exactly, without leaving any remainder. The GCD is always a positive value and never zero, because even if two numbers have no other common factors, they will always have 1 as a common divisor. The full form of GCD is Greatest Common Divisor. In simple terms, it is the largest number that divides a set of positive numbers without leaving a remainder.
Let see an example: Find the GCD of 18 and 24
Step 1: List the factors of each number
Factors of 18: 1, 2, 3, 6, 9, 18
Factors of 24: 1, 2, 3, 4, 6, 8, 12, 24
Step 2: Identify the common factors
Common factors: 1, 2, 3, 6
Step 3: Choose the greatest (largest) common factor
The greatest common factor is 6
Final Answer: GCD(18, 24) = 6
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. |
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\).


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,
GCD\((12, 16) = 4\)
GCD \((8, 4) = 4\)
So, GCD(8, GCD \((12, 16)) = 4\)
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:
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.
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\).
The LCM method is another way to find the GCD of two positive integers, a and b.
According to this method, the GCD can be found using this formula:
\(\text{GCD}(a,b) = \frac{a \times b}{\text{LCM}(a,b)}\)
This means that once you know the Least Common Multiple (LCM) of two numbers, you can easily calculate their GCD by dividing the product of the two numbers by their LCM.
To find the GCD of two numbers a and b using their LCM, follow these simple steps:
Multiply the numbers:
Calculate the product a × b.
Find the LCM:
Determine the Least Common Multiple of a and b.
Divide:
Divide the product a × b by the LCM.
Get the GCD:
The answer you get from the division is the Greatest Common Divisor (GCD) of the two numbers.
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:
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.
Greatest Common Divisors (GCD) are useful in everyday lives in many ways, and some of them are listed below.
Determine the GCD of 64 and 32.
GCD\((64, 32) = 32\)
\(64 = 2^6 \)
\(32 = 2^5 \)
So, the only prime factor is 2.
Now, multiply the lowest exponents:
GCD \((64,32) = 2^5=32 \)
Find the GCD of 72 and 56 using the Euclidean Algorithm.
GCD\( (72, 56) = 8\)
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 \)
Find the GCD of 45 and 0.
GCD\( (45,0) = 45 \)
We apply the rule:
GCD\((a, 0) = a\)
Here \(a = 45\)
So, GCD \((45, 0) = 45.\)
Find the GCD of 106 and 1 using the Euclidean Algorithm.
GCD \((a, 0) = a\), so we get GCD\((1, 0) = 1\).
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).
Determine the GCD of 98 and 120.
GCD \((98, 120) = 2\)
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\)
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.
: She loves to read number jokes and games.






