Greatest Common Factor (GCF) Calculator

Find the greatest common divisor of a list of signed whole numbers and see a Euclidean worked step.

Separate entries using commas, spaces or newlines. Type 1200 for one number; 1,200 is two entries.

Result

Enter values and select Calculate.

How is this calculated?

Repeatedly take remainders to find a pair’s GCF, then combine with each remaining entry.

Worked example: Build the most identical supply kits

From 84 clips, 126 ties and 210 labels, make 42 identical kits with no leftovers: 2 clips, 3 ties and 5 labels per kit.

Method and limits

Signs do not affect common factors. All-zero input is rejected because it has no largest positive common divisor.

How to use this calculator

  1. Enter two to twenty integers. Separate values with commas, spaces or a new line.
  2. Read the highlighted result. Divide each quantity by it to find how much goes into one equal group.

Make identical kits without leftovers

84 clips, 126 ties and 210 labels can make 42 identical kits. Each receives 2 clips, 3 ties and 5 labels. Any bigger common group count would leave a remainder for at least one supply.

Use GCF to count equal groups

Start with the inventory available for each item. This calculator returns how many identical groups can be formed, not how many items go in each group. If groups must have a minimum size, check a smaller shared factor too.

Read an exact Euclidean step

Divide one absolute value by the other and keep the remainder. The same common divisors divide both the previous divisor and the remainder. For 126 and 84, the remainder is 42; then 84 divides exactly by 42. Fold a third input into the running GCF.

Simplify a ratio in one pass

The ratio 48:80:112 becomes 3:5:7 when every term is divided by 16. Dividing by a number that does not divide all three terms does not produce a whole-number ratio.

Frequently asked questions

Is GCD the same as GCF?
Yes. Greatest common divisor and greatest common factor name the same positive integer when the list contains a nonzero value.
Does −48 give different factors than 48?
No. Their positive divisors coincide, so the sign does not change the result.
Can I enter zero?
Zero does not restrict the positive divisors of another number. An all-zero list has no greatest positive common divisor, so it is rejected.
Why is the result 1?
There is no positive divisor larger than 1 that divides every input. For three or more values, that does not require every pair to be coprime.

Common mistakes and limits

Sources & methodology

Related calculators