GCF Calculator

Greatest common factor of several numbers.

Your numbers

Greatest common factor 12
Also called
GCD, HCF

About the GCF Calculator

The greatest common factor (GCF, also GCD or HCF) is the largest whole number that divides all your numbers with no remainder. It is found with Euclid’s algorithm.

Formula

Euclid: gcd(a, b) = gcd(b, a mod b), until the remainder is 0.

Questions

Frequently asked

How does the GCF Calculator work?

Euclid: gcd(a, b) = gcd(b, a mod b), until the remainder is 0. Results update as you type.

Is this GCF Calculator free and private?

Yes. It is free with no sign-in, and every calculation runs inside your browser. Nothing you type is sent to a server or stored, and the page keeps working offline once it has loaded.

Private by design. No accounts, no cookies, no tracking. Everything you type stays on your device.

How we keep it that way