Savvy Calculator

Factor Calculator

List every factor of a whole number, its factor pairs and its prime factorization.

Positive or negative, up to 1,000,000,000,000

Factors

36 has

9 factors

All factors

1, 2, 3, 4, 6, 9, 12, 18, 36

Prime factorization
2² × 3²
Prime number?
No

Factor pairs

  • 1 × 36
  • 2 × 18
  • 3 × 12
  • 4 × 9
  • 6 × 6

How the factor calculator works

Enter a whole number and the calculator lists every factor, the factor pairs that multiply to give it, and its prime factorization. It also tells you whether the number is prime. Negative numbers and numbers up to one trillion are supported.

Factors, factor pairs and multiples

A factor of a number divides it exactly, with no remainder. Factors come in pairs that multiply to the number: 4 and 9 are a pair for 36, because 4 × 9 = 36. A multiple is the other way round: 36 is a multiple of 4. Every number has 1 and itself as factors.

Example: The factors of 36 are 1, 2, 3, 4, 6, 9, 12, 18 and 36. Its factor pairs are 1 × 36, 2 × 18, 3 × 12, 4 × 9 and 6 × 6. Because 36 is a perfect square, one pair repeats the same number, so it has an odd count of factors: nine.

To find factors, you only need to test numbers up to the square root. Any factor bigger than the square root is paired with one smaller than it, so for 36 testing 1 to 6 finds every pair.

Prime numbers and prime factorization

A prime number has exactly two factors, 1 and itself: 2, 3, 5, 7, 11 and so on. The number 1 is not prime, because it has only one factor. Every whole number above 1 can be written as a product of primes in exactly one way, its prime factorization.

Example: 36 = 2 × 2 × 3 × 3, written 2² × 3². From the factorization you can count the factors: add 1 to each power and multiply, (2 + 1) × (2 + 1) = 9.

Prime factorizations of some common numbers
NumberPrime factorizationNumber of factors
122² × 36
242³ × 38
362² × 3²9
482⁴ × 310
602² × 3 × 512
1002² × 5²9