Factor Calculator

Last updated:

Find all factors, factor pairs, prime factorization, and common factors of two numbers instantly with our free online Factor Calculator.

Advertisement

Have another calculation?

Ask AI and continue with a different calculation without searching for a tool.

Was this calculator helpful?

Your feedback helps us improve our calculators.

What Is a Factor Calculator?

A Factor Calculator is a free online math tool that finds all positive factors of a whole number. Factors are numbers that divide another number exactly without leaving a remainder.

Our Factor Calculator also displays factor pairs, prime factorization, and the total number of factors. You can enter a second number to find common factors and the greatest common factor (GCF).

For example, the factors of 12 are 1, 2, 3, 4, 6, and 12 because each divides 12 without a remainder.

Every positive integer greater than 1 has at least two positive factors: 1 and itself. The number 1 has only one positive factor.

How to Use the Factor Calculator

Follow these steps to find factors of one or two numbers:

  1. Enter Number 1: Type the positive whole number whose factors you want to calculate.

  2. Enter Number 2 (Optional): Add another positive whole number to compare factors and find the GCF.

  3. Click Calculate: The calculator processes your numbers and displays the results.

  4. Review the Results: Check the factors, factor pairs, prime factorization, and total factor count. If you entered two numbers, you will also see their common factors and GCF.

  5. Click Clear: Reset the fields to perform another calculation.

You can leave Number 2 empty if you only want the factors of a single number.

Understanding Your Factor Calculator Results

The calculator provides several results depending on whether you enter one or two numbers.

Result

What It Means

Factors

All positive whole numbers that divide the entered number exactly

Factor Pairs

Two positive integers that multiply to give the original number

Prime Factorization

The original number expressed as a product of prime numbers

Total Factors

The number of positive factors of the entered number

Common Factors

Positive factors shared by both entered numbers

Greatest Common Factor (GCF)

The largest positive factor shared by both numbers

For example, if you enter 48 and 10, the calculator identifies their shared factors as 1 and 2, with a GCF of 2.

If you only need to calculate the largest shared factor, you can also use our Greatest Common Factor Calculator.

How to Find Factors of a Number

To find factors manually, divide the number by positive whole numbers and check whether the remainder is zero.

You only need to test possible divisors up to the square root of the number because factors occur in pairs.

For a positive integer (n), test possible divisors (d) up to:

d≤nd\leq\sqrt{n}

When (d) divides (n) exactly, its paired factor is:

nd\frac{n}{d}

Example: Find the Factors of 36

Start by identifying pairs of numbers whose product is 36.

Factor

Paired Factor

1

36

2

18

3

12

4

9

6

6

The positive factors of 36 are:

1, 2, 3, 4, 6, 9, 12, 18, 36

Notice that the factor pair (6, 6) contains the same number twice. Since 36 is a perfect square, 6 is counted only once in the list of distinct factors.

For more information about divisibility and factors, see Wolfram MathWorld's Divisor reference.

Factor Calculator Formula

The following mathematical formulas explain how factors, factor pairs, prime factorization, and factor counts are calculated.

1. Factor Formula

A positive integer (d) is a factor of (n) when dividing (n) by (d) leaves no remainder.

n mod d=0n\bmod d=0

For example:

24 mod 6=024\bmod6=0

Therefore, 6 is a factor of 24.

2. Factor Pair Formula

Two positive integers form a factor pair when their product equals the original number.

a×b=na\times b=n

For example:

4×12=484\times12=48

Therefore, (4, 12) is a factor pair of 48.

3. Prime Factorization Formula

Prime factorization expresses a positive integer greater than 1 as a product of prime numbers.

n=p1a1×p2a2×⋯×pkakn=p_1^{a_1}\times p_2^{a_2}\times\cdots\times p_k^{a_k}

Here, each (pip_i) is a distinct prime number, and each (aia_i) is its positive integer exponent.

For example:

48=24×348=2^4\times3

The prime factorization of 48 is 2 × 2 × 2 × 2 × 3, while its distinct prime factors are 2 and 3.

To explore this process further, use our Prime Factorization Calculator or read the Prime Factorization guide from Wolfram MathWorld.

4. Total Number of Factors Formula

If a positive integer has the prime factorization:

n=p1a1×p2a2×⋯×pkakn=p_1^{a_1}\times p_2^{a_2}\times\cdots\times p_k^{a_k}

The total number of positive factors is:

d(n)=(a1+1)(a2+1)⋯(ak+1)d(n)=(a_1+1)(a_2+1)\cdots(a_k+1)

For example:

48=24×3148=2^4\times3^1

d(48)=(4+1)(1+1)=10d(48)=(4+1)(1+1)=10

Therefore, 48 has 10 positive factors.

For the number 1, the total factor count is 1.

Factor Calculation Example: 48 and 10

Suppose you enter:

  • Number 1: 48

  • Number 2: 10

The calculator displays the following results:

Result

Number 48

Number 10

Factors

1, 2, 3, 4, 6, 8, 12, 16, 24, 48

1, 2, 5, 10

Total Factors

10

4

Factor Pairs

(1, 48), (2, 24), (3, 16), (4, 12), (6, 8)

(1, 10), (2, 5)

Prime Factorization

2⁴ × 3

2 × 5

Common Factors: 1, 2

Greatest Common Factor: 2

GCF⁡(48,10)=2\operatorname{GCF}(48,10)=2

The GCF is 2 because it is the largest positive integer that divides both 48 and 10 without a remainder.

For a detailed explanation of this concept, see Wolfram MathWorld's Greatest Common Divisor reference.

Types of Factors in Mathematics

Factors can be classified into different groups based on their mathematical properties.

Type

Explanation

Example

Positive Factors

Positive integers that divide a number exactly

1, 2, 3, 6 are factors of 6

Prime Factors

Prime numbers that divide the original number

2 and 3 are prime factors of 12

Composite Factors

Composite numbers that divide the original number

4 and 6 are composite factors of 12

Common Factors

Factors shared by two or more numbers

1, 2, 3, 6 for 12 and 18

A prime number has exactly two positive factors: 1 and itself.

For example, 13 is prime because its only positive factors are 1 and 13.

You can check whether a number is prime using our Prime Number Calculator.

Factors vs. Multiples

Factors and multiples are related, but they describe different mathematical relationships.

A factor divides a number exactly, while a multiple is obtained by multiplying a number by an integer.

Factors of 12

Positive Multiples of 12

1

12

2

24

3

36

4

48

6

60

12

72

A positive integer has a finite number of positive factors but infinitely many positive multiples.

Factors are useful when simplifying fractions and finding common divisors. For fraction calculations, you can use our Fraction Calculator.

Multiples are useful when finding common denominators and solving scheduling or repetition problems. To find the smallest common multiple of two or more numbers, use our Least Common Multiple Calculator.

Frequently Asked Questions (FAQs)

How do I find all factors of a number?

Divide the number by positive integers and identify which divisions leave no remainder. For example, the factors of 10 are 1, 2, 5, and 10. You can also enter the number into our Factor Calculator to get the results instantly.

What are the factors of 24?

The positive factors of 24 are 1, 2, 3, 4, 6, 8, 12, and 24. These eight numbers divide 24 without leaving a remainder.

How do I find common factors of two numbers?

Find the positive factors of both numbers and identify the values that appear in both lists. For example, 12 and 18 have common factors of 1, 2, 3, and 6.

What is the difference between factors and prime factors?

Factors include all positive integers that divide a number exactly. Prime factors include only those factors that are prime numbers. For example, 12 has factors 1, 2, 3, 4, 6, and 12, but its distinct prime factors are 2 and 3.

Is 1 a factor of every number?

Yes. The number 1 is a factor of every positive whole number because dividing any positive integer by 1 leaves no remainder.

How many factors does 48 have?

48 has 10 positive factors: 1, 2, 3, 4, 6, 8, 12, 16, 24, and 48.

Can the Factor Calculator find the GCF?

Yes. Enter two positive whole numbers, and the calculator displays their common factors and greatest common factor. For example, the GCF of 48 and 10 is 2.

What is a factor pair?

A factor pair consists of two whole numbers whose product equals the original number. For example, (3, 8) is a factor pair of 24 because 3 × 8 = 24.

Is the Factor Calculator free to use?

Yes. Our online Factor Calculator is free and allows you to find factors, factor pairs, prime factorization, common factors, and GCF without signing up.