Home › Math & Study › Factor Calculator

Factor Calculator

This factor calculator lists every factor of a whole number, groups them into factor pairs and gives the prime factorization. It also tells you if the number is prime or a perfect square.

How factors are found

A factor divides a number exactly. The calculator tests every whole number up to the square root; each divisor found gives a pair (i and n ÷ i). The prime factorization comes from dividing by 2, then 3, 5, 7 and so on until only primes are left.

Example

36 has the factor pairs 1 × 36, 2 × 18, 3 × 12, 4 × 9 and 6 × 6, so its factors are 1, 2, 3, 4, 6, 9, 12, 18, 36 (nine factors). Its prime factorization is 2² × 3², and since 6 × 6 = 36 it's a perfect square.

Tips

  • A prime number has exactly two factors: 1 and itself.
  • Only perfect squares have an odd number of factors.
  • To find factors two numbers share, use the GCF and LCM calculator.

Frequently asked questions

What are the factors of 24?

1, 2, 3, 4, 6, 8, 12 and 24. Its prime factorization is 2³ × 3.

Is 1 a prime number?

No. A prime has exactly two factors, and 1 has only one.

What's the difference between factors and multiples?

Factors divide into a number (factors of 12 include 3); multiples are what you get by multiplying it (multiples of 12 include 36).

Written and checked by Vijay. Last updated .