Greatest common factor (GCF)

Greatest common factor (GCF): The largest number that divides two or more numbers evenly. It reduces fractions and ratios to their smallest whole-number form.

Find the GCF of 48 and 180. Factor them: 48 = 2⁴ × 3 and 180 = 2² × 3² × 5. Take each shared prime to its smallest power: 2² × 3 = 12.

That is the largest number dividing both evenly; it simplifies the fraction 48/180: divide top and bottom by 12 to get 4/15, which cannot be reduced further; the Euclidean method gets there faster with big numbers. Divide 180 by 48, remainder 36. Divide 48 by 36, remainder 12.

Divide 36 by 12, remainder 0. The last nonzero remainder, 12, is the GCF.

Greatest common factor (GCF): interpretation pitfalls

Stopping at a common factor instead of the greatest one. The fraction is smaller and still not in lowest terms, and the error survives every subsequent step.

Greatest common factor (GCF): comparisons with other measurements

A common factor divides each entered integer; a common multiple is divisible by each. The Euclidean procedure computes the factor relation, while the product identity can then obtain a multiple for nonzero integers. Keep signs and zero conventions explicit.

Greatest common factor (GCF): limits of the definition

It applies to integers. For very large numbers, factoring is slow, and the Euclidean algorithm is the practical route; a GCF of 1 means no simplification is possible, which is not the same as a wrong answer. With zero or negative numbers, conventions differ slightly.

When simplifying algebraic expressions, remember the GCF includes variable parts as well as numbers.

Understanding Greatest common factor (GCF)

The GCF reduces a fraction or ratio to its simplest form in one step. Halving repeatedly gets to the same place eventually, and stops being practical the moment the numbers are large or share an odd factor. Finding the greatest common factor directly is the difference between one operation and a dozen.

Using Greatest common factor (GCF)

You use it to reduce fractions and ratios to lowest terms, to split things into equal groups without leftovers and to simplify algebraic expressions; a teacher divides 48 pencils and 180 sheets of paper into identical kits: at most 12 kits, each with 4 pencils and 15 sheets. Tiling problems use it to find the largest square that covers a rectangle exactly. In computing it appears in cryptography and in simplifying rational numbers.

Greatest common factor (GCF): calculation reference

GCF via the Euclidean algorithm; LCM = (a × b) ÷ GCF

Greatest common factor (GCF): assumed inputs and calculated quantities
QuantityEntered or calculated amountMeaning
First number24Explicit example input.
Second number36Explicit example input.
Greatest common factor12Result under the listed assumptions.
Least common multiple72Result under the listed assumptions.
Greatest common factor by First numberGCF & LCM Calculator. Assumed First number values and their calculated Greatest common factor. Second number: 361912222412262291
Greatest common factor by Second numberGCF & LCM Calculator. Assumed Second number values and their calculated Greatest common factor. First number: 242913283612408431
Least common multiple by First numberGCF & LCM Calculator. Assumed First number values and their calculated Least common multiple. Second number: 361968422396247226468291,044

GCF & LCM Calculator: change the inputs and compare the resulting cases

What is the GCF of two prime numbers?

One, unless they are the same prime. Distinct primes share no factor other than 1, so they are coprime.

How do I use the GCF to simplify a ratio?

Divide both terms by their GCF. A ratio of 48 to 180 becomes 4 to 15 after dividing by 12. The result cannot be reduced further.

What is the fastest method for large numbers?

The Euclidean algorithm. Repeatedly divide, keeping the remainder, until the remainder is zero. The last nonzero remainder is the GCF.

Verify the result divides both original numbers exactly.

Greatest common factor (GCF): other glossary lookups