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 36
    What is the GCF of 25 and 30
    What is the GCF of 35 and 49
    What is the GCF of 63 and 42
    What is the GCF of 924 and 396
    What is the GCF of 55 and 88
    What is the GCF of 34 and 51
    What is the GCF of 792 and 1188
    What is the GCF of 15 and 45
    What is the GCF of 39 and 54
    What is the GCF of 45 and 56
    What is the GCF of 680 and 612
    What is the GCF of 21 and 28
    What is the GCF of 14 and 1
    What is the GCF of 750 and 975
    What is the GCF of 16 and 27
    What is the GCF of 36 and 60
    What is the GCF of 54 and 24
    What is the GCF of 6 and 10
    What is the GCF of 8 and 12
    What is the GCF of 35 and 42
    What is the GCF of 3 and 6
    What is the GCF of 68 and 102
    What is the GCF of 7 and 14
    What is the GCF of 8 and 10
    What is the GCF of 18 and 12
    What is the GCF of 8 and 20
    What is the GCF of 21 and 42
    What is the GCF of 14 and 25
    What is the GCF of 25 and 35
    What is the GCF of 168 and 252
    What is the GCF of 225 and 315
    What is the GCF of 50 and 175
    What is the GCF of 4 and 12
    What is the GCF of 72 and 96
    What is the GCF of 180 and 240
    What is the GCF of 35 and 56
    What is the GCF of 51 and 85
    What is the GCF of 13 and 39
    What is the GCF of 16 and 20
    What is the GCF of 48 and 80
    What is the GCF of 9 and 25
    What is the GCF of 45 and 90
    What is the GCF of 18 and 32
    What is the GCF of 35 and 18
    What is the GCF of 27 and 81
    What is the GCF of 18 and 56
    What is the GCF of 22 and 55
    What is the GCF of 24 and 30
    What is the GCF of 36 and 54
    What is the GCF of 14 and 42
    What is the GCF of 84 and 126
    What is the GCF of 120 and 180
    What is the GCF of 32 and 96
    What is the GCF of 12 and 42
    What is the GCF of 24 and 40

    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.