Sumivo · Mathematics
Factors of a Number Calculator
Find all the factors (divisors) of a whole number, shown as an ordered list and as factor pairs, with the factor count, sum, and whether the number is prime or perfect.
01 / inputs
02 / result
FACTORS
1, 2, 3, 4, 6, 8, 12, 24
- Number of factors
- 8
- Sum of factors
- 60
- Prime?
- No
- Perfect?
- No
Calculation trace
- 1 × 24 = 241Factor pair
- 2 × 12 = 242Factor pair
- 3 × 8 = 243Factor pair
- 4 × 6 = 244Factor pair
How it works
A factor of a whole number divides it exactly, with no remainder. The tool finds every factor by testing each whole number d from 1 up to the square root of n: whenever d divides n, both d and n ÷ d are factors, so they are collected as a pair. That is why factors come in pairs — for 24, 1 × 24, 2 × 12, 3 × 8 and 4 × 6 — and why a perfect square such as 36 has an odd number of factors, since its square root pairs with itself. Stopping at the square root keeps the search fast even for large inputs.
Assumptions & limits
- Defined for whole numbers of 1 or greater; zero, negatives, and decimals are rejected.
- Lists positive factors only. 1 and the number itself are always included.
- Inputs are capped at 1,000,000,000,000 so the search stays fast in the browser.
FAQ
- What is a factor of a number?
- A factor is a whole number that divides another whole number exactly, leaving no remainder. For 12 the factors are 1, 2, 3, 4, 6 and 12.
- Are factors and divisors the same thing?
- Yes — for positive whole numbers the terms are used interchangeably. The factors of 20 are 1, 2, 4, 5, 10 and 20, and those are also its divisors.
- Why do factors come in pairs?
- Because if d divides n, then n ÷ d also divides n, so each small factor has a partner. 24 gives the pairs 1 × 24, 2 × 12, 3 × 8 and 4 × 6.
- Why does a perfect square have an odd number of factors?
- The square root pairs with itself rather than a different number, so it is counted once. 36 has 9 factors because 6 × 6 contributes a single 6.
- What is a perfect number?
- A number that equals the sum of its proper factors — every factor except itself. 6 = 1 + 2 + 3 and 28 = 1 + 2 + 4 + 7 + 14 are the first two perfect numbers.
Related calculators
SOURCES
- OpenStax, Rice UniversityPrealgebra 2e ↗
Factors and divisibility: finding all factors of a whole number
Accessed 2026-09-02