Factor Calculator
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free factor calculator. List every factor of a number and its factor pairs, count them, see the prime factorization, and check if it’s prime, square or perfect.
- Number of factors
- 0
- Prime factorization
- 0
- Sum of proper factors
- 0
- Special
- 0
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the factor calculator
- Enter a whole number from 1 to 1,000,000,000,000. Commas and spaces are ignored.
- Read the results. The factor calculator lists all the factors of the number, how many there are, its factor pairs, its prime factorization, the sum of its proper factors, and whether it's prime, a perfect square or a perfect number.
What are factors?
A factor (or divisor) of a number is a whole number that divides it exactly, with no remainder. The factors of 36 are:
1, 2, 3, 4, 6, 9, 12, 18, 36
Every number greater than 1 has at least two factors: 1 and itself. A number with exactly two factors is prime.
Factor pairs
Factors come in pairs that multiply to the number:
| Factor pair | Product |
|---|---|
| 1 × 36 | 36 |
| 2 × 18 | 36 |
| 3 × 12 | 36 |
| 4 × 9 | 36 |
| 6 × 6 | 36 |
Factor pairs are useful when arranging things in rectangles, such as seating 36 people in rows, planting 36 plants in a grid, or choosing the dimensions of a 36 m² room.
How to find all factors
The fastest way by hand:
- Start at 1 and test each number up to the square root of your number.
- Each time a number divides exactly, you've found a pair: the number and the result.
- Stop when you pass the square root.
For 36, √36 = 6, so you only test 1 to 6: 1 (×36), 2 (×18), 3 (×12), 4 (×9), 5 (no), 6 (×6). That gives all nine factors. The factor calculator uses the same method.
Prime factorization
Every whole number above 1 can be written as a product of primes in exactly one way:
36 = 2 × 2 × 3 × 3 = 2² × 3²
Our prime factorization calculator shows factor trees and exponents in more detail.
Counting factors from the prime factorization
If n = p₁^a × p₂^b × p₃^c …, the number of factors is (a + 1)(b + 1)(c + 1) …
For 36 = 2² × 3²: (2 + 1)(2 + 1) = 9 factors. For 60 = 2² × 3 × 5: 3 × 2 × 2 = 12 factors.
Special kinds of numbers
- Prime numbers have exactly two factors (1 and themselves): 2, 3, 5, 7, 11 … Check large numbers with the prime number checker.
- Perfect squares have an odd number of factors, because one factor pairs with itself (6 × 6 for 36). Every other number has an even number of factors.
- Perfect numbers equal the sum of their proper factors (all factors except the number itself). 6 = 1 + 2 + 3 and 28 = 1 + 2 + 4 + 7 + 14 are perfect. The next ones are 496 and 8,128; perfect numbers are rare.
- Abundant numbers have proper factors that add up to more than the number (12: 1 + 2 + 3 + 4 + 6 = 16).
- Deficient numbers have proper factors that add up to less than the number (most numbers, including all primes).
- Highly composite numbers have more factors than any smaller number: 1, 2, 4, 6, 12, 24, 36, 48, 60, 120, 180, 240, 360 … This is one reason 12, 24, 60 and 360 are used for hours, minutes and degrees: they divide evenly in many ways.
Factors versus multiples
- Factors of 12 divide into 12: 1, 2, 3, 4, 6, 12.
- Multiples of 12 are what 12 divides into: 12, 24, 36, 48 …
The greatest common factor (GCF) and least common multiple (LCM) of two numbers connect the two ideas. Our GCF calculator and LCM calculator find them.
Where factors are useful
- Simplifying fractions: divide the top and bottom by a common factor. See the simplify fractions calculator.
- Arranging items in grids: classroom seating, product displays, tiles and planting.
- Splitting groups evenly: teams, packs and portions.
- Scheduling: finding cycles that line up.
- Algebra: factoring expressions and solving equations.
- Cryptography: the difficulty of factoring very large numbers protects RSA encryption.
A worked example
Maya is setting up a café with 48 seats and wants equal-sized tables in a neat arrangement. In the factor calculator, 48 has 10 factors: 1, 2, 3, 4, 6, 8, 12, 16, 24, 48, with factor pairs 1 × 48, 2 × 24, 3 × 16, 4 × 12 and 6 × 8.
She chooses 12 tables of 4, and for events can rearrange into 6 long tables of 8. The prime factorization, 2⁴ × 3, confirms the count: (4 + 1)(1 + 1) = 10 factors.
Who uses a factor calculator
Students use it for number work, fractions and algebra. Teachers use it to create examples. Event planners, retailers and gardeners use factor pairs to arrange things in neat grids. Programmers use it to test number-theory code.
Need more customers from Google?
This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. DeepRit manages Google Ads for small and mid-size businesses, and only Google Ads. We check your account before we ever get on a call, then fix the structure, the keywords, the tracking and the ads, with month-to-month terms and no long contract. Book a free audit call.
Counting factors from the prime factorization
You can work out how many factors a number has without listing them. Write the prime factorization with exponents, add 1 to each exponent, and multiply the results. For 72 = 2³ × 3², the count is (3 + 1) × (2 + 1) = 12 factors. For 100 = 2² × 5², the count is (2 + 1) × (2 + 1) = 9. The rule works because each factor picks some power of each prime, from zero up to the full exponent. The factor calculator lists every factor, so you can check the count matches.
Why perfect squares have an odd number of factors
Factors normally come in pairs: for 24, the pairs are 1 × 24, 2 × 12, 3 × 8 and 4 × 6, giving 8 factors. For a perfect square, one pair is a number times itself, such as 6 × 6 for 36, and that factor is counted only once. So perfect squares always have an odd number of factors: 36 has 9 (1, 2, 3, 4, 6, 9, 12, 18 and 36). Every other whole number has an even number of factors. This fact is behind a well-known puzzle about 100 lockers, where only the lockers with square numbers end up open.
Sum of factors
Adding up all the factors of a number shows whether it's perfect, abundant or deficient. A perfect number equals the sum of its factors other than itself: 6 = 1 + 2 + 3, and 28 = 1 + 2 + 4 + 7 + 14. If the sum of those proper factors is larger than the number, it's abundant; 12 is abundant because 1 + 2 + 3 + 4 + 6 = 16. If the sum is smaller, it's deficient; every prime number is deficient, because its only proper factor is 1. The factor calculator shows the sum of proper factors, so you can classify any number in one step.
Using factors to simplify fractions
To simplify a fraction, divide the top and bottom by their greatest common factor. To simplify 36/48, list the factors of both: the largest one they share is 12. Dividing gives 3/4. The factor calculator makes this easy: find the factors of each number, spot the largest one they share, and divide. For larger numbers, comparing prime factorizations is quicker: 36 = 2² × 3² and 48 = 2⁴ × 3, so the greatest common factor is 2² × 3 = 12.
Factors in everyday planning
Factors help whenever you need to split things into equal groups. A teacher with 30 pupils can make groups of 1, 2, 3, 5, 6, 10, 15 or 30, but not groups of 4 or 7 without someone left over. An event planner with 48 chairs can set them out in rows of 6 by 8, 4 by 12 or 3 by 16. A gardener with 60 bulbs can plant 5 rows of 12 or 6 rows of 10. The factor calculator lists every possibility at once.
Divisibility shortcuts
Quick rules help you spot factors in your head. A number is divisible by 2 if it ends in an even digit, by 3 if its digits add up to a multiple of 3, by 4 if its last two digits form a multiple of 4, by 5 if it ends in 0 or 5, by 6 if it passes the tests for both 2 and 3, by 9 if its digits add up to a multiple of 9, and by 10 if it ends in 0. For 1,236, the digits add up to 12, so it's divisible by 3, and it's even, so it's divisible by 6 as well.
Sources and further reading
- Divisor on Wikipedia: factors and their properties.
- Divisor function on Wikipedia: counting and summing factors.
- Perfect number on Wikipedia: numbers equal to the sum of their proper divisors.
Frequently asked questions
How do I find all the factors of a number?
Test each whole number up to the square root. Each one that divides exactly gives a pair of factors.
What are the factors of 24?
1, 2, 3, 4, 6, 8, 12, 24.
What is a factor pair?
Two factors that multiply to give the number, such as 4 × 9 for 36.
Why do perfect squares have an odd number of factors?
Because one factor pairs with itself, such as 6 × 6 for 36.
What is the difference between factors and multiples?
Factors divide into a number; multiples are what a number divides into.
Is the factor calculator free?
Yes. It's free, needs no sign-up, and works in your browser.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.