Factor & Prime Factorization Calculator
Find all factors, factor pairs and the prime factorization of a whole number, check whether it is prime, and see the nearest primes — exact for numbers up to 40 digits
Up to 40 digits; spaces and thousands separators are ignored.
Prime factorization
Prime?
Number of factors
Sum of all factors
Previous · next prime
The closest primes below and above
All factors
Factor pairs
Division ladder
Divide by the smallest prime that fits, until 1 is left; the primes on the left are the prime factors.
Factors and primes
A factor (or divisor) of a number divides it with no remainder: the factors of 12 are 1, 2, 3, 4, 6 and 12. A prime number has exactly two factors, 1 and itself (2, 3, 5, 7, 11, …); every other whole number above 1 is composite.
Every whole number above 1 can be written as a product of primes in exactly one way, its prime factorization (360 = 2³ × 3² × 5). From it you get the number of factors by adding 1 to each exponent and multiplying: (3 + 1) × (2 + 1) × (1 + 1) = 24.
Need the greatest common factor or least common multiple of several numbers? Use the GCF & LCM Calculator →