Skip to main content
🔢 Number Theory

Factors Calculator

Enter a whole number to list all its factors and factor pairs, count and sum them, and see whether it's prime or a perfect square.

All factors
Factor pairs
Count & sum
Prime / square check
100% Free
🔢 Open All Math Calculators 📖 Read the Guide

Factors — Quick answer

Factors are the whole numbers that divide it exactly, in pairs that multiply to the number.

factor pairs of n: every d × (n ÷ d) with no remainder

Worked example: 24 → 1, 2, 3, 4, 6, 8, 12, 24 (8 factors).

Examples

NumberFactorsCount
361,2,3,4,6,9,12,18,369
131, 13 (prime)2
1001,2,4,5,10,20,25,50,1009

Perfect squares have an odd factor count (one factor pairs with itself).

🔢 Factors Calculator

Enter a positive whole number.

Number of factors
Sum of factors
Factor pairs
Classification

ℹ️ Factors are found by testing divisors up to √n. Enter a whole number from 1 to 1,000,000,000.

The factors (or divisors) of a number are the whole numbers that divide it exactly, with no remainder. They come in factor pairs that multiply to the number. This calculator lists every factor and pair, counts and sums them, and tells you whether the number is prime or a perfect square.

Reviewed: June 20, 2026 · Author: Naveen P N, Founder — AI Calculator · Verified against: exact divisor enumeration, recomputed in code.

How factors are found

Factor pairs
for each d from 1 to √n, if n ÷ d is whole, both d and n ÷ d are factors

You only need to test divisors up to the square root, because factors come in pairs straddling it — one below √n and its partner above. A number with an odd count of factors is a perfect square, since its square root pairs with itself. A number with exactly two factors (1 and itself) is prime.

Worked examples

24:

8 factors
1×24, 2×12, 3×8, 4×6 → 1, 2, 3, 4, 6, 8, 12, 24

36 (perfect square):

9 factors
… 6×6 … → odd count, square root 6

13 (prime):

2 factors
only 1 × 13

The sum of the factors of 24 is 60, and of 36 is 91. Factor lists like these are the foundation for simplifying fractions, computing the greatest common divisor and least common multiple, and prime factorization.

Frequently Asked Questions

What are the factors of a number?

Whole numbers that divide it exactly. Factors of 24: 1, 2, 3, 4, 6, 8, 12, 24.

What are factor pairs?

Two factors that multiply to the number. For 24: 1×24, 2×12, 3×8, 4×6.

How many factors does a number have?

Varies — primes have 2, 24 has 8, 36 has 9. Perfect squares have an odd count.

How do I find factors quickly?

Test divisors up to √n; each gives a pair (d and n÷d).

Are factors the same as prime factors?

No — factors are all divisors; prime factors are only the prime ones. 12 → factors 1,2,3,4,6,12; primes 2×2×3.

Need more math tools?

Explore prime numbers, GCD & LCM, quotient & remainder, fractions and more across the AI Calculator math suite.

🔢 Open Math Calculators — Free

No registration required · 350+ calculators · PDF report export