Skip to content
AllCalcHub

Factor Calculator

List all factors and factor pairs of a whole number, with its prime factorisation.

About the Factor Calculator

A factor divides a number exactly. Factors come in pairs that multiply to the number, so you only need to check up to its square root. The number of factors follows from the prime factorisation: add 1 to each exponent and multiply.

The formula

If n = p₁^a × p₂^b × …, it has (a + 1)(b + 1)… factors

Worked example

360 = 2³ × 3² × 5

  1. (3 + 1)(2 + 1)(1 + 1) = 24 factors

Questions people ask

Are negative numbers factors?

In some courses, yes: −2 × −180 = 360. This calculator lists positive factors.

Which numbers have an odd number of factors?

Perfect squares, because one pair is a number times itself.