Skip to content
NexUnit home
EnglishEspañol

GCF Calculator

Find the greatest common factor (GCF, also called GCD or HCF) of two or more whole numbers.

Greatest common factor

12

Each number ÷ GCF
4, 15, 50

Show the work

  1. Euclid's algorithm

    gcd(a, b) = gcd(b, a mod b)

    gcd(48, 180) = gcd(180, 48) = gcd(48, 36) = gcd(36, 12) = gcd(12, 0) = 12

  2. Then the next number

    gcd(a, b) = gcd(b, a mod b)

    gcd(12, 600) = gcd(600, 12) = gcd(12, 0) = 12

Want this on your site? Embed the gcf calculator.