Factor Calculator

Find all the factors of any number — with the factor pairs, a factor rainbow, the prime factorization drawn as a factor tree, and every step.

24 has 8 factors.

Factors of 241, 2, 3, 4, 6, 8, 12, 24
How many8 factors
Prime factorization23 × 3
TypeComposite

1 × 242 × 123 × 84 × 6

1234681224
Factor rainbow: each arc joins two factors that multiply to 24.
242122623
Factor tree: circled numbers are prime.

Step by step

  1. Only numbers up to √24 ≈ 4.899 need checking (so up to 4), because every factor above that pairs with one below it.
  2. Divide by 1, 2, 3, … 4 and keep the ones that divide evenly:
    24 ÷ 1 = 24 ✓
    24 ÷ 2 = 12 ✓
    24 ÷ 3 = 8 ✓
    24 ÷ 4 = 6 ✓
  3. Each division gives a pair: the divisor and the quotient. Listed in order, the factors are 1, 2, 3, 4, 6, 8, 12, 24.
Number of factors8
Sum of factors60
Prime or compositecomposite
Prime factorization23 × 3
Perfect squareNo
Square root≈ 4.898979
Even or oddEven
Proper factors (all except 24)1, 2, 3, 4, 6, 8, 12
Negative factors−1, −2, −3, −4, −6, −8, −12, −24

Most-searched numbers

Every number from 1 to 1,000 has its own page: factors of 1 to 1000.

All calculators and charts

Factors in 30 seconds

  • A factor divides a number exactly: 6 is a factor of 24 because 24 ÷ 6 = 4.
  • Factor pairs multiply to the number: 4 × 6 = 24.
  • A prime has exactly two factors (2, 3, 5, 7, 11 …); a composite has more.
  • The prime factorization writes a number as a product of primes: 24 = 2³ × 3.

Counting factors from the prime factorization

Add 1 to each exponent and multiply. 24 = 2³ × 3¹, so it has (3 + 1)(1 + 1) = 8 factors. 36 = 2² × 3² has (2 + 1)(2 + 1) = 9 — an odd count, because 36 is a perfect square and 6 × 6 is a pair with itself.

Need common factors of two numbers? Use the GCF calculator; for common multiples, the LCM calculator.

Frequently asked questions

How do I find all the factors of a number?

Divide the number by 1, 2, 3 and so on up to its square root. Every divisor that leaves no remainder gives a pair: the divisor and the quotient. Together those pairs are all the factors.

What is a factor pair?

Two whole numbers that multiply to the number. The factor pairs of 24 are 1 × 24, 2 × 12, 3 × 8 and 4 × 6.

What is the difference between factors and multiples?

Factors divide into a number (factors of 12: 1, 2, 3, 4, 6, 12); multiples are what you get when you multiply it (multiples of 12: 12, 24, 36 …).

Is 1 a prime number?

No. A prime has exactly two factors, 1 and itself; 1 has only one factor, so it is neither prime nor composite.

How big a number can I enter?

Up to 1,000,000,000,000 (one trillion). The answer still appears instantly.