GCF for 5, 8 and 12

"Greatest Common Factor of 3 Numbers" Calculator
Greatest Common Factor of
,
and

What's the Greatest Common Factor (GCF) of 5, 8 and 12?

Answer

GCF of 5, 8 and 12 is
1

(One)

1 is the largest positive integer that divides 5, 8 and 12 without a remainder — every other common divisor of the three divides it too.

Finding the GCF of 5, 8 and 12 by Prime Factorization

Split all three numbers into prime factors, then keep every prime that appears in all three of them, each taken as many times as it appears in the poorest factorization. Multiplying what is left gives the greatest common factor:

All Prime Factors of 5: 5 (exponent form: 5)

All Prime Factors of 8: 2 × 2 × 2 (exponent form: 23)

All Prime Factors of 12: 2 × 2 × 3 (exponent form: 22 × 3)

Prime factor5812Lowest power
22322
33
55

Not one prime factor is shared by all three numbers, which makes 5, 8 and 12 relatively prime as a set. The only positive integer dividing all of them is 1.

Checking the GCF of 5, 8 and 12 Two Numbers at a Time

The greatest common factor is associative, so three numbers can be handled as two pairs — and this is what makes the Euclidean algorithm usable here: run it on the first pair, then run it again on that result and the third number.

GCF(a, b, c) = GCF(GCF(a, b), c)

GCF(5, 8) = 1

GCF(1, 12) = 1

GCF(5, 8, 12) = 1

The answer checks out by division — all three quotients come out whole:

5 ÷ 1 = 5

8 ÷ 1 = 8

12 ÷ 1 = 12

5, 8 and 12 have no common factor left — that is what makes 1 the greatest one.

See Also

About "Greatest Common Factor of 3 Numbers" Calculator

This calculator finds the Greatest Common Factor (GCF) of three numbers at once, without doing it in two passes. For example, it can help you find out what's the Greatest Common Factor (GCF) of 5, 8 and 12? (The answer is: 1). Enter the first number (e.g. '5'), the second (e.g. '8') and the third (e.g. '12'), then hit the 'Calculate' button.
The Greatest Common Factor of three numbers — also called the greatest common divisor (GCD) or highest common factor (HCF) — is the largest positive integer that divides all three of them with zero remainder
"Greatest Common Factor of 3 Numbers" Calculator
Greatest Common Factor of
,
and

GCF Table

Number 1Number 2Number 3GCF
1581
2581
3581
4581
5581
5681
5781
5881
5891
58101
58111
58121
58131
58141
58151
58161
58171
58181
58191
58201
58211
58221
58231
58241
58251
58261
58271
58281
58291
58301

FAQ

What's the Greatest Common Factor (GCF) of 5, 8 and 12?

GCF of 5, 8 and 12 is 1

What prime factors do 5, 8 and 12 share?

None at all: 5, 8 and 12 have no prime factor in common, so the only positive integer dividing all three is 1 and their GCF is 1.

Can you get the GCF of 5, 8 and 12 two numbers at a time?

Yes, and it is the check this page prints. The GCF of 5 and 8 is 1, and the GCF of 1 and 12 is 1 — the same answer, because the greatest common factor is associative and does not depend on the order of the three numbers.

How does the GCF simplify the ratio 5 : 8 : 12?

Divide every term by the GCF 1: 5 ÷ 1 = 5, 8 ÷ 1 = 8 and 12 ÷ 1 = 12. So 5 : 8 : 12 in lowest terms is 5 : 8 : 12, and no whole number other than 1 divides all three of those.