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.
| Number | Prime factorization | Number of factors |
|---|---|---|
| 12 | 2² × 3 | 6 |
| 24 | 2³ × 3 | 8 |
| 36 | 2² × 3² | 9 |
| 48 | 2⁴ × 3 | 10 |
| 60 | 2² × 3 × 5 | 12 |
| 100 | 2² × 5² | 9 |