Factors Calculator — Free Factor Pairs Finder Tool
Find all factors and factor pairs of any integer instantly. Free factors calculator listing every divisor, perfect for homework, fractions, and number theory.
9
1, 2, 3, 4, 6, 9, 12, 18, 36
About this calculator
Factors Calculator
Comprehensive Guide to Factors Calculator
The Factors Calculator computes all integer divisors, factor pairs, prime factorizations, and number-theoretic classifications for any whole number. Whether you are dividing modular inventory lots in supply chain logistics, factoring quadratic equations in algebra, designing responsive CSS grid systems, or implementing RSA public-key cryptographic security, factor analysis forms the bedrock of discrete mathematics and computational computer science.
In number theory, an integer $a$ is defined as a factor (or divisor) of an integer $b$ if dividing $b$ by $a$ yields an exact integer quotient with zero remainder. Determining the complete factor spectrum of numbers illuminates structural arithmetic properties—distinguishing basic prime numbers from composite numbers, perfect squares, abundant numbers, and highly composite numbers (anti-primes) that power our clock systems (60 minutes, 12 hours) and circular geometry (360 degrees).
How to Use the Factors Calculator
- Enter Any Positive Integer ($n$): Input any whole number ($n \ge 1$) into the input field.
- Review the Complete Divisor Set: Inspect the ordered list of all positive integer divisors from $1$ up to $n$.
- Analyze Factor Pairs: View the complementary multiplicative pairs $(d_1, d_2)$ where $d_1 \times d_2 = n$.
- Inspect Prime Factorization: Examine the unique prime decomposition expressed in exponential canonical form ($p_1^{e_1} \times p_2^{e_2} \times \dots$).
- Evaluate Number Theory Metrics: Check divisor count $d(n)$, sum of divisors $\sigma(n)$, aliquot sum $s(n)$, and classification as prime, composite, abundant, deficient, or perfect.
The Calculator Formulas
Divisor relations, prime factorization theorems, and multiplicative arithmetic functions:
1. Divisibility Condition:
a | b <=> b = a × k (where k is an integer and remainder b mod a = 0)
2. Factor Pair Symmetry Property:
If d is a divisor of n, then (n / d) is also a divisor of n.
All factor pairs can be completely determined by testing integers up to:
1 ≤ d ≤ floor(√n)
3. Canonical Prime Factorization (Fundamental Theorem of Arithmetic):
n = p₁^(e₁) × p₂^(e₂) × p₃^(e₃) × ... × pₖ^(eₖ)
Where pᵢ are distinct prime numbers and eᵢ ≥ 1 are integer exponents.
4. Total Divisor Counting Function d(n) / τ(n):
d(n) = (e₁ + 1) × (e₂ + 1) × (e₃ + 1) × ... × (eₖ + 1)
5. Sum of Divisors Function σ(n):
σ(n) = [ (p₁^(e₁ + 1) - 1) / (p₁ - 1) ] × ... × [ (pₖ^(eₖ + 1) - 1) / (pₖ - 1) ]
6. Aliquot Sum s(n) (Sum of Proper Divisors):
s(n) = σ(n) - n
- Perfect Number: s(n) = n (e.g., 6, 28, 496)
- Abundant Number: s(n) > n (e.g., 12, 18, 24)
- Deficient Number: s(n) < n (e.g., all primes, 8, 9, 10)
Practical Examples
Example 1: Finding All Divisors and Factor Pairs of 72
A warehouse manager has 72 identical pallets of goods and wants to know all possible rectangular floor grid configurations.
Parameter: n = 72
Step 1: Determine √72:
√72 ≈ 8.485 → Test integer divisors d from 1 up to 8.
Step 2: Trial Division Test:
72 / 1 = 72 → Pair: (1, 72)
72 / 2 = 36 → Pair: (2, 36)
72 / 3 = 24 → Pair: (3, 24)
72 / 4 = 18 → Pair: (4, 18)
72 / 5 = 14.4 (Remainder 2 ≠ 0, not a factor)
72 / 6 = 12 → Pair: (6, 12)
72 / 7 = 10.28 (Remainder 2 ≠ 0, not a factor)
72 / 8 = 9 → Pair: (8, 9)
Step 3: Prime Factorization:
72 = 2³ × 3²
Step 4: Compute Total Divisor Count:
d(72) = (3 + 1) × (2 + 1) = 4 × 3 = 12 divisors.
Ordered Divisors: 1, 2, 3, 4, 6, 8, 9, 12, 18, 24, 36, 72.
Result: The manager can configure the pallets in exactly 6 unique rectangular layouts:
1×72, 2×36, 3×24, 4×18, 6×12, and 8×9.
Example 2: Determining If 28 Is a Perfect Number
Determine whether 28 qualifies as an ancient Pythagorean "perfect number."
Parameter: n = 28
Step 1: Find all divisors:
Divisors of 28: 1, 2, 4, 7, 14, 28.
Step 2: Isolate Proper Divisors (all divisors strictly less than 28):
Proper Divisors: 1, 2, 4, 7, 14.
Step 3: Compute Aliquot Sum s(28):
s(28) = 1 + 2 + 4 + 7 + 14 = 28.
Step 4: Compare s(n) to n:
Because s(28) = 28 exactly, 28 is a Perfect Number.
By the Euclid-Euler theorem:
2^(p-1) × (2^p - 1) for prime p = 3:
2^(3-1) × (2³ - 1) = 2² × 7 = 4 × 7 = 28.
Key Concepts & Essential Terminology
Figure: Fundamental classification of integers based on divisor counts, prime factorization, and aliquot balance.
Understanding divisors requires mastering several core number-theoretic definitions and classifications:
- Divisor (Factor): An integer $d$ such that $n / d$ leaves no remainder ($n \equiv 0 \pmod d$).
- Proper Divisor: Any divisor of $n$ strictly less than $n$ itself ($1 \le d < n$).
- Prime Number: An integer strictly greater than 1 that possesses exactly two distinct positive divisors: $1$ and itself (e.g., $2, 3, 5, 7, 11$).
- Composite Number: An integer $n > 1$ that possesses three or more positive divisors (e.g., $4, 6, 8, 9, 12$).
- Perfect Square: An integer whose square root is a whole number (e.g., $36 = 6^2$). A number has an odd count of divisors if and only if it is a perfect square; all non-square numbers have an even count of divisors because factors pair up distinctly.
- Aliquot Sum $s(n)$: The sum of all proper divisors of $n$, used to classify numbers into abundant ($s(n) > n$), deficient ($s(n) < n$), and perfect ($s(n) = n$).
Integer Divisor Properties & Classification Reference Table (n = 1 to 24)
The table below illustrates divisor sets, total divisor counts $d(n)$, aliquot sums $s(n)$, and number classifications:
| Integer (n) | Complete Factor Set | Total Divisors d(n) | Aliquot Sum s(n) | Number Classification |
|---|---|---|---|---|
| 1 | 1 | 1 | 0 | Unit (Neither prime nor composite) |
| 2 | 1, 2 | 2 | 1 | Prime (Only even prime) |
| 3 | 1, 3 | 2 | 1 | Prime |
| 4 | 1, 2, 4 | 3 | 3 | Composite, Perfect Square, Deficient |
| 5 | 1, 5 | 2 | 1 | Prime |
| 6 | 1, 2, 3, 6 | 4 | 6 | Composite, First Perfect Number |
| 7 | 1, 7 | 2 | 1 | Prime |
| 8 | 1, 2, 4, 8 | 4 | 7 | Composite, Cube, Deficient |
| 9 | 1, 3, 9 | 3 | 4 | Composite, Perfect Square, Deficient |
| 10 | 1, 2, 5, 10 | 4 | 8 | Composite, Deficient |
| 11 | 1, 11 | 2 | 1 | Prime |
| 12 | 1, 2, 3, 4, 6, 12 | 6 | 16 | Composite, First Abundant Number |
| 13 | 1, 13 | 2 | 1 | Prime |
| 14 | 1, 2, 7, 14 | 4 | 10 | Composite, Deficient |
| 15 | 1, 3, 5, 15 | 4 | 9 | Composite, Deficient |
| 16 | 1, 2, 4, 8, 16 | 5 | 15 | Composite, Perfect Square ($2^4$), Deficient |
| 17 | 1, 17 | 2 | 1 | Prime |
| 18 | 1, 2, 3, 6, 9, 18 | 6 | 21 | Composite, Abundant |
| 19 | 1, 19 | 2 | 1 | Prime |
| 20 | 1, 2, 4, 5, 10, 20 | 6 | 22 | Composite, Abundant |
| 21 | 1, 3, 7, 21 | 4 | 11 | Composite, Deficient |
| 22 | 1, 2, 11, 22 | 4 | 14 | Composite, Deficient |
| 23 | 1, 23 | 2 | 1 | Prime |
| 24 | 1, 2, 3, 4, 6, 8, 12, 24 | 8 | 36 | Composite, Highly Abundant |
Highly Composite Numbers (Anti-Primes) & Human Design Standards
A highly composite number (first formalized by Srinivasa Ramanujan) is a positive integer that has strictly more divisors than any smaller positive integer. These numbers represent the pinnacle of modular division and explain why ancient and modern civilizations structured standard measurement units around them:
| Highly Composite Number | Prime Factorization | Total Divisors d(n) | Practical Human Application & Civil Engineering Use |
|---|---|---|---|
| 1 | 1 | 1 | Fundamental unit |
| 2 | 2¹ | 2 | Binary logic, pairs, halves |
| 4 | 2² | 3 | Quarters, compass directions (N, S, E, W) |
| 6 | 2¹ × 3¹ | 4 | Six-pack packaging, dice geometry |
| 12 | 2² × 3¹ | 6 | Hours on a clock face, inches in a foot, months in a year, dozens |
| 24 | 2³ × 3¹ | 8 | Hours in a solar day, standard cinematic film frame rate (24 fps) |
| 36 | 2² × 3² | 9 | Inches in a yard, Roulette wheel pockets |
| 48 | 2⁴ × 3¹ | 10 | Audio sampling standards (48 kHz), font point sizes |
| 60 | 2² × 3¹ × 5¹ | 12 | Babylonian sexagesimal system: 60 seconds per minute, 60 minutes per hour |
| 120 | 2³ × 3¹ × 5¹ | 16 | Angle divisions, photography shutter speeds |
| 180 | 2² × 3² × 5¹ | 18 | Degrees in a triangle, half-circle turnaround |
| 240 | 2⁴ × 3¹ × 5¹ | 20 | British pre-decimal pound sterling (240 pence in £1) |
| 360 | 2³ × 3² × 5¹ | 24 | Degrees in a complete circle, approximate days in ancient solar year |
| 720 | 2⁴ × 3² × 5¹ | 30 | Degrees in a hexagon, 720p HD video scanlines |
| 840 | 2³ × 3¹ × 5¹ × 7¹ | 32 | First number divisible by all integers 1 through 8 |
| 2,520 | 2³ × 3² × 5¹ × 7¹ | 48 | Plato's Ideal City Population: Smallest number divisible by all integers 1 to 10 |
How Divisor Factoring Works
Factoring integers balances computational number theory, trial division algorithms, and modular arithmetic:
1. The $sqrt{n}$ Boundary Theorem
A fundamental theorem of number theory states that every composite number $n$ must possess at least one prime factor less than or equal to $sqrt{n}$.
Proof by Contradiction: Suppose $n = a imes b$ where both $a > sqrt{n}$ and $b > sqrt{n}$. Multiplying these inequalities yields $a imes b > sqrt{n} imes sqrt{n} = n$, which contradicts $a imes b = n$. Therefore, at least one factor must be $le sqrt{n}$.
This property reduces the computational time of trial division from $O(n)$ to $O(sqrt{n})$: to test whether $1,000,000$ has factors, an algorithm only needs to test integers up to $sqrt{1,000,000} = 1,000$.
2. Odd Divisor Count of Perfect Squares
Why does 36 have an odd number of factors (9 divisors: 1, 2, 3, 4, 6, 9, 12, 18, 36) while 24 has an even number (8 divisors)?
Divisors naturally occur in matched pairs $(d, n/d)$. For any non-square number, $d e n/d$ for all factors, so every factor has a distinct partner, creating an even total count. For a perfect square, however, the central factor pair occurs at $d = sqrt{n}$, where $d = n/d$ (for 36, $6 imes 6 = 36$). Because the square root is paired with itself, it contributes only one unique divisor to the set, making the total count strictly odd.
3. The Prime Divisor Product Rule
Using the Fundamental Theorem of Arithmetic, every integer decomposes uniquely into $n = p_1^{e_1} p_2^{e_2} dots p_k^{e_k}$. Every divisor $d$ must take the form $d = p_1^{a_1} p_2^{a_2} dots p_k^{a_k}$ where each exponent satisfies $0 le a_i le e_i$. Because there are $(e_i + 1)$ independent choices for each exponent $a_i$ (from $0$ to $e_i$), the total number of divisors is precisely:
d(n) = (e₁ + 1) × (e₂ + 1) × ... × (eₖ + 1)
Common Factors Calculator Mistakes to Avoid
- Forgetting 1 and the Number Itself: Overlooking that $1$ and $n$ are always valid positive factors of $n$.
- Confusing Factors with Multiples: Mixing up divisors with products. Factors divide evenly into $n$ ($d le n$), whereas multiples are products of $n$ ($m ge n$).
- Assuming Large Numbers Always Have Many Factors: Assuming that a huge number automatically has dozens of divisors. For example, large prime numbers (like $2^{82,589,933} - 1$) possess billions of digits but have exactly two factors: 1 and the number itself.
- Testing Numbers Past $sqrt{n}$: Inefficiently checking every integer up to $n$ in custom scripts instead of stopping at $lfloor sqrt{n} floor$ and pairing $(d, n/d)$.
- Treating 1 as a Prime Number: Labeling 1 as prime. By modern mathematical definition, prime numbers must have exactly two distinct positive divisors. Since 1 has only one divisor (itself), it is designated as a "unit."
Frequently Asked Questions
What is the difference between a factor and a multiple?
A factor is a number that divides into another number evenly with zero remainder (for example, 3 is a factor of 12). A multiple is the result of multiplying a number by an integer (for example, 12, 24, and 36 are multiples of 12). Factors are always less than or equal to the number, while multiples are greater than or equal to the number.
Why is 1 neither prime nor composite?
By mathematical definition, a prime number must have exactly two distinct positive divisors (1 and itself). A composite number must have three or more distinct divisors. Because the number 1 has only one single positive divisor (1), it fits neither definition and is classified as a multiplicative unit.
Why do perfect squares always have an odd number of factors?
Factors of a number naturally pair up (such as 1 × 36, 2 × 18, 3 × 12, 4 × 9). In a perfect square, the square root pairs with itself (6 × 6 = 36). Because this central factor cannot be counted twice, the total number of distinct divisors is always odd.
What is a perfect number in mathematics?
A perfect number is a positive whole number whose proper divisors (all divisors excluding the number itself) sum up to exactly the number. The first four perfect numbers are 6 (1 + 2 + 3 = 6), 28 (1 + 2 + 4 + 7 + 14 = 28), 496, and 8,128.
How does prime factorization help find all factors?
Expressing a number in prime exponential form n = p₁^(e₁) × p₂^(e₂) allows you to quickly calculate the exact number of divisors via d(n) = (e₁ + 1)(e₂ + 1). Generating all combinations of prime powers produces every factor systematically without trial division.
Can negative numbers have factors?
Yes. In abstract algebra, every positive divisor d of n also has a corresponding negative divisor -d (for example, the divisors of 6 are ±1, ±2, ±3, and ±6). However, in standard arithmetic and school mathematics, "factors" conventionally refers to positive integer divisors unless explicitly stated otherwise.
Conclusion
The Factors Calculator delivers instant evaluation of divisor sets, canonical prime decompositions, factor pair symmetries, and number-theoretic aliquot properties. By applying the $sqrt{n}$ boundary rule and prime-power divisor counting theorems, students, engineers, and software architects can decompose complex numerical values with mathematical precision.
Related Calculators
Sources & References
Technical & General Calculation Disclaimer
This calculation tool applies standard mathematical, scientific, or engineering formulas. While designed for precision, output values are estimates and should be independently verified for commercial, structural, or safety-critical applications.
Comments
Loading comments…
Related Math Calculators
Explore more tools to continue your analysis
Prime Factorization Calculator
Decompose integer into prime factors.
GCF Calculator
Calculate Greatest Common Factor.
LCM Calculator
Calculate Least Common Multiple.
Prime Number Calculator
Check if a number is prime and find factors.
Divisibility Test Calculator
Check divisibility by common integers.
Factorial Calculator
Calculate the factorial of a number.
Fraction Calculator
Add, subtract, multiply, and divide fractions.
Scientific Calculator
Advanced math operations.