Find the greatest common divisor of 24 and 36 by listing all factors
of each number, identifying the shared ones, and picking the largest.
GCD(24, 36) = 12.
Example
Find the greatest common factor of 24 and 36 by listing factors.
highlighted = computed this step
Step 1 — Set up
Set up the numbers to test.
gcd(24,36)
Step 2 — List first factors
List every factor of 24.
factorsof24:1,2,3,4,6,8,12,24
Step 3 — List second factors
List every factor of 36.
factorsof36:1,2,3,4,6,9,12,18,36
Step 4 — Mark common factors
Mark the 6 common factors.
common:1,2,3,4,6,12
Step 5 — Result
The greatest common factor is 12.
gcd(24,36)=12
greatest-common-divisorThe GCD of two numbers is the largest factor they share. List every factor of each number, then circle the ones that appear on both lists. The biggest circled number is the GCD. It tells you the largest piece both numbers can be evenly divided into.