A factor of a positive whole number divides it exactly, with no remainder. Factor pairs help you find every factor; prime factorization breaks a number into a product of prime numbers.
\[a\times b=N\]
If \(a\) and \(b\) are positive integers, both are factors of \(N\). For example, \(4\times8=32\), so 4 and 8 are factors of 32.
Factor and prime-factor calculator
Enter a positive integer from 1 to 1,000,000,000. See every positive factor, its factor pairs, and its prime factorization.
Positive factors
Prime factorization
Factor pairs
Find all factors without missing a pair
Factors of 32
Start at 1 and try each whole number. Record a pair whenever the division has no remainder.
\[1\times32=32\qquad2\times16=32\qquad4\times8=32\]
The positive factors are 1, 2, 4, 8, 16, 32. Write each factor only once.
You can stop testing after \(\sqrt{32}\approx5.66\): any larger factor has a partner already checked below the square root.
Factors of 45
\[1\times45=45\qquad3\times15=45\qquad5\times9=45\]
The factors are 1, 3, 5, 9, 15, 45. Do not miss 15, the partner of 3.
Prime factors and prime factorization
A prime number is an integer greater than 1 with exactly two positive factors: 1 and itself. A composite number is an integer greater than 1 with more than two positive factors. The number 1 is neither prime nor composite.
Prime factorization writes a number greater than 1 as a product containing only primes. Repeated factors can be written using powers.
Prime factorization of 36
- \(36\div2=18\)
- \(18\div2=9\)
- \(9\div3=3\)
- \(3\div3=1\)
\[36=2\times2\times3\times3=2^2\times3^2\]
The distinct prime factors are 2 and 3. The factorization includes each repeated factor.
Factor-tree examples
For 40, split \(40=4\times10\), then split \(4=2\times2\) and \(10=2\times5\).
\[40=2^3\times5\]
For 91, neither 2, 3, nor 5 divides it. But \(91=7\times13\), and both 7 and 13 are prime.
\[91=7\times13\]
A perfect square has a middle factor pair with equal numbers. For example, \(6\times6=36\). List 6 once among the factors, while keeping both copies when writing that pair.
Factor reference table
These are all positive factors, arranged from smallest to largest. Use the calculator above to explore their pairs.
| Number | Positive factors |
|---|---|
| 4 | 1, 2, 4 |
| 6 | 1, 2, 3, 6 |
| 8 | 1, 2, 4, 8 |
| 10 | 1, 2, 5, 10 |
| 12 | 1, 2, 3, 4, 6, 12 |
| 15 | 1, 3, 5, 15 |
| 16 | 1, 2, 4, 8, 16 |
| 18 | 1, 2, 3, 6, 9, 18 |
| 20 | 1, 2, 4, 5, 10, 20 |
| 21 | 1, 3, 7, 21 |
| 23 | 1, 23 |
| 24 | 1, 2, 3, 4, 6, 8, 12, 24 |
| 25 | 1, 5, 25 |
| 26 | 1, 2, 13, 26 |
| 27 | 1, 3, 9, 27 |
| 30 | 1, 2, 3, 5, 6, 10, 15, 30 |
| 32 | 1, 2, 4, 8, 16, 32 |
| 35 | 1, 5, 7, 35 |
| 36 | 1, 2, 3, 4, 6, 9, 12, 18, 36 |
| 40 | 1, 2, 4, 5, 8, 10, 20, 40 |
| 42 | 1, 2, 3, 6, 7, 14, 21, 42 |
| 45 | 1, 3, 5, 9, 15, 45 |
| 48 | 1, 2, 3, 4, 6, 8, 12, 16, 24, 48 |
| 49 | 1, 7, 49 |
| 50 | 1, 2, 5, 10, 25, 50 |
| 54 | 1, 2, 3, 6, 9, 18, 27, 54 |
| 56 | 1, 2, 4, 7, 8, 14, 28, 56 |
| 60 | 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60 |
| 63 | 1, 3, 7, 9, 21, 63 |
| 64 | 1, 2, 4, 8, 16, 32, 64 |
| 68 | 1, 2, 4, 17, 34, 68 |
| 72 | 1, 2, 3, 4, 6, 8, 9, 12, 18, 24, 36, 72 |
| 81 | 1, 3, 9, 27, 81 |
| 84 | 1, 2, 3, 4, 6, 7, 12, 14, 21, 28, 42, 84 |
| 89 | 1, 89 |
| 90 | 1, 2, 3, 5, 6, 9, 10, 15, 18, 30, 45, 90 |
| 91 | 1, 7, 13, 91 |
| 96 | 1, 2, 3, 4, 6, 8, 12, 16, 24, 32, 48, 96 |
| 100 | 1, 2, 4, 5, 10, 20, 25, 50, 100 |
| 120 | 1, 2, 3, 4, 5, 6, 8, 10, 12, 15, 20, 24, 30, 40, 60, 120 |
| 144 | 1, 2, 3, 4, 6, 8, 9, 12, 16, 18, 24, 36, 48, 72, 144 |
| 145 | 1, 5, 29, 145 |
| 216 | 1, 2, 3, 4, 6, 8, 9, 12, 18, 24, 27, 36, 54, 72, 108, 216 |
More prime factorizations
\[16=2^4\qquad30=2\times3\times5\qquad64=2^6\]
\[72=2^3\times3^2\qquad144=2^4\times3^2\]
Try it yourself
List the factors of 18 and 25. Then write 60 as a product of primes.
Show answers
18: 1, 2, 3, 6, 9, 18. 25: 1, 5, 25. \(60=2^2\times3\times5\).
Next, compare two numbers using the common factor and GCD calculator, or practice identifying prime and composite numbers.