Feedback form
Hi! What do you think?

Drag it here or paste with Ctrl+V


    You can also email us on infocalculat.io

    Greatest Common Factor

    Find the Greatest Common Factor (GCF) of two numbers

    "Greatest Common Factor" Calculator

    Greatest Common Factor of
    and

    GCF Calculator - Greatest Common Factor of Two Numbers

    What is the Greatest Common Factor (GCF)?

    The Greatest Common Factor (GCF) of two numbers is the largest positive integer that divides both numbers evenly with no remainder. GCF is also known as Greatest Common Divisor (GCD) or Highest Common Factor (HCF).

    How to find the GCF of two numbers?

    There are several methods to find the greatest common factor:

    • Euclidean Algorithm — most efficient method for large numbers
    • Prime Factorization — breaking numbers into prime factors
    • Listing Factors Method — suitable for smaller numbers
    • Online GCF Calculator — quick and accurate results

    GCF Calculation Examples

    Let's look at several examples of finding the greatest common factor:

    • GCF(12, 16): Factors of 12: 1, 2, 3, 4, 6, 12. Factors of 16: 1, 2, 4, 8, 16. GCF = 4
    • GCF(18, 24): 18 = 2 × 3², 24 = 2³ × 3. GCF = 2 × 3 = 6
    • GCF(15, 25): Common factors: 1, 5. GCF = 5
    • GCF(7, 11): Prime numbers, GCF = 1

    Other popular GCF calculations: GCF(12, 18), GCF(8, 12), GCF(16, 24), GCF(20, 30), GCF(24, 36), GCF(30, 45), GCF(36, 48), GCF(40, 60)

    Applications of GCF in Mathematics

    The greatest common factor is widely used in various mathematical areas:

    • Simplifying Fractions — reducing to lowest terms
    • Solving Diophantine Equations — in number theory
    • Cryptography — in encryption algorithms
    • Programming — algorithm optimization
    • Geometry — constructing regular polygons

    Properties of Greatest Common Factor

    GCF has the following important properties:

    • GCF(a, b) = GCF(b, a) — commutative property
    • GCF(a, 0) = a — for any number a
    • GCF(a, b) × LCM(a, b) = a × b — relationship with LCM
    • If GCF(a, b) = 1, the numbers are called relatively prime

    Practical Problems with GCF

    The GCF calculator helps solve many practical problems:

    • Dividing objects into equal groups without remainder
    • Determining the largest tile size for flooring
    • Finding common periods of repeating events
    • Simplifying mathematical expressions and fractions

    See Also

    Last Results

    What is the GCF of 12 and 15
    What is the GCF of 16 and 28
    What is the GCF of 27 and 45
    What is the GCF of 42 and 63
    What is the GCF of 24 and 54
    What is the GCF of 24 and 36
    What is the GCF of 14 and 55
    What is the GCF of 14 and 28
    What is the GCF of 30 and 40
    What is the GCF of 12 and 36
    What is the GCF of 14 and 49
    What is the GCF of 24 and 40
    What is the GCF of 32 and 48
    What is the GCF of 42 and 105
    What is the GCF of 21 and 49
    What is the GCF of 45 and 60
    What is the GCF of 36 and 90
    What is the GCF of 12 and 26
    What is the GCF of 36 and 40
    What is the GCF of 60 and 100
    What is the GCF of 16 and 48
    What is the GCF of 9 and 10
    What is the GCF of 17 and 34
    What is the GCF of 13 and 26
    What is the GCF of 14 and 15
    What is the GCF of 6 and 15
    What is the GCF of 6 and 10
    What is the GCF of 45 and 90
    What is the GCF of 15 and 21
    What is the GCF of 20 and 32
    What is the GCF of 36 and 18
    What is the GCF of 25 and 10
    What is the GCF of 24 and 32
    What is the GCF of 8 and 12
    What is the GCF of 7 and 11
    What is the GCF of 36 and 63
    What is the GCF of 19 and 57
    What is the GCF of 18 and 24
    What is the GCF of 50 and 100
    What is the GCF of 60 and 150
    What is the GCF of 37 and 74
    What is the GCF of 20 and 30
    What is the GCF of 3 and 9
    What is the GCF of 36 and 84
    What is the GCF of 3 and 8
    What is the GCF of 24 and 48
    What is the GCF of 14 and 56
    What is the GCF of 24 and 30
    What is the GCF of 80 and 100
    What is the GCF of 8 and 16
    What is the GCF of 39 and 54
    What is the GCF of 10 and 33
    What is the GCF of 15 and 25
    What is the GCF of 4 and 21
    What is the GCF of 20 and 12
    What is the GCF of 4 and 12

    FAQ

    What is the greatest common factor of two numbers?

    It is the largest positive integer that divides both numbers with no remainder. The same value is also called the greatest common divisor (GCD) and the highest common factor (HCF) — three names for one number. For 12 and 16 it is 4.

    How do you find the GCF by prime factorization?

    Split both numbers into prime factors and multiply the primes they share, each taken as many times as it appears in both factorizations. 12 = 2 × 2 × 3 and 16 = 2 × 2 × 2 × 2 share 2 × 2, so the GCF is 4.

    What is the Euclidean algorithm for the GCF?

    Euclid described it in the Elements around 300 BC: divide the larger number by the smaller one, then replace the pair with the smaller number and the remainder, until the remainder is 0. For 16 and 12 that is 16 mod 12 = 4 and then 12 mod 4 = 0, so the GCF is 4. It never factorizes anything, which is why it stays fast on numbers far too large to factor.