Common Factor Calculator
Enter two numbers to find every factor they share, including the greatest common factor. See the complete solution with step-by-step working and formula explanations.
Enter your values above to see the results.
Tips & Notes
- ✓Only test divisors up to √n. Each factor below √n pairs with one above it.
- ✓All common factors are divisors of the GCF. Finding GCF first speeds up the process.
- ✓Factor count = (a+1)(b+1)(c+1)... for n=pᵃ×qᵇ×rᶜ. Quick way to count without listing.
- ✓If GCF=1, the only common factor is 1 — numbers are coprime.
- ✓Perfect squares have odd number of factors (one factor pairs with itself at √n).
Common Mistakes
- ✗Forgetting 1 and n as factors. Every positive integer has at least two factors: 1 and itself.
- ✗Testing all numbers to n instead of only to √n — unnecessary for large numbers.
- ✗Confusing common factors with common multiples — factors are smaller, multiples are larger.
- ✗Listing factors of GCF instead of common factors of both numbers — these are the same but verify.
- ✗Missing factor pairs. For every factor f<√n, n/f is also a factor.
Common Factor Calculator Overview
The common factors of two or more numbers are the integers that divide evenly into all of them simultaneously. Finding common factors is the foundation of fraction simplification, ratio reduction, and understanding divisibility relationships between numbers. The set of all common factors is always finite and always includes 1. The greatest among them — the GCF or GCD — is the most useful for simplification, but knowing all common factors reveals the complete divisibility structure of the numbers.
Finding all factors of a number — test divisors from 1 to √n, collecting pairs:
EX: Factors of 24 → √24≈4.9, test 1,2,3,4 → pairs: (1,24),(2,12),(3,8),(4,6) → all 8 factors: 1,2,3,4,6,8,12,24Common factors — the intersection of both factor sets:
EX: Common factors of 24 and 36 → factors(24)={1,2,3,4,6,8,12,24}, factors(36)={1,2,3,4,6,9,12,18,36} → common: {1,2,3,4,6,12}Key insight: every common factor of a and b is a divisor of GCF(a,b). So finding the GCF first — using the Euclidean algorithm — immediately tells you all common factors are divisors of that GCF:
EX: GCF(24,36)=12 → common factors = all divisors of 12 = {1,2,3,4,6,12} — six common factors totalFactor count formula: for n = pᵃ × qᵇ × rᶜ → total factors = (a+1)(b+1)(c+1)
EX: 12 = 2²×3 → factors = (2+1)(1+1) = 6 | verify: 1,2,3,4,6,12 ✓Perfect squares have an odd number of factors because √n pairs with itself — one factor in the middle, all others in pairs. 36 has 9 factors. 25 has 3. All non-square positive integers have an even factor count. Using common factors to simplify fractions: divide numerator and denominator by any common factor. For maximum efficiency, divide by the GCF in one step:
EX: 48/72 → GCF(48,72)=24 → 48÷24=2, 72÷24=3 → simplified: 2/3 in one stepReal-world applications: Dividing 48 students into equal groups — possible group sizes are exactly the factors of 48 (1,2,3,4,6,8,12,16,24,48). Tiling a 48×36 cm floor with square tiles of the same size without cutting: tile sizes are common factors of 48 and 36 — the largest possible tile is GCF(48,36)=12 cm. Any problem asking for "the largest equal unit" is a GCF (and thus common factors) problem. Factor analysis reveals the divisibility structure of numbers in a way that simple division cannot. Knowing that GCF(48, 36) = 12 tells you immediately that 48/12 = 4 and 36/12 = 3 are the simplest forms — but it also tells you that 1, 2, 3, 4, 6, and 12 are all common factors, since every divisor of the GCF is automatically a common factor of both numbers. This relationship means finding the GCF is equivalent to finding all common factors simultaneously. In algebra, factoring expressions uses the same GCF concept extended to polynomial terms.