# GCF Calculator

> 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.

Source: https://toffeekit.com/tools/gcf-calculator

**Category:** [Math](https://toffeekit.com/category/math) · **Price:** Free · **Runs:** in your browser, nothing is uploaded

Open the tool: https://toffeekit.com/tools/gcf-calculator

**Also useful for:** gcf, gcd, hcf, greatest common factor, greatest common divisor, highest common factor, with steps, euclidean algorithm

## What you can do

- **Two numbers** — GCF of 84 and 126 by prime factors and by Euclid. ([open with this preset](https://toffeekit.com/tools/gcf-calculator?preset=two))
- **Three numbers** — 48, 72 and 120 share a GCF of 24. ([open with this preset](https://toffeekit.com/tools/gcf-calculator?preset=three))

## How it works

1. Type two or more whole numbers, separated by commas or spaces.
2. Read the greatest common factor at the top, with the LCM next to it.
3. Follow the prime factorization steps and the Euclidean algorithm check.
4. For smaller numbers, compare the full factor lists with the shared factors highlighted.

## FAQ

### What is the greatest common factor?

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.

### How do you find the GCF using prime factorization?

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.

### Is GCF the same as GCD and HCF?

Yes. Greatest common factor, greatest common divisor and highest common factor all mean the same thing.

### What is the GCF of two prime numbers?

It is always 1, because primes share no factors. Numbers with a GCF of 1 are called relatively prime or coprime.

### What is the Euclidean algorithm?

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.

### Is GCF Calculator free and private?

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.

## Privacy

GCF Calculator runs entirely in your browser. Your files and text are processed on your device and are never uploaded.

## Related tools

- [Percentage Calculator](https://toffeekit.com/tools/percentage-calculator) — Percent of, percent change, add or subtract %.
- [Fraction Calculator](https://toffeekit.com/tools/fraction-calculator) — Add, subtract, multiply and divide fractions and mixed numbers, with the answer simplified and every step shown.
- [Simplify Fractions Calculator](https://toffeekit.com/tools/simplify-fractions-calculator) — Reduce any fraction or mixed number to lowest terms using the greatest common factor, with the prime factors shown.
- [Decimal to Fraction](https://toffeekit.com/tools/decimal-to-fraction) — Convert decimals to fractions, including repeating decimals like 0.333… and 0.1666…, with steps and the closest inch fraction.
- [Fraction to Decimal](https://toffeekit.com/tools/fraction-to-decimal) — Turn fractions and mixed numbers into decimals, spot repeating digits, and see the long division and a full conversion chart.
- [LCM Calculator](https://toffeekit.com/tools/lcm-calculator) — Find the least common multiple of two or more numbers, with prime factors, listed multiples and the GCF shortcut.

