Skip to content
Math guide

How to Find All the Factors of a Number

You only need to test numbers up to the square root to find every factor. This guide shows the shortcut, the divisibility rules that speed it up, and why numbers like 60 and 360 are so useful in daily life.

How to Find All the Factors of a Number

Factors come up whenever something has to be split evenly: 48 chairs into equal rows, a class of 24 into teams, a recipe into smaller batches. They also sit underneath fractions, ratios and much of school math. Finding them by hand sounds tedious, but one shortcut removes most of the work, and a second method can tell you how many factors to expect before you even start.

The idea: factors come in pairs

If 6 divides 48, then 48 ÷ 6 = 8, so 8 is a factor as well. Every factor you find hands you a partner. In each pair, one number is at or below the square root and the other is at or above it. If both were larger than the square root, their product would be too big.

That gives the method its power. You only need to test whole numbers up to the square root, and every test that succeeds gives you two factors.

Method 1: test up to the square root

  1. Work out the square root of your number, or estimate it.
  2. Try dividing by 1, 2, 3 and so on, stopping at the square root.
  3. Each time the division is exact, write down the divisor and the result.
  4. Put the small numbers in order, then add the partners in reverse order.

Take 48. Its square root is about 6.93, so you test only 1 to 6. The tests give 1 × 48, 2 × 24, 3 × 16, 4 × 12 and 6 × 8, while 5 fails. That makes ten factors: 1, 2, 3, 4, 6, 8, 12, 16, 24, 48.

The same logic is a fast primality test. For 97, the square root is about 9.85, so you only need to check 2, 3, 5 and 7. None divides it, which means 97 is prime. You can skip 4, 6, 8 and 9, since any number divisible by them would already have failed on 2 or 3.

Divisibility rules that save time

You do not need long division for the common cases.

  • 2: the last digit is even.
  • 3: the digit sum is divisible by 3 (for 372, 3 + 7 + 2 = 12, so yes).
  • 4: the last two digits form a multiple of 4 (for 1,316, 16 works).
  • 5: the number ends in 0 or 5.
  • 6: it passes the tests for both 2 and 3.
  • 8: the last three digits form a multiple of 8.
  • 9: the digit sum is divisible by 9.
  • 10: it ends in 0.
  • 11: the alternating digit sum is 0 or a multiple of 11 (for 1,001, 1 − 0 + 0 − 1 = 0, so yes).

Method 2: start from the prime factors

Dividing by primes repeatedly gives the prime factorization, and from it you can predict the number of factors. Take each exponent, add 1, and multiply the results. This works because every factor picks how many of each prime it uses, from none up to the exponent.

You can then build the factors without any further division, by combining the primes in all allowed ways. That approach becomes much faster than testing when a number has many small primes.

Worked example: 360

Step 1: find the primes. Divide 360 by 2 three times to reach 45, then by 3 twice to reach 5. So 360 = 2³ × 3² × 5.

Step 2: predict the count. The exponents are 3, 2 and 1, so the count is (3 + 1) × (2 + 1) × (1 + 1) = 24 factors. Now you know when to stop looking.

Step 3: list the pairs. The square root of 360 is about 18.97, so test 1 to 18. The tests that succeed are:

  • 1 × 360, 2 × 180, 3 × 120, 4 × 90
  • 5 × 72, 6 × 60, 8 × 45, 9 × 40
  • 10 × 36, 12 × 30, 15 × 24, 18 × 20

That is 12 pairs, which matches the prediction of 24 factors. The tests for 7, 11, 13, 14, 16 and 17 fail. The Factor Calculator gives the same list and adds that the factors sum to 1,170. The proper factors, which exclude 360 itself, sum to 810, so 360 counts as abundant.

Why 60 and 360 are everywhere

Bar chart of how many factors familiar numbers have, with 360 at 24 and 60 at 12, ahead of 100 at 9 and 10 at 4
A number's size says little about how many factors it has: 60 has more than 100.

Size does not decide how divisible a number is. The number 60 has 12 factors, while the larger 100 has only 9 and 64 has just 7. That helps explain some old measuring choices. An hour divides evenly into halves, thirds, quarters, fifths, sixths, tenths and twelfths, which a 100-minute hour could not do for thirds or sixths. A circle of 360 degrees splits neatly in 24 ways. A dozen, with 6 factors, shares out more easily than a ten-pack, which has only 4.

Using factors in everyday problems

  • Arranging things in rows: 48 chairs can form 2 rows of 24, 3 of 16, 4 of 12 or 6 of 8. The pair closest to each other gives the most compact block.
  • Simplifying fractions: comparing the factors of the top and bottom shows the largest number you can cancel.
  • Equal groups with nothing left over: the factors of the class size are the only team sizes that work.

Common mistakes

  • Leaving out 1 and the number itself. Both always count as factors.
  • Confusing factors with multiples. Factors of 12 divide into it, such as 3 and 4. Multiples of 12 are what you get from it, such as 24 and 36.
  • Stopping too soon. Testing only part of the way misses pairs. Keep going all the way up to the square root.
  • Counting a square root twice. For 49, the pair 7 × 7 adds only one factor.
  • Listing only primes. The prime factors of 12 are 2 and 3, yet the full list also includes 1, 4, 6 and 12.

FAQ

What is the difference between a factor and a multiple?

A factor goes into a number exactly, and a multiple is what results from multiplying that number by a whole number. Factors of a positive number are never larger than it, and there are finitely many. Multiples keep going forever.

Can a decimal or a fraction have factors?

In ordinary school math, factors are defined for whole numbers only. You can divide 7.5 by 2.5 to get exactly 3, but that is not called factoring in the usual sense. To work with decimals, scale them up to whole numbers first.

How can I tell quickly if a number has many factors?

Look at its prime factorization. Many small primes with modest exponents give the highest counts, as with 5,040 = 2⁴ × 3² × 5 × 7, which has 60 factors. A large prime has only 2, however big it is.

Do I ever need negative factors?

Sometimes. When you factor a quadratic expression, you may need pairs like −3 and −4 for 12. For most counting and grouping questions, positive factors are all you need, since you cannot form a negative number of teams.

Related tools

Related guides

Math

How to Find the GCF and LCM

Two quick methods for the greatest common factor and least common multiple, prime factorization and the Euclidean algorithm, with everyday uses from fractions to bus timetables.

Math

How Random Number Generators Work

Computers follow instructions, so where does randomness come from? Learn the difference between pseudo-random and secure generators, the hidden bias that breaks many simple pickers, and how fair random draws are made.

Math

How to Calculate Square Roots by Hand

What a square root is, how to estimate one in a minute without a calculator, how to simplify radicals with prime factors, and what to do with cube roots and negative numbers.