Math Calculators
Factoring Calculator


Factoring Calculator

Easily find all factors, factor pairs, and divisors of any number. Use our free Factoring Calculator to factor any integer online.

Result
10 factors 1, 2, 3, 4, 6, 8, 12, 16, 24, 48
Factor Pairs 1 × 48 = 48
2 × 24 = 48
3 × 16 = 48
4 × 12 = 48
6 × 8 = 48

There was an error with your calculation.

Last updated: June 26, 2026

Table of Contents

  1. Factoring Calculator
  2. How to Use the Factoring Calculator
  3. Factorization: Definitions and Formulas
  4. How to Find the Factors of a Number
  5. Calculation Example

Factoring Calculator

Factoring Calculator

Our factoring calculator is a convenient online tool that allows you to quickly find all factors of any integer (except for 0). Because integers encompass both positive and negative whole numbers, you can effectively use this factor finder to calculate the factors of both positive and negative values.

Limitations on the input values for the factor calculator:

  • You can only input integers (positive or negative).
  • Entering 0 is not permitted.

How to Use the Factoring Calculator

To find all factors of a number, simply enter the desired integer and click “Calculate.” The factor calculator will instantly generate a comprehensive list of all factors, display the total number of factors, and provide all corresponding factor pairs for the given number.

Factorization: Definitions and Formulas

In mathematics, factorization is the process of breaking down a mathematical object into a product of several other objects, known as factors. While various mathematical elements—such as numbers, polynomials, and matrices—can be factorized, we will focus specifically on integer factorization.

The factors of an integer are whole numbers that divide the given integer evenly, leaving no remainder.

Simply put, for non-zero integers a, b, and c, if a = b × c, then b and c are the factors of a. For example, 1, 2, 3, and 6 are all factors of 6, as they divide 6 without leaving a remainder:

  • 6 / 1 = 6
  • 6 / 2 = 3
  • 6 / 3 = 2
  • 6 / 6 = 1

Every integer will always have at least two factors: 1 and the integer itself. In other words, any integer a can be factorized as a = 1 × a.

How to Find the Factors of a Number

This calculator utilizes the trial division method to find the factors of any given number. Trial division is the most straightforward integer factorization algorithm, systematically testing whether a number is evenly divided by smaller integers.

To make the calculation process more efficient, numbers are always tested in increasing order, starting with 2. If 2 is not a factor of the given number, all multiples of 2 are automatically discarded, significantly reducing the workload.

Furthermore, for any given number a, you only need to perform tests up to √a. This is because if b is a factor of a (such that a = b × c), and c were smaller than b, c would have already been identified as a factor earlier in the process.

We can summarize the factor finding mechanism into the following steps:

For the given number a, calculate its square root (√a) and round it down to the nearest whole number. Let’s denote this rounded-down square root as r.

Test all integers greater than or equal to 1 and less than or equal to r to see if they divide a evenly. Remember, if you have already established that a prime number is not a factor, you can safely skip all of its multiples! For example, if a number cannot be evenly divided by 3, you can eliminate 6, 9, 12, and so on from your checks.

Write down all identified factors and their corresponding factor pairs.

Calculation Example

Mike’s parents are planning a party for his 6th birthday. At the end of the party, they want to give sweet treats to every child in attendance. They have prepared 32 cupcakes to hand out.

How many guests can Mike invite to his party so that each guest receives the exact same number of treats? And how many cupcakes will each child get?

Solution

We need to determine how many guests Mike can invite so that everyone receives an equal share of the 32 cupcakes. To do this, we must find which whole numbers divide 32 without leaving a remainder (ensuring no cupcakes have to be broken into pieces). This means calculating all positive factors of 32. To figure out how many cupcakes each child will receive in every scenario, we also need to find the factor pairs.

Let’s use the trial division method to find the factors and factor pairs of our target number (32). As the first step, we calculate the square root:

$$\sqrt{32}\approx5.657$$

Rounding 5.657 down to the nearest integer gives us 5. This means we only need to check all whole numbers greater than or equal to 1 and less than or equal to 5.

For number 1:

32 / 1 = 32. Because 1 is a factor of every integer, 1 is a factor of 32. The factor pair is 1 × 32 = 32. So, if Mike has only one guest, that guest will get all 32 cupcakes! Alternatively, if he decides to invite 32 children, each child will receive exactly one cupcake.

For number 2:

32 / 2 = 16. This means 2 is a factor of 32, with the corresponding factor pair being 2 × 16 = 32. Because both 2 and 16 are factors of 32, they must both be included in our list of factors. In a real-world scenario, if Mike invites 2 guests, they will get 16 cupcakes each. But if he invites 16 children, each will receive 2 cupcakes.

For number 3:

32 / 3 = 10 2/3 ≅ 10.667. This means 3 does not divide evenly into 32, so it is not a factor. Mike cannot invite exactly 3 guests to his party because the cupcakes could not be divided fairly.

Because 2 was a successfully identified factor, we cannot skip multiples of 2, meaning we must test 4 as well.

For number 4:

32 / 4 = 8. This means 4 is a factor of 32, with a corresponding factor pair of 4 × 8 = 32. Mike can invite 4 children (who will each receive 8 cupcakes) or 8 children (who will each receive 4 cupcakes).

For number 5:

32 / 5 = 6 2/5 = 6.4. Because 5 does not evenly divide 32, it is not a factor. Therefore, inviting exactly 5 guests is not a viable option for Mike.

Since we only needed to check integers greater than or equal to 1 and less than or equal to 5, we have successfully found all factors for the given number!

Answer

The six factors of 32 are:

1, 2, 4, 8, 16, 32

Mike can invite 1, 2, 4, 8, 16, or 32 guests to his party to ensure the cupcake distribution is completely fair.

The factor pairs of 32 are:

  • 1 × 32 = 32

  • 2 × 16 = 32

  • 4 × 8 = 32

In each factor pair, one number represents the number of guests, while the other represents the exact number of cupcakes each guest will receive at the end of the party.