---
title: "Factor Calculator: All Factors & Prime Factorization"
description: "Free factor calculator. Find all factors of a number, factor pairs, the prime factorization and whether it is prime or a perfect square, with steps shown."
url: https://chalkstation.com/math/factor-calculator
source: ChalkStation (free school tools)
---

# Factor Calculator

Enter a whole number to list **all of its factors**, its factor pairs and its prime factorization. For example, the factors of 72 are **1, 2, 3, 4, 6, 8, 9, 12, 18, 24, 36, 72**, and 72 = 23 × 32.

_Interactive tool: open https://chalkstation.com/math/factor-calculator to use it in your browser. It is free with no sign-up._

## Worked example

Factors of 72

1, 2, 3, 4, 6, 8, 9, 12, 18, 24, 36, 72

Number of factors

12

Prime factorization

23 × 32

Prime or composite

Composite

Perfect square

No

Sum of factors

195

### Factor pairs of 72

| Factor | Partner | Product |
| --- | --- | --- |
| 1 | 72 | 1 × 72 = 72 |
| 2 | 36 | 2 × 36 = 72 |
| 3 | 24 | 3 × 24 = 72 |
| 4 | 18 | 4 × 18 = 72 |
| 6 | 12 | 6 × 12 = 72 |
| 8 | 9 | 8 × 9 = 72 |

### Finding the factors by trial division

1.  Only test numbers up to the square root: √72 ≈ 8.485, so stop at 8. Every factor bigger than that is the partner of one you have already found.
2.  72 ÷ 1 = 72: divides evenly, so **1 × 72** is a factor pair.
3.  72 ÷ 2 = 36: divides evenly, so **2 × 36** is a factor pair.
4.  72 ÷ 3 = 24: divides evenly, so **3 × 24** is a factor pair.
5.  72 ÷ 4 = 18: divides evenly, so **4 × 18** is a factor pair.
6.  72 ÷ 5 leaves a remainder of 2, so 5 is not a factor.
7.  72 ÷ 6 = 12: divides evenly, so **6 × 12** is a factor pair.
8.  72 ÷ 7 leaves a remainder of 2, so 7 is not a factor.
9.  72 ÷ 8 = 9: divides evenly, so **8 × 9** is a factor pair.
10.  List the small factors, then their partners in reverse order: **1, 2, 3, 4, 6, 8, 9, 12, 18, 24, 36, 72**.

### Prime factorization

1.  Divide by the smallest prime that goes in, and repeat on the answer until you reach 1:
    -   72 ÷ 2 = 36
    -   36 ÷ 2 = 18
    -   18 ÷ 2 = 9
    -   9 ÷ 3 = 3
    -   3 ÷ 3 = 1
2.  The primes you divided by are the prime factors: 72 = 2 × 2 × 2 × 3 × 3.
3.  Group repeats with exponents: 72 = **23 × 32**.
4.  Count the factors from the exponents: add 1 to each exponent and multiply, (3 + 1) × (2 + 1) = 12.

## How to find all the factors of a number

1.  Start with 1 and the number itself. They are always factors.
2.  Divide the number by 2, 3, 4 and so on, up to its square root.
3.  Every divisor that leaves no remainder gives a factor pair: the divisor and the quotient.
4.  Stop at the square root, then list all the factors from smallest to largest.

## What are factors?

A factor of a number is a whole number that divides into it exactly, leaving no remainder. Factors are also called divisors. Since 3 × 4 = 12, both 3 and 4 are factors of 12. Every whole number has at least two factors, 1 and itself (except 1, which has only one).

## Factors vs multiples

Factors go into a number, and multiples come out of it. The factors of 8 are 1, 2, 4 and 8, a list that stops. The multiples of 8 are 8, 16, 24, 32 and so on, a list that never ends. A quick check: if a is a factor of b, then b is a multiple of a. So 4 is a factor of 8, and 8 is a multiple of 4.

## How do you find all the factors of a number?

Use trial division, but only up to the square root. Factors come in pairs that multiply to the number, and in every pair one factor is at most the square root. For 36, √36 = 6, so you only test 1 to 6:

| Divide by | Result | Factor pair? |
| --- | --- | --- |
| 36 ÷ 1 | 36 | Yes: 1 × 36 |
| 36 ÷ 2 | 18 | Yes: 2 × 18 |
| 36 ÷ 3 | 12 | Yes: 3 × 12 |
| 36 ÷ 4 | 9 | Yes: 4 × 9 |
| 36 ÷ 5 | 7 remainder 1 | No |
| 36 ÷ 6 | 6 | Yes: 6 × 6 |

So the factors of 36 are 1, 2, 3, 4, 6, 9, 12, 18, 36. That is 9 factors, an odd number, because 36 is a perfect square and the pair 6 × 6 only adds one new factor. Testing only up to the square root saves a lot of work: for a number near one million you test about 1,000 divisors, not a million.

## Prime factorization and factor trees

Prime factorization breaks a number into primes that multiply to give it. A factor tree is an easy way to do it: split the number into any two factors, then keep splitting until every branch ends in a prime. Circle the primes as you go.

Factor tree for 72. The circled primes are 2, 2, 2, 3 and 3.

`72 = 2 × 2 × 2 × 3 × 3 = 2³ × 3²`

You can start the tree with any pair (72 = 2 × 36 or 72 = 6 × 12) and you will always end with the same primes. That is the fundamental theorem of arithmetic. The calculator uses a division ladder instead: divide by the smallest prime that fits, again and again, until you reach 1.

The exponents tell you how many factors there are. Add 1 to each exponent and multiply: 72 = 2³ × 3² has (3 + 1) × (2 + 1) = 12 factors.

## Factors of common numbers

| Number | Factors | How many | Prime factorization |
| --- | --- | --- | --- |
| 12 | 1, 2, 3, 4, 6, 12 | 6 | 22 × 3 |
| 24 | 1, 2, 3, 4, 6, 8, 12, 24 | 8 | 23 × 3 |
| 36 | 1, 2, 3, 4, 6, 9, 12, 18, 36 | 9 | 22 × 32 |
| 48 | 1, 2, 3, 4, 6, 8, 12, 16, 24, 48 | 10 | 24 × 3 |
| 60 | 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60 | 12 | 22 × 3 × 5 |
| 72 | 1, 2, 3, 4, 6, 8, 9, 12, 18, 24, 36, 72 | 12 | 23 × 32 |
| 100 | 1, 2, 4, 5, 10, 20, 25, 50, 100 | 9 | 22 × 52 |
| 120 | 1, 2, 3, 4, 5, 6, 8, 10, 12, 15, 20, 24, 30, 40, 60, 120 | 16 | 23 × 3 × 5 |

## Prime, composite and perfect numbers

-   **Prime numbers** have exactly two factors, 1 and themselves: 2, 3, 5, 7, 11, 13 and so on. 2 is the only even prime.
-   **Composite numbers** have more than two factors, like 72 with 12.
-   **1** is neither prime nor composite.
-   **Perfect numbers** equal the sum of their factors other than themselves. 6 = 1 + 2 + 3 and 28 = 1 + 2 + 4 + 7 + 14. The calculator shows the sum of all factors including the number itself, so for 28 it shows 56, which is 2 × 28.

## Common mistakes

-   **Forgetting 1 and the number itself.** Both are always factors.
-   **Missing the partner.** When 3 divides 72, the quotient 24 is a factor too.
-   **Counting a square root twice.** For 36, list 6 once.
-   **Leaving composites in a prime factorization.** 72 = 8 × 9 is a factorization, but not a prime one. Keep splitting until every factor is prime.

Factors are the building blocks for the [greatest common factor](https://chalkstation.com/math/gcf-calculator), the [least common multiple](https://chalkstation.com/math/lcm-calculator) and simplifying fractions with the [fraction calculator](https://chalkstation.com/math/fraction-calculator).

## Frequently asked questions

### What are the factors of a number?

Factors are the whole numbers that divide into a number exactly, with no remainder. The factors of 12 are 1, 2, 3, 4, 6 and 12, because each of them divides 12 evenly.

### What is the difference between factors and multiples?

Factors divide into a number, while multiples are what you get when you multiply the number. The factors of 6 are 1, 2, 3 and 6 (a short, finite list). The multiples of 6 are 6, 12, 18, 24 and so on forever.

### How do you find all the factors of a number?

Divide the number by every whole number from 1 up to its square root. Each one that divides evenly gives you two factors: the divisor and the answer. For 36, testing 1 to 6 gives the pairs 1 × 36, 2 × 18, 3 × 12, 4 × 9 and 6 × 6.

### What is prime factorization?

Prime factorization writes a number as a product of prime numbers only. For example, 72 = 2 × 2 × 2 × 3 × 3, or 2³ × 3² using exponents. Every whole number greater than 1 has exactly one prime factorization.

### Is 1 a prime number?

No. A prime number has exactly two different factors, 1 and itself. The number 1 has only one factor, so it is neither prime nor composite.

### Why do perfect squares have an odd number of factors?

Factors come in pairs, but for a perfect square one pair is the same number twice (like 6 × 6 for 36), so it only counts once. That leaves an odd total: 36 has 9 factors.

### How do you find the number of factors from the prime factorization?

Add 1 to each exponent and multiply the results. Since 72 = 2³ × 3², it has (3 + 1) × (2 + 1) = 12 factors. Use the [GCF calculator](https://chalkstation.com/math/gcf-calculator) or [LCM calculator](https://chalkstation.com/math/lcm-calculator) to compare the factors of two or more numbers.

Last reviewed November 27, 2026 by the ChalkStation team.

## Related free tools

[**GCF Calculator**Greatest common factor (GCD/HCF) of any numbers, with steps.](https://chalkstation.com/math/gcf-calculator)[**LCM Calculator**Least common multiple of two or more numbers, with the working shown.](https://chalkstation.com/math/lcm-calculator)[**Fraction Calculator**Add, subtract, multiply and divide fractions and mixed numbers.](https://chalkstation.com/math/fraction-calculator)[**Ratio Calculator**Simplify ratios, scale them and solve for a missing value.](https://chalkstation.com/math/ratio-calculator)[**Pythagorean Theorem Calculator**Find the missing side of a right triangle.](https://chalkstation.com/math/pythagorean-theorem-calculator)
