Skip to content

Factor Calculator

Get every factor and factor pair of a whole number, its prime factorisation, the number of factors and their sum, and find out whether it is prime.

Formulas last reviewed: September 2026

Disclaimer: Results are calculated with standard formulas and are meant for learning and quick checks. Please double-check important work, especially anything used for exams, engineering, finance or safety.

Breaking a number into its building blocks

The factors of a number are the whole numbers that divide it exactly. A prime factorisation writes the number as a product of primes, which is like its unique fingerprint.

Enter any whole number up to a thousand trillion and this calculator lists all its factors and factor pairs, gives the prime factorisation, counts the factors, adds them up and tells you whether the number is prime.

How it is calculated

Divide by 2, 3, 5, 7 … until nothing is left
Number of factors = (e₁ + 1)(e₂ + 1)… for exponents e

Worked example

360

Prime factorisation
2^3 × 3^2 × 5
Number of factors
24
Sum of factors
1170
Some factors
1, 2, 3, 4, 5, 6, 8, 9 …

Quick divisibility tests

Divisible byTest
2Last digit is even
3Digit sum divisible by 3
5Ends in 0 or 5
9Digit sum divisible by 9
10Ends in 0

Frequently asked questions

What is a prime number?

A prime is a whole number greater than 1 whose only factors are 1 and itself, such as 2, 3, 5, 7 and 11.

Is 1 a prime number?

No. By definition a prime has exactly two different factors, and 1 has only one.

What is a factor pair?

Two factors that multiply to give the number. For 12 the pairs are 1 × 12, 2 × 6 and 3 × 4.

How large a number can I factor?

Up to 1,000,000,000,000,000. Very large numbers with big prime factors may take a moment.