Factors Calculator: How to Find All Factors Fast
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
This factors calculator finds every positive divisor of a whole number you enter, showing the full factor list, the factor pairs, and the prime factorization. You type in any integer, and it returns the complete set of factors in seconds, which is especially useful for homework, simplifying fractions, or solving problems involving divisibility. The calculator below also tells you whether the number is prime or composite and gives the total count of factors.
Formula
The calculator uses a straightforward trial division method. For a given positive integer n, it checks every integer d from 1 up to the square root of n. If n divided by d leaves no remainder (i.e., n mod d = 0), then both d and n/d are factors. This works because factors come in pairs: if a × b = n, then one of the pair is always less than or equal to √n and the other is greater than or equal to √n. The calculator sorts the results and removes duplicates (like when d equals n/d, which happens for perfect squares).
The number of factors can also be computed from the prime factorization. If n = p�^e� × p₂^e₂ × … × pₖ^eₖ, then the total number of positive divisors is (e�+1) × (e₂+1) × … × (eₖ+1). For example, 72 = 2³ × 3², so the count is (3+1)(2+1) = 12.
Worked Example
Let’s find all factors of 72 (the default value).
- List the integers from 1 to √72 ≈ 8.48, so 1 through 8.
- Check each:
- 1 divides 72 → pair (1, 72)
- 2 divides 72 → pair (2, 36)
- 3 divides 72 → pair (3, 24)
- 4 divides 72 → pair (4, 18)
- 5 does not divide 72
- 6 divides 72 → pair (6, 12)
- 7 does not divide 72
- 8 divides 72 → pair (8, 9)
- Collect all numbers: 1, 2, 3, 4, 6, 8, 9, 12, 18, 24, 36, 72.
- Sorted: 1, 2, 3, 4, 6, 8, 9, 12, 18, 24, 36, 72.
The calculator shows 12 factors, the pairs (1,72), (2,36), (3,24), (4,18), (6,12), (8,9), and correctly identifies 72 as composite.
How to Use the Factors Calculator
Enter any positive whole number in the “Number� field. The calculator instantly displays:
- All factors in ascending order.
- Factor pairs (two numbers that multiply to the original).
- Total count of factors.
- Prime or composite status.
For numbers larger than about 10 million, the trial division may take a moment, but for typical school problems it’s instant. The calculator only accepts integers; decimals or negative numbers will produce an error or be ignored.
Why Find Factors?
Finding factors is a foundational skill in arithmetic and number theory. You need factors to:
- Simplify fractions (find the greatest common factor).
- Solve problems involving divisibility and remainders.
- Work with prime factorization, which is used in cryptography and coding.
- Understand patterns like perfect numbers (where the sum of proper factors equals the number itself).
For example, to simplify 48/72, you find the greatest common factor (GCF) of 48 and 72, which is 24, then divide both by 24 to get 2/3. A factors calculator makes this quick.
Common Mistakes and Misconceptions
One common error is forgetting that 1 and the number itself are always factors. Another is mixing up factors with multiples: factors divide the number, multiples are the number times other integers. For instance, 6 is a factor of 72, but 72 is a multiple of 6.
A frequent misconception is that a prime number has no factors—it actually has exactly two: 1 and itself. Also, some people think 0 is a factor of every number, but factors are defined as positive divisors, and division by zero is undefined.
When doing it by hand, people often stop at the square root and forget to include the larger half of the pairs. The calculator automatically handles that.
Limits of the Formula
The trial division method is simple but not efficient for extremely large numbers (over 10^12). For such numbers, more advanced algorithms like Pollard’s rho or the general number field sieve are used. However, for everyday use and school math, this method is perfectly fine. The calculator also only works with positive integers; negative numbers have the same factors as their absolute value, but the calculator focuses on positive divisors.
Also note that the calculator does not handle fractions or decimals—those are not integers, so they don’t have factors in the usual sense.
Frequently Asked Questions
What is the difference between a factor and a multiple?
A factor of a number is an integer that divides it exactly without a remainder. A multiple is the result of multiplying the number by any integer. For example, 4 is a factor of 12, while 24 is a multiple of 12. Factors are always less than or equal to the number; multiples are greater than or equal to the number (except for negative multiples).
How do I find the greatest common factor (GCF) using this calculator?
Enter the first number, note its factors, then enter the second number and note its factors. The largest number that appears in both lists is the GCF. For example, for 48 and 72, the factors of 48 are 1,2,3,4,6,8,12,16,24,48 and of 72 are 1,2,3,4,6,8,9,12,18,24,36,72; the common ones are 1,2,3,4,6,8,12,24, so the GCF is 24.
Can the calculator find factors of negative numbers?
No, the calculator only accepts positive integers. In mathematics, the factors of a negative number are the same as the factors of its absolute value, but with sign considerations. For example, factors of -12 are ±1, ±2, ±3, ±4, ±6, ±12. For simplicity, this tool focuses on positive divisors.
Why do some numbers have an odd number of factors?
Only perfect squares have an odd number of factors. This is because in a perfect square, one factor pair consists of the same number (like 6×6=36), so that pair contributes only one distinct factor. All other numbers have an even number of factors because every factor pairs with a distinct partner.
What is a prime number?
A prime number is a positive integer greater than 1 that has exactly two distinct positive factors: 1 and itself. Examples are 2, 3, 5, 7, 11. The number 1 is not prime because it has only one factor. The calculator will tell you if your number is prime or composite.
How do I find the prime factorization using this calculator?
The calculator gives you the list of factors, but not directly the prime factorization. To get it, you can repeatedly divide by the smallest prime factor. For example, for 72, divide by 2 to get 36, by 2 to get 18, by 2 to get 9, then by 3 to get 3, and by 3 to get 1. So the prime factorization is 2³ × 3².
Related
Formula used
in n | Number | - | 72 | 1 out factors | All factors | - | factor_list(n) | 0 out pairs | Factor pairs | - | factor_pairs(n) | 0 out count | Number of factors | - | factor_count(n) | 0 out prime | Prime? | - | is_prime(n) | 0
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.