Enter any whole number and get every factor at once, the full prime factorization, and the classifications that matter: prime or composite, perfect square, and perfect, abundant or deficient.
A factor of a whole number is any whole number that divides it exactly, with nothing left over. The factors of 12 are 1, 2, 3, 4, 6 and 12, because each one divides 12 evenly: 12 ÷ 3 = 4 with no remainder, so both 3 and 4 belong. Factors always come in pairs that multiply to the number, and 1 and the number itself are always members of the list, which is why every number has at least two factors except 1, which has exactly one.
Factors describe what a number is built from. Two numbers with the same factors behave alike in fractions and sharing problems, which is why the factor list is the first thing an analyst reaches for when a division or simplification question appears.
Checking every number up to n would waste half the work, because factors pair up: once you know 5 divides 360, you know 72 does too, since 5 × 72 = 360. So the search only needs to run up to the square root. For 360, the square root is about 18.97, so the last candidate worth checking is 18: every composite number has a factor no larger than its square root. The full list:
That is twelve pairs, so 360 has 24 factors. Notice that 19 is skipped: 360 ÷ 19 leaves a remainder, and no candidate beyond the square root can produce an unpaired factor. This square-root shortcut is exactly why the calculator can factor a 12-digit number in a blink while checking a million candidates would take noticeably longer.
Every whole number greater than 1 is either a prime (its only factors are 1 and itself) or can be written as a product of primes in exactly one way. That unique product is the prime factorization, and it works like a fingerprint:
360 = 23 × 32 × 5
three 2s, two 3s and one 5, and no other list of primes multiplies to 360
The breakdown card above shows the whole reduction line by line: 360 = 2 × 180 = 2 × 2 × 90 = 2 × 2 × 2 × 45 = ... = 2 × 2 × 2 × 3 × 3 × 5. The prime factorization answers questions the factor list cannot: how many factors does a number have without listing them? Multiply one plus each exponent: (3 + 1) × (2 + 1) × (1 + 1) = 24. It also proves primality on the spot. The number 17 resists every division attempt below its square root, so its factorization is just 17, and it is prime.
Add up a number's proper divisors, the factors below the number itself, and three personalities emerge:
The classification card also flags perfect squares, numbers whose square root is a whole number. They are the one case where the factor pairs contain an unpaired middle member, which is why a perfect square always has an odd number of factors: 1,000,000 has 49 of them, with 1,000 sitting alone in the middle of the list.
Just 1 itself, since the only whole number that divides 1 evenly is 1. That single-member list is why 1 sits in its own category: it is neither prime (primes need exactly two factors) nor composite (composites need three or more). Every other whole number has at least two factors, 1 and itself.
The definitions exclude them by design. A prime must have exactly two distinct factors, and 1 has only one; a composite must be a product of at least two primes, and 1 cannot be built that way. Zero is excluded because every number divides 0, giving it infinitely many divisors. Keeping 0 and 1 out of both classes preserves the rule that every number factors into primes in exactly one way.
Take the prime factorization, add one to each exponent, and multiply the results. For 360 = 2^3 × 3^2 × 5, that is (3 + 1) × (2 + 1) × (1 + 1) = 24 factors, matching the full list. Primes always have exactly 2, and perfect squares always have an odd count because their square root pairs with itself.
Test divisors in order from 1 up to the square root, and each hit writes two factors: the divisor and the quotient. For 360 the square root is about 18.97, so you stop after checking candidates up to 18 and still collect all 24 factors. Checking divisibility gets quicker with the small rules: even numbers divide by 2, digit sums divisible by 3 mean the number is, and so on.
Factors divide the number and are never larger than it; multiples are the number times whole numbers and never smaller. The factors of 12 are 1, 2, 3, 4, 6 and 12, while the multiples of 12 are 12, 24, 36, 48 and onward without end. Factors form a finite list; multiples form an infinite one, and the two meet in problems about shared divisors and shared multiples.
Because multiplying is fast but un-multiplying is not. A computer multiplies two 300-digit primes in an instant, yet recovering those primes from their 600-digit product would take classical computers longer than the age of the universe with the best known methods. Public-key encryption publishes such a product and keeps the factors secret, making the difficulty of factoring the lock that guards internet traffic.
Yes. Any whole number divided by 1 is itself, with no remainder, so 1 appears in every factor list, always as the smallest member paired with the number itself. That is also why 1 is called the universal factor, and why GCF questions never have an answer smaller than 1.
No. Every calculation runs in your browser. Nothing is stored or transmitted.