Skip to content

Factor Calculator — Free Online Factor Finder

Find all factors of any number instantly with factor pairs, prime or composite classification, and complete prime factorization.

Number Type

Composite Number

Factors of 120

16 factors

All Factors

1, 2, 3, 4, 5, 6, 8, 10, 12, 15, 20, 24, 30, 40, 60, 120

Factor Pairs

1 x 120

2 x 60

3 x 40

4 x 30

5 x 24

6 x 20

8 x 15

10 x 12

Prime Factorization

120 = 2 x 2 x 2 x 3 x 5

How to Use the Factor Calculator

  1. Enter a positive integer: Type any number from 1 to 1,000,000 into the input field. The default value is 120, which demonstrates all features since it has many factors.
  2. Check the number type: Below the input, the calculator instantly tells you whether your number is prime (exactly 2 factors), composite (more than 2 factors), or neither (the number 1 has only one factor).
  3. View the factor count and list: The results panel shows how many factors the number has and lists them all in ascending order. For example, 120 has 16 factors.
  4. Examine factor pairs: The factor pairs section shows every pair of numbers whose product equals your input. This is useful for factoring problems in algebra and finding rectangle dimensions in geometry.
  5. Read the prime factorization: The bottom section shows the prime factorization — how your number breaks down into a product of prime numbers. This is the most fundamental representation in number theory.

All results update in real time as you change the input number, so you can quickly explore how factor structure changes across different numbers.

Factor Finding Formulas

Factor Count from Prime Factorization

If n = p1^a1 x p2^a2 x ... then count = (a1+1)(a2+1)...

Sum of Factors (Sigma Function)

sigma(n) = product of (p^(a+1) - 1) / (p - 1) for each prime power

Trial Division Method

Test divisors from 1 to sqrt(n); if i divides n, both i and n/i are factors

Variables Explained

  • n: The positive integer whose factors you want to find. Every factor f satisfies n mod f = 0 (f divides n exactly).
  • p1, p2, ...: The distinct prime factors of n. Each prime appears with an exponent showing how many times it divides n.
  • a1, a2, ...: The exponents of each prime factor. The factor count formula multiplies (each exponent + 1) together.
  • sqrt(n): The square root of n. When finding factors by trial division, you only need to test up to this value because factor pairs straddle the square root.

Step-by-Step Example

Find all factors of 180:

  1. sqrt(180) is approximately 13.4, so test divisors 1 through 13
  2. 180/1 = 180 (pair: 1, 180)
  3. 180/2 = 90 (pair: 2, 90)
  4. 180/3 = 60 (pair: 3, 60)
  5. 180/4 = 45 (pair: 4, 45)
  6. 180/5 = 36 (pair: 5, 36)
  7. 180/6 = 30 (pair: 6, 30)
  8. 7, 8, 11, 13 do not divide 180 evenly
  9. 180/9 = 20 (pair: 9, 20)
  10. 180/10 = 18 (pair: 10, 18)
  11. 180/12 = 15 (pair: 12, 15)

All 18 factors: 1, 2, 3, 4, 5, 6, 9, 10, 12, 15, 18, 20, 30, 36, 45, 60, 90, 180. The prime factorization 180 = 2^2 x 3^2 x 5 confirms the count: (2+1)(2+1)(1+1) = 18 factors.

Practical Examples

Example 1: Alex's Classroom Seating

Alex is a teacher arranging 30 desks into equal rows for a classroom. He wants to know all possible rectangular arrangements.

  • Factors of 30: 1, 2, 3, 5, 6, 10, 15, 30
  • Factor pairs: (1, 30), (2, 15), (3, 10), (5, 6)
  • Possible layouts: 1x30, 2x15, 3x10, 5x6

Alex has four possible rectangular arrangements. The 5x6 layout is likely the best for a classroom, being closest to a square shape. Factor pairs directly correspond to rectangle dimensions when the area is fixed — a principle used in architecture, gardening, and interior design.

Example 2: Mia's Cookie Distribution

Mia baked 84 cookies and wants to divide them equally among party guests, with each guest getting more than one cookie. She needs to know which group sizes work.

  • Factors of 84: 1, 2, 3, 4, 6, 7, 12, 14, 21, 28, 42, 84
  • Valid group sizes (more than 1 cookie each): 2, 3, 4, 6, 7, 12, 14, 21, 28, 42
  • For 7 guests: 84/7 = 12 cookies each

Mia can choose from 10 different group sizes where each guest gets the same number of cookies (more than one). Factors tell you exactly which even distributions are possible, making them essential for fair division problems in everyday life.

Example 3: Jason's Algebraic Factoring

Jason needs to factor the quadratic expression x^2 + 11x + 24. He needs two numbers that multiply to 24 and add to 11.

  • Factor pairs of 24: (1, 24), (2, 12), (3, 8), (4, 6)
  • Check sums: 1+24=25, 2+12=14, 3+8=11, 4+6=10
  • The pair (3, 8) works: 3+8=11 and 3x8=24
  • Result: x^2 + 11x + 24 = (x + 3)(x + 8)

By listing the factor pairs of 24, Jason quickly identified which pair sums to the linear coefficient. This is the standard method for factoring trinomials in algebra, and having a complete list of factor pairs makes the process systematic rather than guess-and-check.

Number of Factors Reference Table

Number Factors Count Type
1 1 1 Neither
7 1, 7 2 Prime
24 1, 2, 3, 4, 6, 8, 12, 24 8 Composite
36 1, 2, 3, 4, 6, 9, 12, 18, 36 9 Perfect Square
60 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60 12 Composite
100 1, 2, 4, 5, 10, 20, 25, 50, 100 9 Perfect Square

Tips and Complete Guide

Efficient Factor Finding

You never need to test divisors beyond the square root of a number. If d is a factor of n where d is less than or equal to sqrt(n), then n/d is also a factor that is greater than or equal to sqrt(n). This means every factor less than or equal to the square root has a partner above it. For the number 100, you only test 1 through 10, finding (1,100), (2,50), (4,25), (5,20), (10,10). This square root optimization is used in professional factoring algorithms and reduces the work dramatically for large numbers.

Highly Composite Numbers

Some numbers have exceptionally many factors relative to their size. These are called highly composite numbers: 1, 2, 4, 6, 12, 24, 36, 48, 60, 120, 180, 240, 360, 720, 1260, and so on. The number 12 is highly composite because it has 6 factors — more than any smaller number. These numbers appear naturally in measurement systems: there are 12 inches in a foot and 360 degrees in a circle precisely because these highly composite numbers allow for many even divisions.

Factors in Algebra

Finding factors of the constant term is crucial when factoring polynomials. For a quadratic ax^2 + bx + c, you need factor pairs of a x c that sum to b. For cubics, the Rational Root Theorem states that any rational root p/q has p as a factor of the constant term and q as a factor of the leading coefficient. Having a complete list of factors makes these algebraic techniques systematic.

Perfect Numbers and Factor Sums

When you add all factors of a number excluding the number itself, interesting patterns emerge. If the sum equals the number, it is called a perfect number. The smallest perfect numbers are 6 (1+2+3=6), 28 (1+2+4+7+14=28), and 496. If the sum is less than the number, it is deficient; if greater, it is abundant. For example, 12 is abundant because 1+2+3+4+6=16 > 12. These classifications have been studied since ancient Greece and connect to open problems in modern number theory.

Common Mistakes to Avoid

  • Forgetting 1 and the number itself: Every positive integer has 1 and itself as factors. The number 1 is always the smallest factor and the number itself is always the largest.
  • Stopping before the square root: When finding factors manually, test every integer up to and including the floor of the square root. Missing even one divisor means missing its partner too.
  • Confusing factors with multiples: Factors divide into a number (they are smaller or equal); multiples are products of a number (they are larger or equal, starting from the number itself).
  • Thinking 1 is prime: The number 1 is neither prime nor composite. It has exactly one factor (itself), while primes have exactly two and composites have three or more.
  • Double-counting the square root: For perfect squares like 36, sqrt(36) = 6 appears as a factor only once (not twice), even though the pair is (6, 6). Factor counting must avoid this duplication.

Frequently Asked Questions

A factor of a number is any integer that divides that number exactly, with no remainder. For example, the factors of 12 are 1, 2, 3, 4, 6, and 12, because each of these numbers divides 12 evenly. Every positive integer has at least two factors: 1 and itself. Finding factors is fundamental to simplifying fractions, solving equations, and understanding divisibility rules in mathematics.

To find all factors, start dividing the number by 1, then 2, then 3, and so on up to the square root of the number. Each time the division is exact, you have found a factor pair. For example, for 36: 36/1=36, 36/2=18, 36/3=12, 36/4=9, 36/6=6. Stop at 6 because 6 = sqrt(36). The factor pairs are (1,36), (2,18), (3,12), (4,9), (6,6). List all unique values: 1, 2, 3, 4, 6, 9, 12, 18, 36. Our calculator performs this process instantly for numbers up to one million.

A factor divides into a number, while a multiple is produced by multiplying a number. For 6: factors are 1, 2, 3, 6 (numbers that divide into 6); multiples are 6, 12, 18, 24, 30, ... (6 times 1, 2, 3, ...). Factors are finite — every number has a limited set of factors. Multiples are infinite — you can keep multiplying by larger integers forever. For related calculations, try our <a href='/math/number-theory/lcm-calculator' class='text-primary-600 hover:text-primary-800 underline'>LCM calculator</a>.

Factor pairs are two numbers that multiply together to give the original number. For 24: the factor pairs are (1, 24), (2, 12), (3, 8), and (4, 6). Every factor belongs to exactly one pair (except for perfect squares, where the square root pairs with itself, like 6 x 6 = 36). Factor pairs are useful in algebra for factoring quadratic expressions and in geometry for finding rectangle dimensions with a given area.

A prime number has exactly two factors: 1 and itself. Examples include 2, 3, 5, 7, 11, 13, 17, 19, and 23. A composite number has more than two factors, meaning it can be divided by at least one number other than 1 and itself. Examples include 4, 6, 8, 9, 10, 12, and 15. The number 1 is neither prime nor composite — it has exactly one factor (itself). Our calculator identifies whether your input is prime or composite.

Perfect squares always have an odd number of factors. This is because factors come in pairs, but for perfect squares, the square root pairs with itself (counted once, not twice). For example, 36 has 9 factors: 1, 2, 3, 4, 6, 9, 12, 18, 36. This property is useful in number theory and can be derived from the prime factorization: if n = p1^a1 x p2^a2 x ..., the total factor count is (a1+1) x (a2+1) x ..., and perfect squares have all even exponents, making each factor (even+1) = odd.

In formal number theory, factors can be negative. For example, -3 is a factor of 12 because -3 x -4 = 12. However, in elementary mathematics and most practical applications, factors refer to positive divisors only. Our calculator follows the convention of listing only positive factors, which is standard in education and most applied mathematics contexts.

All factors of a number can be derived from its prime factorization. If n = 2^a x 3^b x 5^c, then every factor is of the form 2^i x 3^j x 5^k where 0 <= i <= a, 0 <= j <= b, 0 <= k <= c. This gives (a+1)(b+1)(c+1) total factors. For example, 72 = 2^3 x 3^2 has (3+1)(2+1) = 12 factors. Use our <a href='/math/number-theory/prime-factorization-calculator' class='text-primary-600 hover:text-primary-800 underline'>prime factorization calculator</a> to break numbers into their prime components.

Related Calculators

Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and may not reflect exact values.

Last updated: February 23, 2026

Sources