Skip to content
TheCalcUniverse

Factor Calculator — Find All Factors, Factor Pairs & Prime Check

Find all factors of any positive integer with a complete factor pairs table, total factor count, sum of factors, and primality test.

✓ Tested formula & cited sources Formula verified 2026-05-18 Runs in your browser — inputs never sent anywhere

See it worked out

Example — Number 24:

Total Factors

8

All Factors

1, 2, 3, 4, 6, 8, 12, 24

Factor Pairs

1 × 24 | 2 × 12 | 3 × 8 | 4 × 6

Sum of Factors

60

Prime?

No

Pairs Data

[[1,24],[2,12],[3,8],[4,6]]

The formula

n = a × b | a, b are factors of n

n
Number
a, b
Factor Pair

Worked example — Number 24

Total Factors = 8

Full explanation ↓

How Factor Calculator Works

n = a × b | a, b are factors of n

Factors are whole numbers that divide evenly into another number with no remainder. Every factor pair (a, b) satisfies a × b = n. Finding all factors of a number is a fundamental number theory skill with applications in simplification, division, and factorization problems.

n
NumberThe positive integer to find factors of. Must be a whole number greater than 0.
a, b
Factor PairTwo numbers whose product equals n. Each factor pair represents one way to multiply to reach n.
Factors come in pairs that multiply to the original number. Each pair represents one way to multiply to reach n.

How to Use

  1. Enter any positive integer in the input field.
  2. View ALL factors listed in ascending order, from smallest to largest.
  3. See the factor pairs table showing each pair multiplied together to produce the original number.
  4. Check the "Prime?" indicator to instantly determine if the number is prime (exactly two factors: 1 and itself).
  5. The sum of all factors is also displayed, which is useful for classifying numbers as deficient, perfect, or abundant.

Quick Reference

Prime numberExactly 2 factors (1 and itself)
Composite numberMore than 2 factors
Perfect numberSum of proper factors = n (e.g. 6, 28, 496)
Deficient numberSum of proper factors < n (e.g. 10, 14)
Abundant numberSum of proper factors > n (e.g. 12, 18)
Square numberOne factor pair has a = b (e.g. 4×4=16)

Understanding the Result

Finding factors is a fundamental number theory skill with applications throughout mathematics. A factor of n is any integer that divides n evenly with no remainder. Every positive integer greater than 1 has at least two factors: 1 and itself. Numbers with exactly two factors are called prime numbers, while numbers with more than two factors are called composite numbers. The number 1 is neither prime nor composite — it has exactly one factor. To find all factors efficiently, you only need to test divisors up to the square root of n: for each divisor d that divides n evenly, both d and n/d are factors. This is why the calculator can find factors of large numbers quickly. For example, for n = 36, the square root is 6, so testing divisors 1 through 6 reveals: 1 × 36, 2 × 18, 3 × 12, 4 × 9, and 6 × 6. The sum of all proper factors (excluding n itself) determines whether a number is deficient (sum < n), perfect (sum = n, like 6 = 1+2+3), or abundant (sum > n).

Worked Examples

A teacher has 24 cookies to divide equally among students. How many ways can she group them?

number = 24

8 factors: 1, 2, 3, 4, 6, 8, 12, 24 — 4 factor pairs

With 8 factors, the cookies can be split into groups of 1, 2, 3, 4, 6, 8, 12, or 24. For 6 groups of 4 each, use the factor pair 4 × 6.

A gardener wants to plant 36 flowers in a rectangular grid. All possible row arrangements?

number = 36

9 factors: 1, 2, 3, 4, 6, 9, 12, 18, 36 — 5 factor pairs including 6 × 6 (square)

The 6 × 6 square arrangement means 36 is a perfect square. The gardener has 5 rectangular layouts: 1×36, 2×18, 3×12, 4×9, and the 6×6 square.

Check if 97 is a prime number (important for cryptography or quick divisibility checks).

number = 97

2 factors: 1, 97 — Prime: Yes

Since √97 ≈ 9.85, we only need to test divisibility by 2, 3, 5, 7 (primes ≤ 9). None divide 97 evenly, confirming it is indeed prime.

Frequently Asked Questions

What is a factor pair?
A factor pair is two numbers that multiply together to give the original number. For example, 24 has factor pairs: 1 × 24, 2 × 12, 3 × 8, and 4 × 6. The pairs are listed in the table for quick reference. Each pair represents a different rectangular arrangement of objects.
How do I find factors of large numbers?
Start with 1 and work up to the square root of the number. For each number that divides evenly, add both the divisor and the quotient to your list. You only need to check up to the square root because every divisor below the square root pairs with one above it. Using a calculator like this one automates the process instantly.
What is the difference between factors and multiples?
Factors of n divide n evenly (e.g., factors of 12 are 1, 2, 3, 4, 6, 12). Multiples of n are what you get by multiplying n by integers (e.g., multiples of 12 are 12, 24, 36, 48...). Factors are always less than or equal to n; multiples are always greater than or equal to n. Factors are the "building blocks"; multiples are the "extensions."
How can I tell if a number is a perfect square from its factors?
A number is a perfect square when one of its factor pairs has two equal numbers — like 6 × 6 = 36 or 7 × 7 = 49. Another sign: perfect squares always have an odd number of total factors (because the square root factor only counts once). For example, 36 has 9 factors (odd); 24 has 8 factors (even).
What are proper factors and why do they matter?
Proper factors are all factors of a number except the number itself. For 12, proper factors are 1, 2, 3, 4, 6. The sum of proper factors determines if the number is deficient (sum < n), perfect (sum = n, e.g. 6 and 28), or abundant (sum > n). This classification was studied by ancient Greek mathematicians and connects to amicable numbers and aliquot sequences.
How do factors help with simplifying fractions?
To simplify a fraction like 24/36 to its lowest terms, find the factors of both numerator and denominator, then identify the largest factor they share (the GCF). Divide both by that number: 24/36 divided by 12/12 gives 2/3. The factor calculator helps you spot common factors quickly.

Pro Tips

  • To quickly check if a number is prime, find its square root and test divisibility by primes up to that root. For numbers under 100, you only need to test 2, 3, 5, and 7.
  • When factoring for fraction simplification, look for the largest factor that both numerator and denominator share — this is the GCF. The factor calculator lists all candidates.
  • The sum of proper factors (excluding the number itself) classifies the number: if the sum equals the number, it is perfect (6, 28, 496, 8128). If less, deficient. If more, abundant.
  • Factor pairs are symmetric around √n. Once you pass the square root, every new divisor is just the paired partner of one you already found — no need to search beyond.

Limitations to Know

  • This calculator works only with positive integers. Negative numbers, zero, decimals, and fractions are not supported. For negative integer factors, treat the sign separately.
  • For extremely large numbers (over 10¹²), the trial-division algorithm becomes slow. Cryptographic applications use specialized factoring algorithms (Pollard rho, quadratic sieve) instead.
  • The prime/not-prime check only counts total factors. It does not perform a Miller-Rabin primality test or provide a certainty level — it assumes trial division is sufficient for the entered number.
Was this calculator helpful?
Cite this calculator

TheCalcUniverse. "Factor Calculator — Find All Factors, Factor Pairs & Prime Check." TheCalcUniverse, 2026, https://thecalcuniverse.com/math/factor-calculator/. Accessed July 24, 2026.

Embed this calculator on your site

Free to embed. Paste this into any HTML page — it stays up to date automatically.

Open embed ↗

You may also like