Skip to content
    TheCalculatorsCalculate Anything. Anytime.
    HomeCalculatorsCategoriesBlogAbout
    HomeCalculatorsCategoriesBlogAbout
    1. Home
    2. Everyday
    3. Common Factor Calculator

    Common Factor Calculator

    Enter two integers to list every factor of each, highlight their shared factors, and compute the greatest common divisor (GCD) via the Euclidean algorithm — plus the least common multiple (LCM) for free.

    #common factors#greatest common factor#gcd#lcm#divisors

    TheCalculators — Common Factor Calculator

    Printed thecalculators.com

    Presets
    1200
    1200

    Live mode: results update as you type.

    GCD(12, 18)

    6

    LCM = 36 · 4 common factors

    Greatest common divisor
    6
    Least common multiple
    36
    Factors of 12
    1, 2, 3, 4, 6, 12
    Factors of 18
    1, 2, 3, 6, 9, 18
    Common factors
    1, 2, 3, 6
    Coprime (GCD = 1)?
    No

    Euclidean algorithm for GCD

    1. 112 = 0 × 18 + 12
    2. 218 = 1 × 12 + 6
    3. 312 = 2 × 6 + 0
    4. 4Remainder reached 0 → GCD(12, 18) = 6

    Factor lists

    NumberFactorsCount
    121, 2, 3, 4, 6, 126
    181, 2, 3, 6, 9, 186
    Common1, 2, 3, 64

    Most useful next

    GCD(12, 18)

    6

    Formula

    Euclid: a = q·b + r, repeat with (a,b) → (b,r) until r = 0 · GCD × LCM = a × b

    Pro tips

    • • GCD is the largest number that divides both inputs — useful for simplifying fractions.
    • • LCM = a × b / GCD, handy for adding fractions with different denominators.
    • • Two numbers with GCD 1 are called coprime.

    FAQ

    Related Calculators

    More Everyday tools you might need.

    Greatest Common Factor Calculator

    GCF of two numbers via Euclid’s algorithm, plus factor lists, LCM and coprimality.

    Calculate

    Least Common Multiple Calculator

    LCM of two integers via GCF, with a multiples table that shows where they first meet.

    Calculate

    Factor Calculator

    All divisors, factor pairs and prime factorization of a number, plus classification.

    Calculate

    Prime Factorization Calculator

    Break any integer into its prime factors with division steps and divisor counts.

    Calculate
    TheCalculatorsCalculate Anything. Anytime.

    Your all-in-one destination for free online calculators. Simple. Fast. Accurate. Always here for you.

    Quick Links

    • Home
    • All Calculators
    • Categories
    • Blog
    • About Us
    • Contact

    Popular Categories

    • Health Calculators31
    • Finance Calculators62
    • Education Calculators9
    • Travel Calculators8
    • Everyday Calculators65
    • Developer Calculators7

    Resources

    • Calculator Guide
    • Tips & Tutorials
    • Calc of the Day
    • FAQs
    • Privacy Policy
    • Terms of Service
    • Sitemap

    © 2026 TheCalculators. All rights reserved. · 204 free tools and counting.

    Calculate Anything, Anytime.Made for a Smarter World

    /orCtrl Kto searchEscto close dialogsEnterto calculate