Skip to main content

Factor Calculator

  • Runs in your browser: what you type is not uploaded
  • Free, no sign-up
  • Formula explained below

About Factor Calculator

A factor calculator lists every factor (divisor) of a whole number and gives its prime factorization — the unique set of prime numbers that multiply together to make it.

Factors and prime factorization underpin simplifying fractions, finding common denominators, computing GCF and LCM, and much of number theory.

Formula

n = p₁^a₁ × p₂^a₂ × … × pₖ^aₖ
  • n — the number being factored
  • p₁…pₖ — distinct prime factors
  • a₁…aₖ — how many times each prime divides n

By the fundamental theorem of arithmetic, every whole number greater than 1 has exactly one prime factorization.

How to use the Factor Calculator

  1. Enter a positive whole number (up to 10,000,000).
  2. Read the full list of factors and the total count.
  3. Check the prime factorization and copy the factor list if you need it elsewhere.

Good to know

  • Factors always include 1 and the number itself.
  • A prime number has exactly two factors — 1 and itself — so its prime factorization is just the number.
  • The number of factors can be found from the exponents in the prime factorization: (a₁+1)(a₂+1)…

Frequently asked questions about the Factor Calculator

What is the difference between a factor and a prime factor?

A factor is any whole number that divides evenly. A prime factor is a factor that is itself prime. For 12 the factors are 1, 2, 3, 4, 6, 12 while the prime factors are just 2 and 3.

How is this used to simplify fractions?

Prime factorization reveals the common factors of the numerator and denominator, letting you cancel them to reduce the fraction to lowest terms.

Why is there an upper limit?

Very large numbers require far more computation to factor. Capping the input keeps results instant in the browser.