All tools › Math Calculators › Arithmetic
List every factor and factor pair of a whole number, with its prime factorization.
Find every factor of a number
A factor of a whole number is a whole number that divides it with nothing left over. This factor calculator lists every factor of the number you enter, pairs them up, and adds a few facts that usually come with the same homework question: the prime factorization, whether the number is prime, and whether it is a perfect square.
It is useful for simplifying fractions, finding two numbers that multiply to a given product, arranging items in equal rows, or checking work done by hand.
How to use the factor calculator
- Type a positive whole number into Whole number. Commas are fine, so 1,000 and 1000 both work.
- Press the button. The full list of factors appears at the top, smallest first, with a Copy button.
- Read the rows underneath for the count, the factor pairs and the other facts.
How the factors are found
The definition is simple:
d is a factor of n when n / d is a whole number (n mod d = 0)
Here n is your number, d is the number being tested and “mod” means the remainder after division. By hand you would test 1, 2, 3 and so on, stopping at the square root of n, because every factor above it is the partner of one below it.
The calculator takes a shortcut that gives the same list. It first breaks n into primes by dividing out 2, then 3, then each odd number in turn. Every factor of n is a product of those primes, each used no more often than it appears in n, so the calculator builds all of those products and sorts them.
Worked example: factors of 84
Enter 84. The calculator returns 1, 2, 3, 4, 6, 7, 12, 14, 21, 28, 42, 84, which is 12 factors.
| Result row | Value for 84 |
|---|---|
| Number of factors | 12 |
| Factor pairs | 1 x 84, 2 x 42, 3 x 28, 4 x 21, 6 x 14, 7 x 12 |
| Prime factorization | 2^2 x 3 x 7 |
| Sum of all factors | 224 |
| Sum of the factors smaller than the number | 140 |
You can check the count from the prime factorization: the exponents in 2^2 x 3 x 7 are 2, 1 and 1, so add 1 to each and multiply, 3 x 2 x 2 = 12.
Reading the result rows
- Factor pairs are two factors that multiply to your number. Each pair has one factor at or below the square root and one at or above it.
- Prime or composite. A prime has exactly two factors, 1 and itself. A composite has more. The number 1 has only one factor and is neither.
- Perfect square. A perfect square has one pair where both factors are the same, so it has an odd number of factors. Enter 36: the pairs end with 6 x 6 and there are 9 factors.
- Perfect, abundant or deficient compares the number with the sum of its smaller factors. For 84 that sum is 140, which is more than 84, so 84 is abundant. Enter 28 and the smaller factors 1, 2, 4, 7 and 14 add up to exactly 28, so the row reads “Perfect”.
Using factor pairs to factor a quadratic
To factor x2 + 19x + 84 you need two numbers that multiply to 84 and add up to 19. The third column of the factor pairs table, “Sum of the pair”, does the search for you. For 84 the sums are 85, 44, 31, 25, 20 and 19, so the pair is 7 and 12, and the expression factors as (x + 7)(x + 12).
Limits and assumptions
- Positive whole numbers only, from 1 up to 1,000,000,000,000 (one trillion). Negative numbers and decimals give a message, and so does zero: every whole number divides 0, so its list would never end.
- It factors numbers, not algebra. It will not factor an expression such as 6x + 9 for you.
Frequently asked questions
What is the difference between a factor and a multiple?
A factor divides the number; a multiple is the number times a whole number. 6 is a factor of 12, and 24 is a multiple of 12.
Is 1 a factor of every number?
Yes. 1 divides every whole number, and every number is a factor of itself, so every number above 1 has at least two factors.
How can I tell quickly whether a number is prime?
Enter it and look at the count. If the list is just 1 and the number itself, it is prime, and the “Prime or composite” row says so.
Why does a perfect square have an odd number of factors?
Factors come in pairs, but in a perfect square the square root is paired with itself and is counted once. That leaves an odd total.
Related calculators
- Prime Factorization Calculator – the division steps behind the prime factors.
- Common Factor Calculator – factors shared by two or more numbers.
- GCF Calculator – the largest factor a set of numbers has in common.
- Quadratic Formula Calculator – solves a quadratic when it will not factor neatly.

