
소인수 분해와 유클리드 알고리즘 방법을 사용하여 두 개 이상의 숫자의 최대공약수를 계산하세요. 단계별 설명과 함께 즉각적인 결과를 얻으세요.
If you need to calculate GCF for homework, simplify a fraction, compare GCF and LCM, or check the GCF of 3 numbers, this page gives you both the answer and the method behind it.
최대공약수 (GCF), 최대공약수 (GCD) 또는 최대공통인수 (HCF)라고도 하며, 나머지 없이 두 개 이상의 숫자를 나눌 수 있는 가장 큰 양의 정수입니다. 이는 수론에서 기본 개념이며, 수학, 대수학 및 컴퓨터 과학에서 광범위하게 응용됩니다.

예를 들어, 12와 18의 최대공약수는 6입니다. 왜냐하면 6은 12와 18을 모두 나눌 수 있는 가장 큰 수이기 때문입니다. 최대공약수는 특히 분수 간소화, 공통 분모 찾기, 그리고 비율 및 나눌 수 있는 문제를 해결할 때 유용합니다.
Yes. GCF, GCD, and HCF usually mean the same thing. GCF means greatest common factor. GCD means greatest common divisor. HCF means highest common factor. Different textbooks and regions may use different names, but all three refer to the largest number that divides the given numbers evenly.
Use this section if you are wondering how to find GCF on calculator tools without doing every step by hand.

There are three common ways to calculate the GCF: listing the factors, using prime factorization, and using the Euclidean algorithm. Each one gives the same answer, so how to calculate the GCF really comes down to which method fits your numbers.
이 방법은 각 숫자의 모든 인수를 나열하고 가장 큰 공통 인수를 식별하는 것입니다. 작은 숫자에는 간단하지만 더 큰 정수에는 실용적이지 않습니다.
tools.gcfCalculator.method1Example
This method is simple for small numbers and is a good way to learn what "common factor" means.
각 숫자를 소인수로 분해한 후, 공통 소인수 (가장 낮은 지수로) 를 곱하여 최대공약수를 찾습니다. 이 방법은 숫자의 구조를 이해하는 데 도움이 됩니다.
예: 12 = 2² × 3이고 18 = 2 × 3²입니다. 공통 인수: 2¹ × 3¹ = 6, 따라서 최대공약수 = 6입니다.
Prime factorization is useful when you want to see the structure of each number and understand why the answer works.
이 고대의 효율적인 알고리즘은 나눗셈 과정을 반복적으로 적용합니다: 더 큰 숫자를 더 작은 숫자로 나누고, 더 큰 숫자를 더 작은 숫자로, 더 작은 숫자를 나머지로 교체합니다. 나머지가 0이 될 때까지 계속합니다. 마지막으로 0이 아닌 나머지가 최대공약수입니다.
예: 최대공약수(48, 18): 48 = 18 × 2 + 12, 그 다음 18 = 12 × 1 + 6, 그 다음 12 = 6 × 2 + 0. 최대공약수 = 6.
A factoring GCF calculator helps with the same core idea: find the largest factor shared by every term, then factor it out. For a numeric expression: 6 + 12 = 6(1 + 2). For an algebraic expression: 6x + 12 = 6(x + 2).
For monomials and polynomials, the GCF may include numbers, variables, or both. Example: 8x² + 12x = 4x(2x + 3). This page's calculator focuses on numeric GCF for positive integers. If you are looking for a factor out GCF calculator for variables, monomials, or polynomials, use the same rule: find the shared numerical factor and the shared variable part with the lowest exponent.
A GCF and LCM calculator helps you compare two related ideas. GCF is the greatest number that divides the given numbers evenly. LCM is the smallest number that the given numbers divide into evenly.
For two positive integers:
GCF × LCM = product of the two numbers
Example: for 12 and 18: GCF = 6, LCM = 36, 12 × 18 = 216.
That formula is more than a trick. Because every prime factor of the two numbers ends up in either the GCF (the shared part) or the LCM (the combined part), multiplying them always rebuilds the original product. So if you already know the GCF, you can find the LCM fast:
LCM = (a × b) ÷ GCF
For 12 and 18: (12 × 18) ÷ 6 = 216 ÷ 6 = 36.
Note that this shortcut works cleanly for two numbers. For three or more, calculate the LCM directly instead of dividing the full product by the GCF.
Simplifying fractions using the GCF is one of the most common reasons people reach for a GCF fraction calculator. The idea is simple: divide the numerator and the denominator by their GCF, and the fraction is reduced to lowest terms in one step.
Example: reduce 24/36. The GCF of 24 and 36 is 12. 24 ÷ 12 = 2, 36 ÷ 12 = 3. So 24/36 simplifies to 2/3.
If you divide by a common factor that is not the greatest one, you will still need to simplify again. Using the GCF gets you to lowest terms immediately, which is why it is the cleanest method for reducing any fraction.
A GCF of 3 numbers calculator works the same way as it does for two numbers. The GCF of a longer set is the largest integer that divides every number in the set. By hand, the easiest approach is to take the GCF two numbers at a time: find GCF(a, b), then find GCF of that result and c.
Find GCF(a, b), then find GCF of that result and c.
Example: find the GCF of 24, 36, and 60. GCF(24, 36) = 12, then GCF(12, 60) = 12. So the GCF of 24, 36, and 60 is 12.
This pairwise method scales to any number of values, and it is exactly what the calculator does internally when you enter a longer set.
These are some of the GCF pairs people look up most often. Each one is worked the short way so you can check your own answer quickly.
| Numbers | Shared factors | GCF |
|---|---|---|
| 12 and 18 | 1, 2, 3, 6 | 6 |
| 8 and 12 | 1, 2, 4 | 4 |
| 16 and 24 | 1, 2, 4, 8 | 8 |
| 18 and 24 | 1, 2, 3, 6 | 6 |
| 15 and 25 | 1, 5 | 5 |
| 24 and 36 | 1, 2, 3, 4, 6, 12 | 12 |
For the most common classroom example, the GCF of 12 and 18 is 6, because 6 is the largest number that divides both 12 and 18 without leaving a remainder.
Sometimes two numbers share no common factor other than 1. When that happens, the GCF is 1, and the numbers are called coprime (or relatively prime).
Example: 8 and 15. Factors of 8: 1, 2, 4, 8. Factors of 15: 1, 3, 5, 15. The only shared factor is 1, so the GCF of 8 and 15 is 1. A fraction like 8/15 is already in lowest terms, because there is nothing left to divide out.
최대공약수 (GCF)는 주어진 모든 숫자를 나눌 수 있는 가장 큰 숫자이고, 최소공배수 (LCM)는 주어진 모든 숫자의 배수가 되는 가장 작은 숫자입니다. 두 숫자에 대해서는 GCF × LCM = 두 숫자의 곱입니다.
아니요, 최대공약수는 집합의 최소 숫자보다 클 수 없습니다. 최대공약수는 항상 최소 숫자보다 작거나 같습니다.
두 다른 소수의 최대공약수는 항상 1입니다. 왜냐하면 소수는 1 이외에는 공통 인수가 없기 때문입니다.
여러 숫자의 최대공약수를 찾으려면 먼저 두 숫자의 최대공약수를 찾은 다음, 그 결과와 다음 숫자의 최대공약수를 찾는 식으로 진행합니다. 또는 소인수 분해를 사용하여 모든 공통 소인수를 식별합니다.
유클리드 알고리즘은 각 단계에서 문제 크기를 빠르게 줄여주기 때문에 효율적입니다. 특히 큰 숫자에 대해서는 모든 인수를 나열하는 것보다 훨씬 빠릅니다. 그 시간 복잡도는 로그입니다.
0과 다른 0이 아닌 숫자 n의 최대공약수는 n 자체입니다. 왜냐하면 모든 정수는 0을 나눌 수 있기 때문입니다. 그러나 실제 응용에서는 일반적으로 양의 정수만 다룹니다.
A GCF calculator solves one problem well. But homework, study sessions, and everyday questions rarely stop at a single calculation.
Macaron is a personal AI that remembers what you are working on and can build small tools, walkthroughs, and study help around the way you actually learn. If you find yourself reaching for one calculator after another, it is a way to keep all of that in one place that adapts to you.
Create your own tools with Macaron