MyAICalc Logo
MyAICalc Free Online Calculators

Factor Calculator

Instantly find all factors, factor pairs, and the prime factorization for any given integer. Perfect for simplifying fractions and understanding number properties.

Integer:
Enter a positive integer.

What is a Factor?

In mathematics, factors are the integers that are multiplied together to find other integers. Essentially, an integer a is a factor of another integer b so long as b can be divided by a with no remainder.

For example, 6 × 5 = 30. In this example, 6 and 5 are factors of 30. The complete list of factors for 30 would be 1, 2, 3, 5, 6, 10, 15, and 30. Factors are crucial when working with fractions (simplifying them) and finding patterns within numbers.

Factor Pairs

Factors can be organized into factor pairs, which are pairs of numbers that multiply together to equal the original number. For 30, the factor pairs are 1 × 30, 2 × 15, 3 × 10, and 5 × 6. Every positive integer has at least one factor pair: 1 and itself.

Key Terms

  • Prime NumberHas exactly two factors: 1 and itself
  • Composite NumberHas more than two factors
  • Prime FactorA factor that is a prime number

Prime Factorization

Prime factorization involves finding the prime numbers that, when multiplied, return the number being addressed. Every integer greater than 1 is either prime itself or can be uniquely factored into a product of prime numbers (Fundamental Theorem of Arithmetic).

Example for 120: 2 × 2 × 2 × 3 × 5 = 2³ × 3 × 5

Computing prime factorizations is relatively fast for small numbers, but finding the prime factors of extremely large numbers is very difficult. In fact, modern cryptography (like RSA encryption) relies on the fact that prime factorization of very large numbers is computationally tedious!

How the calculation works

Factors are the whole numbers that divide a number with no remainder.

Test divisors up to the square root. A prime factorization writes the number as a product of primes.

1 and the number itself are always factors.

Worked example: 84

  1. 84 = 2 × 42 = 2 × 2 × 21 = 2² × 3 × 7.
  2. The positive factor pairs are 1 and 84, 2 and 42, 3 and 28, 4 and 21, 6 and 14, 7 and 12.

Prime factorization

NumberPrimes
122² × 3
842² × 3 × 7
1002² × 5²

Frequently asked questions

What is the prime factorization of 84?▼
2² × 3 × 7.
How many positive factors does 84 have?▼
12.
What is a prime number's factorization?▼
The number itself. Its only positive factors are 1 and itself.