Find the greatest common factor (GCD) of two or more numbers, with prime factorization, the factor lists and the Euclidean algorithm. Runs entirely in your browser, so nothing is uploaded.
6 answers to what people ask most about the GCF Calculator.
The GCF is the largest whole number that divides every number in a set with no remainder. The GCF of 12 and 18 is 6.
Factor each number into primes, then multiply the primes they share, each with its lowest power. 24 = 2³ × 3 and 36 = 2² × 3², so the GCF is 2² × 3 = 12.
Yes. Greatest common factor, greatest common divisor and highest common factor all mean the same thing.
It is always 1, because primes share no factors. Numbers with a GCF of 1 are called relatively prime or coprime.
Divide the larger number by the smaller and keep the remainder, then repeat with the smaller number and the remainder. The last non-zero remainder is the GCF.
Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.
Something not working? Tell us and we'll fix it.
Report an issuePercent of, percent change, add or subtract %.
Add, subtract, multiply and divide fractions and mixed numbers, with the answer simplified and every step shown.
Reduce any fraction or mixed number to lowest terms using the greatest common factor, with the prime factors shown.
Convert decimals to fractions, including repeating decimals like 0.333… and 0.1666…, with steps and the closest inch fraction.