Math
STEP-BY-STEP SOLVER

GCF Calculator

Find the greatest common factor or greatest common divisor of two or more integers with Euclidean algorithm steps.

Enter your problem

Enter 2–20 integers. Maximum absolute input: 1,000,000,000,000. Use whole numbers; no exponent notation.

Your entries are calculated in this browser and are not saved or sent to AblePro.

GCF—

Step-by-step work

    How it works

    GCF and GCD name the same value. Euclid’s algorithm repeatedly divides and replaces the pair with the divisor and remainder. The last nonzero remainder is the GCF. Negative inputs use absolute values. GCF(a, 0) = |a|; this tool defines GCF(0, 0) = 0 as a convention.

    Example: GCF of 24 and 36

    24 = 0 × 36 + 24; 36 = 1 × 24 + 12; 24 = 2 × 12 + 0. The last nonzero remainder is 12.