How this calculator works
- Step 1Prime factors360 = 2³ × 3² × 5Break the number into primes.
- Step 2Combine4 × 3 × 2 = 24Every mix of the prime powers is a factor.
- Step 3Pair upa × b = nEach factor below √n pairs with one above.
A factor divides the number with no remainder. The calculator builds them all from the prime factors, so even 12-digit numbers are instant.
Worked example: 360
- Count
(3 + 1)(2 + 1)(1 + 1) = 24
- 1 × 360360
- 2 × 180360
- 3 × 120360
- 4 × 90360
- 5 × 72360
- 6 × 60360
- All factors24, summing to 1,170
360 has more factors than any smaller number, which is one reason a circle has 360 degrees.
Prime, square or perfect
- 972 factorsPrime: only 1 and itself.
- 369 factorsSquare: 6 × 6 pairs with itself, so the count is odd.
- 28sum 561 + 2 + 4 + 7 + 14 = 28: a perfect number.
Only perfect squares have an odd number of factors.
Assumptions and limits
- Positive factorsIncluding 1 and the number itself.
- Up to 10¹²Counts and sums are always complete.
- 500 listedLonger lists are cut short on screen.
- No negativesNegative factors are not shown.
Related number tools
Factors list every divisor. Prime factors, LCM and HCF are built from them.
For the prime building blocks, use the prime factorization calculator. To find common factors and multiples of several numbers, try the LCM and HCF calculator.
Common mistakes
Mistake: Forgetting 1 and the number itself.
Instead: Both are always factors.
Mistake: Stopping halfway.
Instead: Check up to √n; each find gives a pair.
Mistake: Confusing factors with multiples.
Instead: Factors divide n; multiples are divided by n.
Checking the method
A separate script re-works every golden value by trial division up to the square root, without prime factors.
Read how we test our calculators, or browse more maths calculators.