Free factor calculator, with steps

Factor Calculator: Find All Factors, Factor Pairs and Prime Factors

The factors of a number are the whole numbers that divide it with no remainder. To find them, test every number from 1 up to the square root; each one that divides evenly gives a factor pair. Example: the factors of 36 are 1, 2, 3, 4, 6, 9, 12, 18, 36 (pairs 1 × 36, 2 × 18, 3 × 12, 4 × 9, 6 × 6), and its prime factorization is 2² × 3².

Find all factors of a number

Whole numbers from 1 to 1,000,000,000,000.

Factors of 36: 1, 2, 3, 4, 6, 9, 12, 18, 36 (9 factors)

Prime factorization tree of 36

Factor tree as text:
  1. 36 → 2 × 18
  2. 18 → 2 × 9
  3. 9 → 3 × 3
  4. Prime leaves: 36 = 2² × 3²
Green leaves are prime; split each blue number into its smallest prime and the rest.
  1. Prime factorization: 36 = 2² × 3²
  2. Factor pairs: 1 × 36, 2 × 18, 3 × 12, 4 × 9, 6 × 6
  3. Test divisors 1 to √36 ≈ 6; each divisor d gives the pair d × 36/d.
Explain the steps with AI

Worked examples

Example 1: Factors of 48

List all the factors of 48.

  1. √48 ≈ 6.9, so test 1 to 6
  2. 1 × 48, 2 × 24, 3 × 16, 4 × 12, 6 × 8 (5 does not divide 48)
  3. Prime factorization: 48 = 2⁴ × 3

Factors of 48: 1, 2, 3, 4, 6, 8, 12, 16, 24, 48 (10 factors).

Example 2: Is 97 prime?

Find the factors of 97.

  1. √97 ≈ 9.8, so test the primes 2, 3, 5, 7
  2. 97 is odd, its digits sum to 16 (not a multiple of 3), it does not end in 0 or 5, and 7 × 13 = 91, 7 × 14 = 98

Factors of 97: 1 and 97 only, so 97 is a prime number.

How to find the factors of a number

Every factor below the square root has a partner above it, so you only need to test divisors up to √n. For 100 that is just 1 to 10, and the pairs are 1 × 100, 2 × 50, 4 × 25, 5 × 20 and 10 × 10.

The prime factorization tells you how many factors a number has: add 1 to each exponent and multiply. 36 = 2² × 3², so it has (2 + 1) × (2 + 1) = 9 factors. Need the factors two numbers share? Use the GCF calculator; for multiples, use the LCM calculator.

Stuck on a word problem?

Type or photograph the whole question in the MathAI GPT math solver for a step-by-step solution. On your phone, use MathAI GPT - Math Solver for iPhone or MathAI GPT for Android.

Factor calculator FAQ

What are the factors of a number?

Factors are whole numbers that divide the number exactly, with no remainder. The factors of 12 are 1, 2, 3, 4, 6 and 12.

What is the difference between factors and prime factors?

Factors are all the numbers that divide evenly (12: 1, 2, 3, 4, 6, 12). Prime factors are only the prime numbers that multiply to give it (12 = 2 × 2 × 3).

What is a factor pair?

Two numbers that multiply to give the original number. The factor pairs of 20 are 1 × 20, 2 × 10 and 4 × 5.

How do I know when I have found all the factors?

Stop testing once you pass the square root of the number. Any factor larger than √n is already the partner of a smaller factor you found.

How many factors does a prime number have?

Exactly two: 1 and the number itself. 1 is not prime because it has only one factor.

Related calculators