Home » Factor Calculator

Factor Calculator

FREE ONLINE TOOL

If you have ever stared at a math problem and wondered which numbers divide evenly into another number, you already know what factoring is. Factors show up constantly in school math — you need them to simplify fractions, to find a greatest common factor, to solve equations, and to understand how numbers are built. And the moment the numbers get bigger than about 30, doing it all in your head turns into a slow, error-prone chore.

This factor calculator takes the busywork out of that process. Type in any whole number from 1 to 1,000,000 and it instantly returns the complete list of factors in order, the total factor count, the prime factorization written in proper form (for example, 28 = 2² × 7), and a clear verdict telling you whether the number is prime, composite, or neither. No signup, no ads getting in the way, no waiting — just the answer.

Quick answer: A factor is any whole number that divides another number with nothing left over. The factors of 12 are 1, 2, 3, 4, 6, and 12. The prime factorization breaks a number into its prime building blocks — for 60, that is 2² × 3 × 5. A prime number has exactly two factors (1 and itself), a composite number has more than two, and 1 is neither.

Factor Calculator

Enter a whole number and get all its factors, the factor count, and the prime factorization.

1. What Is a Factor?

A factor of a number is a whole number that divides it exactly, leaving no remainder. When we say the factors of 10 are 1, 2, 5, and 10, we mean that 10 ÷ 1 = 10, 10 ÷ 2 = 5, 10 ÷ 5 = 2, and 10 ÷ 10 = 1 — every one of those divisions comes out clean, with no fraction left behind. If a division leaves a remainder, that number is not a factor. For example, 3 is not a factor of 10 because 10 ÷ 3 = 3.33…, which is not a whole number.

Factors always come in pairs, and thinking in pairs is the single most useful trick for finding them. If 4 is a factor of 20, then the matching partner is 20 ÷ 4 = 5, so 5 is automatically a factor too. This pairing means you never have to search past the square root of the number to find everything — once you have checked the small divisors, the large ones reveal themselves as partners. The calculator above uses exactly this logic, which is why it can list all the factors of a number as large as 1,000,000 in a blink.

Every number has at least the pair 1 and itself as factors. The number 1 is special: its only factor is 1, which is why it is neither prime nor composite. At the other extreme, some numbers have surprisingly long factor lists. The number 720, for instance, has 30 factors — and that is exactly why 720 is useful in problems involving fractions and division. A longer factor list gives you more ways to split, simplify, and rearrange.

It helps to separate factors from a closely related idea: multiples. A factor divides into a number (factors of 12: 1, 2, 3, 4, 6, 12), while a multiple is what you get when you multiply outward (multiples of 12: 12, 24, 36, 48…). Students often mix these two up under test pressure, so if a question ever feels confusing, ask yourself whether the answer should be smaller than the starting number (factor) or bigger (multiple).

2. How to Use This Factor Calculator

The calculator is deliberately simple — one input box, one button, full results. Here is the exact process:

  1. Enter your number. Click the input box and type any whole number from 1 to 1,000,000. The default shows 28 so you can see what the output looks like before you run your own number.
  2. Press “Find Factors.” The calculation happens instantly in your browser, so nothing is sent to a server and there is nothing to wait for.
  3. Read the factor count. The big number at the top tells you how many factors the number has in total. If the count is 2, the number is prime — you will know immediately.
  4. Check the prime/composite verdict. Right under the count, the calculator tells you whether your number is prime, composite, or neither (only 1 gets the “neither” label).
  5. Scan the full factor list. Every factor appears in ascending order inside the results panel, so you can copy the one you need or use the whole list for a fraction or GCF problem.
  6. Use the prime factorization. The breakdown into prime building blocks (like 28 = 2² × 7) is what you will need for prime factorization homework and for simplifying radicals.

Because the results appear on the same page, you can quickly run several numbers in a row — try 36, then 37, then 100 — and compare how their factor lists differ. That kind of rapid comparison builds number sense faster than any worksheet, and it is a good way to check homework answers before you turn them in.

3. Prime Factorization: How the Calculator Breaks Numbers Down

Prime factorization takes a composite number and rewrites it as a multiplication of prime numbers only. Primes are the atoms of arithmetic — they cannot be broken down further, and every whole number larger than 1 is either prime itself or a unique combination of primes. The calculator finds this combination by trial division: it starts with the smallest prime, 2, and divides as many times as it can, then moves to 3, then 5, then 7, and so on until the leftover value is 1.

Let us walk through a full worked example with the number 60, showing every division:

60 ÷ 2 = 30  →  30 ÷ 2 = 15  →  15 ÷ 3 = 5  →  5 ÷ 5 = 1

The primes we divided by were 2, 2, 3, and 5, so the prime factorization of 60 is 2 × 2 × 3 × 5, which we write more compactly with exponents as 2² × 3 × 5. You can verify the answer by multiplying back: 2 × 2 = 4, 4 × 3 = 12, 12 × 5 = 60. Multiplying the factors must always return the original number — if it does not, you missed one.

Here is a second example with a smaller number, 28 (the one shown by default in the calculator):

28 ÷ 2 = 14  →  14 ÷ 2 = 7  →  7 ÷ 7 = 1

The primes collected are 2, 2, and 7, so 28 = 2² × 7. Check: 2 × 2 = 4, and 4 × 7 = 28. Notice how the exponent form keeps things tidy — writing 2 × 2 × 7 is correct, but 2² × 7 is the standard form your teacher will expect.

Prime factorization is more than a homework exercise. It is the engine behind several tools on this site. To find the greatest common factor of two numbers, you compare their prime factorizations and multiply the shared primes. To find the least common multiple, you take the highest power of each prime that appears. And simplifying fractions becomes easy when you can see which prime factors the numerator and denominator share. Understanding this one skill makes the other three almost free.

4. Prime, Composite, or Neither: Reading the Verdict

After computing the factors, the calculator classifies your number into one of three categories. Here is exactly what each one means:

Prime: The number has exactly two factors — 1 and itself. The first few primes are 2, 3, 5, 7, 11, 13, 17, 19, 23, and 29. Note that 2 is the only even prime number; every other even number is divisible by 2 and therefore composite. Students often assume large odd numbers like 51 are prime, but 51 = 3 × 17, so it is composite. The calculator settles these questions instantly.

Composite: The number has more than two factors. Everything that is not 1 and not prime falls here — 4, 6, 8, 9, 10, 12, and so on. Most of the numbers you will factor on homework are composite, which is exactly why the factor list matters: composites are the numbers you can break apart and rearrange.

Neither: Only the number 1 earns this label. It has a single factor (itself), so it does not fit either definition. This is not just a technicality — it matters in prime factorization, where 1 contributes nothing, and in GCF and LCM problems, where including 1 in your reasoning can lead you astray.

If you are testing whether a number is prime by hand, you only need to try dividing by primes up to its square root. To test 91, for example, you would check 2, 3, 5, and 7 (since √91 ≈ 9.5). You will find 91 ÷ 7 = 13, so 91 is composite — a classic trick question. That square-root shortcut is the same optimization the calculator uses internally.

5. Tips for Finding Factors by Hand

The calculator handles the heavy lifting, but you will still need to factor numbers on paper for quizzes and tests. These tips make the manual process much faster:

  • Always start with 1 and the number itself. Every number has this pair, so write it down first. It gives you a frame and guarantees you never turn in a list missing the obvious two.
  • Use divisibility rules to skip dead ends. 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 5 if it ends in 0 or 5, and by 10 if it ends in 0. The digit-sum rule for 3 is a huge time saver: 4,527 is divisible by 3 because 4 + 5 + 2 + 7 = 18, and 18 is a multiple of 3.
  • Work upward from 2 and record pairs. Test 2, then 3, then 4, and so on. Each time you find a divisor, write down both it and its partner (number ÷ divisor). Stop when you reach the square root — everything beyond that is a repeat.
  • Factor trees beat guessing. For prime factorization on paper, draw a factor tree: split the number into any two factors, then split each branch until every branch ends in a prime. Collect all the primes at the tips and you have your factorization. It is slower than the calculator but much more reliable than mental math.
  • Check your work by multiplying. Multiply your prime factorization back together — it must equal the original number exactly. For the factor list, check that factors pair up correctly (smallest × largest = the number). These two checks catch nearly every careless error.
  • Practice with perfect squares. Numbers like 36 (factors: 1, 2, 3, 4, 6, 9, 12, 18, 36) have an odd number of factors because the square root pairs with itself. Running a few perfect squares through the calculator helps this pattern click.

6. Common Mistakes Students Make

Factoring mistakes are rarely about arithmetic — they are usually about process. Here are the errors teachers see most often, and how to avoid them:

Forgetting 1 and the number itself. This is the most frequent error by far. A student lists the factors of 18 as 2, 3, 6, 9 — and misses 1 and 18. Make it a habit: every factor list starts with 1 and ends with the number.

Counting 1 as prime. It is tempting, but 1 is neither prime nor composite because a prime must have exactly two factors. Calling 1 prime breaks formulas that depend on unique prime factorization, so keep it in its own category.

Stopping the prime factorization too early. When factoring 72, many students reach 8 × 9 and write 8 × 3² — but 8 is not prime and must be broken down further (8 = 2³), giving the correct answer 2³ × 3². Every branch of the tree must end in a prime, or you are not done.

Confusing factors with multiples. If a problem asks for the factors of 15 and you write 15, 30, 45 — those are multiples. The factors are 1, 3, 5, 15. When in doubt, remember: factors divide in and are smaller; multiples multiply out and are bigger.

Assuming odd means prime. Oddness tells you nothing about primality. 9, 15, 21, 25, 27, 33, 35, and 39 are all odd and all composite. Test divisibility by small primes before declaring anything prime.

Missing the square-root repeat. When hunting factors by hand, students sometimes keep testing past the square root and list duplicates. Once your test divisor passes √n, every factor you could still find already appeared as a partner earlier.

7. Factor Counts at a Glance

The table below shows factor lists and prime factorizations for a handful of familiar numbers. Run any of them through the calculator to confirm — and notice how the factor count jumps for numbers like 60 and 72, which is why they are so handy in fraction problems.

NumberAll factorsCountPrime factorization
121, 2, 3, 4, 6, 1262² × 3
281, 2, 4, 7, 14, 2862² × 7
361, 2, 3, 4, 6, 9, 12, 18, 3692² × 3²
601, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60122² × 3 × 5
971, 97297 (prime)
1001, 2, 4, 5, 10, 20, 25, 50, 10092² × 5²

8. Keep Going With Related Calculators

Factors are the foundation, but most math problems ask you to combine them with something else. When you need the biggest number two values share, use the greatest common factor calculator — it finds the largest common divisor in seconds. When a problem asks for the smallest number two values both divide into, the least common multiple calculator gives the answer with the method shown. And if your end goal is cleaning up messy answers, run your result through the fraction calculator to reduce and work with fractions the easy way. For background on why prime factorization works the way it does, the Wikipedia article on prime factorization gives a solid overview.

Frequently Asked Questions

What is a factor in math?
A factor is a whole number that divides another number exactly, with no remainder left over. For example, the factors of 12 are 1, 2, 3, 4, 6, and 12, because each one divides 12 cleanly. If a division leaves a remainder or a fraction, that number is not a factor.
What is the difference between factors and multiples?
Factors divide into a number and are always equal to or smaller than it (factors of 12: 1, 2, 3, 4, 6, 12). Multiples are what you get when you multiply outward, and they are equal to or larger than the number (multiples of 12: 12, 24, 36, 48). Mixing these two up is one of the most common mistakes on tests.
How do you find all factors of a number?
Test divisors starting from 1 and going up to the square root of the number. Each time you find a divisor, record it along with its partner (the number divided by the divisor). For 20: 1 and 20, 2 and 10, 4 and 5 — then stop, because the next test would repeat. That gives 1, 2, 4, 5, 10, 20.
What is prime factorization?
Prime factorization breaks a composite number into a multiplication of prime numbers only. For 60, divide by 2 to get 30, by 2 again to get 15, by 3 to get 5, and by 5 to get 1 — collecting 2, 2, 3, 5. So 60 = 2² × 3 × 5. Every number larger than 1 has exactly one prime factorization.
Is 1 a prime number?
No. A prime number must have exactly two factors — 1 and itself — but 1 has only one factor (itself), so it is neither prime nor composite. This is not just a technicality: calling 1 prime would break the rule that every number has a single, unique prime factorization.
How can you tell if a number is prime?
Test whether it is divisible by any prime up to its square root. If none divide it evenly, it is prime. For 37, you only need to check 2, 3, and 5 (since the square root of 37 is about 6) — none work, so 37 is prime. This calculator does the check instantly and tells you the verdict.
Why do prime numbers matter?
Primes are the building blocks of all whole numbers — every composite number is a unique combination of primes. That makes them the key to simplifying fractions, finding the greatest common factor, finding the least common multiple, and simplifying radicals. Modern encryption even relies on the fact that large primes are hard to factor.
What is the fastest way to factor a large number by hand?
Use divisibility rules first: even endings mean divisible by 2, digit sums that are multiples of 3 mean divisible by 3, endings in 0 or 5 mean divisible by 5. Then draw a factor tree, splitting the number into any two factors and breaking each branch down until every branch ends in a prime. Finally, multiply the primes back together to verify your answer.
Can factors be negative?
In school math, factor problems deal with positive whole numbers only, and this calculator works with positives too. In higher algebra, negative divisors are sometimes included — the factors of 12 would also include −1, −2, −3, −4, −6, and −12. Unless your teacher says otherwise, stick with the positive factors.
How many factors does a number have?
It depends on the number. Prime numbers always have exactly 2 factors, 1 has exactly 1, and composites have 3 or more. From the prime factorization, you can even predict the count: add 1 to each exponent and multiply. For 60 = 2² × 3 × 5, that is (2+1) × (1+1) × (1+1) = 12 factors.
What are factor pairs?
Factor pairs are two numbers that multiply to give the original number. The factor pairs of 24 are 1 × 24, 2 × 12, 3 × 8, and 4 × 6. Listing pairs instead of single factors is a great way to organize your work — it guarantees you find every factor without duplicates, and it shows why you can stop searching at the square root.
Why does the calculator stop at 1,000,000?
The trial-division method stays fast up to about a million, where results are still instant in your browser. Beyond that, factoring slows down noticeably — in fact, the difficulty of factoring very large numbers is what makes modern encryption secure. For school and homework problems, 1 to 1,000,000 covers everything you will ever need.

Related Tools