Greatest common factor (GCF) of 30 and 45 is 15. We will now calculate the prime factors of 30 and 45, than find the greatest common factor (greatest common divisor (gcd)) of the numbers by matching the biggest common factor of 30 and 45.