Find all factors (divisors) of a positive integer, prime factorization, factor pairs, and check if a number is prime or perfect.
| Divisor | Quotient |
|---|---|
| 2 | 180 |
| 2 | 90 |
| 2 | 45 |
| 3 | 15 |
| 3 | 5 |
| 5 | 1 |
| # | Factor A | Factor B | Check |
|---|---|---|---|
| 1 | 1 | 360 | 1 × 360 = 360 |
| 2 | 2 | 180 | 2 × 180 = 360 |
| 3 | 3 | 120 | 3 × 120 = 360 |
| 4 | 4 | 90 | 4 × 90 = 360 |
| 5 | 5 | 72 | 5 × 72 = 360 |
| 6 | 6 | 60 | 6 × 60 = 360 |
| 7 | 8 | 45 | 8 × 45 = 360 |
| 8 | 9 | 40 | 9 × 40 = 360 |
| 9 | 10 | 36 | 10 × 36 = 360 |
| 10 | 12 | 30 | 12 × 30 = 360 |
| 11 | 15 | 24 | 15 × 24 = 360 |
| 12 | 18 | 20 | 18 × 20 = 360 |
Suppose you are laying out either 360 floor tiles or 361. The 360 can be arranged in 12 different row-by-column shapes, while 361 has only three factors, 1, 19 and 361, so a single 19 by 19 square is the only tidy option. Type either number into this factor calculator and it lists every factor, groups them into pairs, writes the prime factorization and labels the number prime, composite or perfect.
A factor of n is a whole number that divides n with no remainder. The page tests every candidate i from 1 up to the square root of n. Each time i divides n it records both i and n / i, because factors come in pairs; when i equals n / i the value is recorded once.
The prime factorization divides out 2 as many times as it fits, then 3, then 4 and so on, and whatever remains at the end is itself prime. It is displayed with carets, such as 2^3 × 3^2 × 5. A number above 1 is prime when nothing except 1 and itself divides it, and 1 is labelled neither prime nor composite. The perfect badge appears when the factors other than the number itself add up to the number.
Worked example. 360 = 2^3 × 3^2 × 5, so the factor count is (3+1) × (2+1) × (1+1) = 24. The page shows Total Factors 24, Factor Pairs 12 and the Composite badge. Its other factors sum to 810, not 360, so there is no perfect badge. 361 = 19^2, so (2+1) = 3 factors, and Factor Pairs reads 2: 1 × 361 and the highlighted 19 × 19. For 28 the other factors sum to 1 + 2 + 4 + 7 + 14 = 28, so the Perfect Number badge does appear.
A prime needs exactly two distinct factors and 1 has only one, while a composite needs more than two. That leaves 1 in neither group.
Decimals and text give Enter a whole number using digits only (no decimals or text). Zero or a negative gives Enter a positive whole number (1 or greater). Anything above 10,000,000,000 gives Number must be ≤ 10,000,000,000. Commas are stripped, so 1,001 is read as 1001.
Add 1 to each exponent in the prime factorization and multiply. 5,040 = 2^4 × 3^2 × 5 × 7 gives 5 × 3 × 2 × 2 = 60 factors, which you can confirm in the Total Factors box.
No. A perfect square such as 361 has a whole-number square root and gives a pair where Factor A equals Factor B. A perfect number equals the sum of its other factors. Only six are below this page's limit, the largest being 8,589,869,056.
Indirectly. Factor each number, then multiply the primes they share, each to the smaller exponent. 360 and 364 = 2^2 × 7 × 13 share 2^2, so their greatest common factor is 4.