Factor Calculator
Test cases replayed : 6 of 6 match · Methodology · No outside source listed
Enter a whole number from 1 to 10,000. The calculator finds every number that divides it evenly and shows them as factor pairs a × b = n, smallest first.
Result
Result
Number of factors
- Sum of all factors
- Prime or composite
- Factor pair 1
- Factor pair 2
- Factor pair 3
- Factor pair 4
- Factor pair 5
- Factor pair 6
- Factor pair 7
- Factor pair 8
- Factor pair 9
- Factor pair 10
- Factor pair 11
- Factor pair 12
- Factor pair 13
- Factor pair 14
- Factor pair 15
- Factor pair 16
- Factor pair 17
- Factor pair 18
- Factor pair 19
- Factor pair 20
- Factor pair 21
- Factor pair 22
- Factor pair 23
- Factor pair 24
- Factor pair 25
- Factor pair 26
- Factor pair 27
- Factor pair 28
- Factor pair 29
- Factor pair 30
- Factor pair 31
- Factor pair 32
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Whole number n (1 to 10,000): enter a number from 1 to 10,000.
- Read the result: Result; the panel also shows Number of factors, Sum of all factors, Prime or composite, Factor pair 1, Factor pair 2, Factor pair 3, Factor pair 4, Factor pair 5, Factor pair 6, Factor pair 7, Factor pair 8, Factor pair 9, Factor pair 10, Factor pair 11, Factor pair 12, Factor pair 13, Factor pair 14, Factor pair 15, Factor pair 16, Factor pair 17, Factor pair 18, Factor pair 19, Factor pair 20, Factor pair 21, Factor pair 22, Factor pair 23, Factor pair 24, Factor pair 25, Factor pair 26, Factor pair 27, Factor pair 28, Factor pair 29, Factor pair 30, Factor pair 31 and Factor pair 32.
How this calculator works
A factor (divisor) of n is a whole number d that divides n with no remainder. Factors come in pairs d × (n ÷ d), so it is enough to test every d from 1 up to √n; each one that divides n gives a pair.
When n is a perfect square, √n pairs with itself and is counted once. The number of factors is twice the number of pairs, minus one for a perfect square.
A number with exactly two factors, 1 and itself, is prime. 1 has a single factor and is neither prime nor composite. Pairs not used show a dash.
Worked example
| Whole number n (1 to 10,000) | 360 |
|---|
| Result | 360 has 24 factors |
|---|---|
| Number of factors | 24 |
| Sum of all factors | 1,170 |
| Prime or composite | Composite: it has factors other than 1 and itself |
| Factor pair 1 | 1 × 360 |
| Factor pair 2 | 2 × 180 |
| Factor pair 3 | 3 × 120 |
| Factor pair 4 | 4 × 90 |
| Factor pair 5 | 5 × 72 |
| Factor pair 6 | 6 × 60 |
| Factor pair 7 | 8 × 45 |
| Factor pair 8 | 9 × 40 |
| Factor pair 9 | 10 × 36 |
| Factor pair 10 | 12 × 30 |
| Factor pair 11 | 15 × 24 |
| Factor pair 12 | 18 × 20 |
Frequently asked questions
What are the factors of 360?
360 has 24 factors: 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 18, 20, 24, 30, 36, 40, 45, 60, 72, 90, 120, 180 and 360.
What is the difference between factors and prime factors?
Factors are all the divisors of a number. Prime factors are only the prime ones: 360 = 2³ × 3² × 5.
Why stop at 10,000?
The calculator tests every divisor up to √n, and 100 is the square root of 10,000. Below that limit, the list is complete.