Factoring Calculator
Enter any positive number to find all its factors, factor pairs, and step-by-step explanation. Example number is preloaded below to help you see how it works.
The 12 factors of 72 are:
The factor pairs of 72 are:
2 × 36 = 72
3 × 24 = 72
4 × 18 = 72
6 × 12 = 72
8 × 9 = 72
Prime Factorization Explanation:
You can form each factor by multiplying these prime numbers in different combinations.
How to Use the Factoring Calculator — Friendly Walkthrough
This section explains everything the calculator gives you and how to read the results. If you’re a student preparing for classwork, homework, or tests, follow the steps below and use the examples to practice. The calculator gives three tidy outputs: a list of all factors, the factor pairs, and a short explanation showing the prime factors (the building blocks). Read each small guide, then try the practice problems below.
What you type in
Type any positive whole number (for example: 36, 97, 144). The calculator works with numbers from 1 up to 15 digits long. It won’t accept decimals or negative numbers. If you accidentally type too many digits, you’ll see a brief warning — just shorten it and try again.
What the calculator shows
- All factors: Every whole number that divides the input exactly (no remainder) is listed from smallest to largest.
- Factor pairs: Pairs of numbers that multiply to give the input number, shown as a × b = number. Each pair appears once (for example, 2 × 12 = 24 and not again as 12 × 2).
- Prime factorization (short explanation): The number broken down into prime numbers multiplied together — the “building blocks” of the number. This helps explain why the list of factors looks the way it does.
Quick example — look and learn
Try the example that’s already filled into the calculator. You’ll see the outputs right away. Here’s the same result explained by hand so you know what each line means.
Example: 72
All factors: 1, 2, 3, 4, 6, 8, 9, 12, 18, 24, 36, 72
Factor pairs:
1 × 72 = 72 2 × 36 = 72 3 × 24 = 72 4 × 18 = 72 6 × 12 = 72 8 × 9 = 72
Prime factorization: 72 = 2 × 2 × 2 × 3 × 3 (you can write that as 2³ × 3²). From those prime pieces you can combine them in different ways to make each factor above.
Step-by-step method (the same method the calculator uses)
Doing this by hand helps you understand the results the calculator gives. Follow these numbered steps when you work by hand or want to double-check what the calculator shows.
Step 1 — Check divisibility from 1 up to the square root
To find all factors, test 1, 2, 3, and so on up to the square root of the number. If a number divides evenly, both the small number and the matching big number are factors. For example, with 72 the square root is about 8.48 — so test 1 through 8. When you test 2, you find 72 ÷ 2 = 36, so both 2 and 36 are factors.
Why up to the square root?
Because factors come in pairs. Once you've tested up to the square root, you have both numbers in every pair. This saves time — you don’t need to test every number all the way up to the original number.
Step 2 — Sort results and list them
Write the small factor and its matching pair. After testing up to the square root, put all found numbers in order from smallest to largest. That’s your “All factors” list.
Step 3 — Make factor pairs
From the factors you found, pair the smallest with the largest, second smallest with second largest, and so on. Each pair will multiply to the original number.
Step 4 — Find prime factors for explanation
To find prime factors, divide by the smallest prime number you can (start with 2), keep dividing while it works, then move to the next prime (3), and continue until you reach 1. The primes you used are the prime factorization. This shows the exact multiplication that produces the number.
Formulas and short reminders
Keep these short formulas handy — they explain what you’re seeing:
- Factor pair: If a × b = N, then a and b are a factor pair of N.
- All factors: All numbers a such that N ÷ a leaves no remainder.
- Prime factorization: N = p × q × r × … where p, q, r are prime numbers.
Many worked examples (slow and clear)
We’ll walk through a variety of numbers so you recognize patterns.
Example A — Prime number: 13
13 has only two factors: 1 and 13. That means it’s prime.
| All factors | 1, 13 |
|---|---|
| Factor pairs | 1 × 13 = 13 |
| Prime factors | 13 |
Example B — Small composite: 18
Find factors by testing 1..√18 (which is about 4.2), so test 1 to 4:
- 1 divides → pair 1 and 18
- 2 divides → pair 2 and 9
- 3 divides → pair 3 and 6
- 4 does not divide
So all factors: 1, 2, 3, 6, 9, 18. Factor pairs: 1×18, 2×9, 3×6. Prime factors: 18 = 2 × 3 × 3 (or 2 × 3²).
Example C — Square number: 36
With square numbers, you will eventually reach a test where both numbers in the pair are the same (the square root). For 36, √36 = 6, so one pair is 6 × 6 = 36:
| All factors | 1, 2, 3, 4, 6, 9, 12, 18, 36 |
|---|---|
| Factor pairs | 1×36, 2×18, 3×12, 4×9, 6×6 |
| Prime factors | 36 = 2 × 2 × 3 × 3 (2² × 3²) |
Example D — Larger number: 210
210 is a standard example because it has many small prime factors: 2, 3, 5, and 7.
Prime factorization: 210 = 2 × 3 × 5 × 7
From those primes we can build many factors. A small selection of factors: 1, 2, 3, 5, 6 (2×3), 7, 10 (2×5), 14 (2×7), 15 (3×5), 21 (3×7), 30 (2×3×5), 35 (5×7), 42 (2×3×7), 70 (2×5×7), 105 (3×5×7), 210.
Quick reference tables (useful at a glance)
| Number | Factors | Prime factors |
|---|---|---|
| 8 | 1, 2, 4, 8 | 2 × 2 × 2 (2³) |
| 12 | 1, 2, 3, 4, 6, 12 | 2 × 2 × 3 (2² × 3) |
| 25 | 1, 5, 25 | 5 × 5 (5²) |
| 30 | 1, 2, 3, 5, 6, 10, 15, 30 | 2 × 3 × 5 |
| 100 | 1, 2, 4, 5, 10, 20, 25, 50, 100 | 2 × 2 × 5 × 5 (2² × 5²) |
Practice Problems
- Find all factors and prime factors of 45.
- Factor 84 completely and write all factor pairs.
- Check the number 121 and determine if it is prime or composite.
- List all factors of 150 and its prime factorization.
- Try a square number: 144. Find factors, pairs, and primes.
Tips for Using the Calculator
- Always double-check the number you type — a small typo can change all factors.
- Use the prime factorization to quickly see why each factor exists.
- Practice by writing factor pairs manually, then verify with the calculator.
- Check square numbers carefully; the middle factor appears only once in the pair list.
- For larger numbers, the calculator saves time but knowing the steps helps with exams.
With this guide and the calculator, you can handle small or large numbers, quickly get factors, and learn prime factorization patterns. Keep practicing with the examples above and your own numbers to master factoring.