Factor Calculator
Enter one or two numbers to find all their factors and common factors. Perfect for simplifying fractions, solving math problems, and understanding number relationships.
Invalid Input
Please enter at least one valid positive integer.
Enter one or two numbers
Result
No calculation yet
Enter one or two numbers to find their factors.
What are Factors?
Factors are the numbers that divide evenly into another number without leaving a remainder. Think of them as the building blocks of a number - all the whole numbers you can multiply together to get that original number. For example, the factors of 12 are 1, 2, 3, 4, 6, and 12 because each of these numbers divides 12 perfectly.
When you're working with two numbers, common factors are the numbers that appear in both factor lists. These shared factors are super useful when you're simplifying fractions, finding the greatest common factor (GCF), or solving problems that involve multiple numbers. The largest common factor is called the greatest common factor, which is especially handy for reducing fractions to their simplest form.
Key Things to Remember About Factors
- • Every number has factors: Every positive integer has at least two factors - 1 and itself
- • Prime numbers: Numbers with exactly two factors (1 and itself) are called prime numbers
- • Factor pairs: Factors come in pairs that multiply to the original number (e.g., 3 × 4 = 12)
- • Square numbers: Perfect squares have an odd number of factors because one factor appears twice (e.g., 9 has factors 1, 3, 9)
- • Common factors: When two numbers share factors, those are called common factors
How to Calculate Factors
Finding factors might seem tricky at first, but once you get the hang of it, it's pretty straightforward. There are a few different methods you can use, and the best one depends on the size of the number you're working with.
Method 1: Trial Division (The Systematic Approach)
This is the most straightforward method. You test each number from 1 up to the square root of your target number to see if it divides evenly. When you find a factor, you also get its pair automatically.
Let's find factors of 20:
Start testing from 1: 20 ÷ 1 = 20 ✓ (factors: 1 and 20)
20 ÷ 2 = 10 ✓ (factors: 2 and 10)
20 ÷ 3 = 6.67 ✗ (not a factor)
20 ÷ 4 = 5 ✓ (factors: 4 and 5)
20 ÷ 5 = 4 ✓ (already found, stop here)
All factors of 20: 1, 2, 4, 5, 10, 20
When to use this: Works great for any number, and you only need to test up to the square root
Method 2: Using Prime Factorization
Break the number down into its prime factors first, then use those to generate all possible combinations. This method is especially powerful for larger numbers and helps you understand the structure of the number.
Finding factors of 36 using prime factorization:
Step 1: Break down 36 into primes: 36 = 2² × 3²
Step 2: Generate all combinations of powers:
2⁰ × 3⁰ = 1
2¹ × 3⁰ = 2
2² × 3⁰ = 4
2⁰ × 3¹ = 3
2¹ × 3¹ = 6
2² × 3¹ = 12
2⁰ × 3² = 9
2¹ × 3² = 18
2² × 3² = 36
All factors: 1, 2, 3, 4, 6, 9, 12, 18, 36
When to use this: Excellent for understanding number structure and finding all factors systematically
Method 3: Finding Common Factors of Two Numbers
When you need to find factors that two numbers share, first find all factors of each number separately, then identify which ones appear in both lists.
Finding common factors of 20 and 50:
Factors of 20: 1, 2, 4, 5, 10, 20
Factors of 50: 1, 2, 5, 10, 25, 50
Common factors: 1, 2, 5, 10
The greatest common factor (GCF) is 10
When to use this: Perfect for simplifying fractions, finding GCF, or solving problems with multiple numbers
Applications of Factors
Factors show up everywhere in math and real life. Once you understand them, you'll start seeing them in all sorts of places - from simplifying fractions to planning events to solving puzzles.
Simplifying Fractions
When you need to reduce a fraction to its simplest form, you divide both the numerator and denominator by their greatest common factor. For example, 48/60 simplifies to 4/5 by dividing both by 12 (their GCF).
Finding Least Common Multiple (LCM)
Factors help you find the least common multiple of numbers, which is essential for adding and subtracting fractions with different denominators. The LCM is the smallest number that both numbers divide into evenly.
Number Theory and Problem Solving
Factors are fundamental in number theory and help solve many types of mathematical problems. They reveal the structure of numbers and help identify patterns and relationships between different numbers.
Real-World Applications
Factors help in planning equal groups, dividing items evenly, scheduling repeating events, and solving problems involving ratios and proportions. They're everywhere once you know what to look for.
Factors vs Multiples: Understanding the Difference
Factors and multiples are related but opposite concepts. It's easy to mix them up, so let's clear that up once and for all.
| Aspect | Factors | Multiples |
|---|---|---|
| Definition | Numbers that divide evenly into the original number | Numbers that the original number divides into evenly |
| Size | Always ≤ original number | Always ≥ original number |
| Example (12) | Factors: 1, 2, 3, 4, 6, 12 | Multiples: 12, 24, 36, 48, 60, ... |
| Use Case | Simplifying fractions, finding GCF | Finding common denominators, LCM |
Quick Memory Trick
Think of factors as "what fits into" and multiples as "what the number fits into." Factors are smaller or equal, multiples are larger or equal. For 12, factors are numbers that divide 12 (like 3), while multiples are numbers that 12 divides (like 36).
Frequently Asked Questions
What's the difference between factors and divisors?
Factors and divisors are actually the same thing - they're just different names for numbers that divide evenly into another number. Some people prefer "factors" and others use "divisors," but they mean exactly the same thing.
How many factors does a number have?
The number of factors depends on the number's prime factorization. Prime numbers have exactly 2 factors (1 and itself). Perfect squares have an odd number of factors. Most other numbers have an even number of factors. For example, 12 has 6 factors, while 16 (a perfect square) has 5 factors.
Can a number have zero factors?
No, every positive integer has at least two factors: 1 and itself. Even prime numbers have these two factors. The only number that might be considered to have "zero factors" in some contexts is 0, but 0 is a special case that doesn't follow the normal rules of factors.
What are prime factors?
Prime factors are the prime numbers that multiply together to make the original number. For example, the prime factors of 12 are 2 and 3 (since 12 = 2² × 3). Every number can be uniquely expressed as a product of prime factors, which is called its prime factorization.
How do I find factors quickly?
The fastest method is trial division up to the square root of the number. For each factor you find below the square root, you automatically get its pair above. For example, to find factors of 36, you only need to test up to 6 (√36), and you'll find all factors: 1, 2, 3, 4, 6, 9, 12, 18, 36.
What's the relationship between factors and prime factorization?
Prime factorization is the foundation for finding all factors. Once you know the prime factors and their powers, you can generate all possible combinations to get every factor. For example, if a number is 2² × 3², you can create factors by choosing different combinations of powers: 2⁰×3⁰, 2¹×3⁰, 2²×3⁰, 2⁰×3¹, etc.
Embed Factor Calculator
Add our factor calculator to your website or blog. Help your visitors find factors, common factors, and understand number relationships. Perfect for educational websites, math blogs, and learning platforms.