Prime Factors and All Factors Finder

Use this prime factors & all factors finder to break down any whole number. It lists every factor pair, all factors and the prime factorization with a factor tree. It also tells you if the number is prime.

Prime Factorization & Factor DB Tool

Prime Factorization

2^3 × 3^2 × 5

All Factors

1, 2, 3...

This prime factors and all factors finder breaks a whole number into its prime factors and lists every factor of it, in one click. It's handy for simplifying fractions, finding common factors, or checking homework.

How to use the Prime Factors & All Factors Finder

  1. Type a whole number of 2 or more in Target Number.
  2. Press Decompose.
  3. Read Prime Factorization, shown in exponent form such as 2^3 × 3^2 × 5.
  4. Read All Factors: every number that divides evenly, from smallest to largest. The pie chart shows how many times each prime appears.

Method

n = p₁^a × p₂^b × p₃^c …
Number of factors = (a + 1)(b + 1)(c + 1) …

The tool divides by 2, 3, 4 and so on until what remains is prime (trial division). It lists all factors by testing every number up to √n and pairing each divisor d with n ÷ d. The factor-count formula lets you check that the list is complete.

Example

For 84: 84 ÷ 2 = 42, 42 ÷ 2 = 21, 21 ÷ 3 = 7, and 7 is prime, so 84 = 2^2 × 3 × 7. The number of factors is (2+1)(1+1)(1+1) = 12: 1, 2, 3, 4, 6, 7, 12, 14, 21, 28, 42, 84.

Frequently asked questions

What is the difference between prime factors and factors?

Factors are all the whole numbers that divide a number evenly. Prime factors are only the prime ones, and multiplying them (with repeats) rebuilds the number. For 12, the factors are 1, 2, 3, 4, 6 and 12, and the prime factorization is 2^2 × 3.

How do you find all the factors of a number?

Test each whole number from 1 up to the square root. Every time one divides evenly, write down it and its partner. For 36: 1×36, 2×18, 3×12, 4×9 and 6×6, giving nine factors.

Is 1 a prime number?

No. A prime has exactly two different factors, 1 and itself. The number 1 has only one factor, so it is neither prime nor composite. That's why the tool asks for numbers of 2 or more.

How can I tell if a number is prime?

A number is prime if its only factors are 1 and itself. Enter it here: a prime shows just itself as the prime factorization, and the all-factors list has only two entries, such as 1, 97.

Related: the Prime Factorization Calculator shows the factor tree division steps.

Find all factors

How to use it

  1. Enter a number.
  2. See all factors.
  3. Read the prime factors.
  4. Check if it is prime.

More questions

Is 1 a prime number?

No. 1 is not a prime number, because primes have exactly two factors.

How many factors does 36 have?

36 has nine factors: 1, 2, 3, 4, 6, 9, 12, 18 and 36.

Can I find the GCF too?

Yes. Use the greatest common factor calculator to find the GCF.

Related tools: Greatest Common Factor Calculator, Least Common Multiple Calculator, Prime Factorization Calculator.