ThisCalculator

Math

Factor Calculation in Maths: Meaning and Examples

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

Factor Calculation in Maths: Meaning and Examples

Factor calculation in maths means finding the numbers or expressions that divide or multiply to make a given value. This calculator finds the positive integer factors of a whole number you enter, and reports their count, sum, and prime factorization.

Formula

A positive integer d is a factor of a positive integer n when dividing n by d leaves no remainder. In symbols, d is a factor of n if n = d × k for some positive integer k. The calculator’s output is the set of all such positive integer values of d. Enter n, the whole number being factored; the output is its positive factors, with no unit.

For example, if n = 36, each factor pairs with another whole number to give 36. The pairs are 1 × 36, 2 × 18, 3 × 12, 4 × 9, and 6 × 6. Collecting each value once gives the factors 1, 2, 3, 4, 6, 9, 12, 18, and 36.

Worked Example

With the default input n = 36, test positive integers that divide 36 evenly. The factor pairs are:

  • 1 × 36
  • 2 × 18
  • 3 × 12
  • 4 × 9
  • 6 × 6

Each pair accounts for two factors, except 6 × 6, where the same factor appears twice and is listed only once. Therefore, the calculator returns: 1, 2, 3, 4, 6, 9, 12, 18, 36.

What Factors Mean

The word “factor” has two closely related meanings. In multiplication, a factor is one of the numbers multiplied together: 4 and 9 are factors in 4 × 9 = 36. In divisibility, a factor of 36 is any integer that divides 36 without a remainder. These definitions describe the same relationship from different directions.

Factors are not the same as multiples. A factor of 12, such as 3, divides 12; a multiple of 12, such as 36, is produced by multiplying 12 by an integer. Nor is a factor the same as a decimal quotient: 5 is not an integer factor of 12 because 12 ÷ 5 is not a whole number.

This calculator lists positive integer factors. In the broader integer setting, negative factors count too: for instance, −3 × −12 = 36. Standard school factor lists usually focus on positive factors unless negative values are specifically requested.

How to Find Factors Efficiently

A direct approach is to divide the number by successive positive integers and keep the divisors that leave remainder zero. A more efficient method checks only up to the square root of the number. If d divides n, its paired factor is n ÷ d; at least one member of the pair must be no greater than √n.

  1. Start with d = 1 and test whether n ÷ d is an integer.
  2. Continue through the integers up to √n, keeping divisors that divide evenly.
  3. For each divisor d, include its partner n ÷ d.
  4. If n is a perfect square, include its square root only once.

For 36, √36 = 6, so testing 1 through 6 is enough. The matching partners produce the complete list, without testing every number up to 36.

Prime Factorization and Factor Counts

Every integer greater than 1 can be expressed as a product of primes in exactly one way apart from the order of the factors. This is its prime factorization. For 36, the prime factorization is 2² × 3². Prime factorization is useful because it reveals the number of positive factors without listing them all.

If a number has prime factorization n = p₁a₁ × p₂a₂ × …, its number of positive factors is:

(a₁ + 1)(a₂ + 1)…

For 36 = 2² × 3², the count is (2 + 1)(2 + 1) = 9, matching the nine factors in the worked example. The rule works because a divisor can use any exponent from 0 to 2 for each prime: 0, 1, or 2. Choosing exponents independently gives 3 × 3 possibilities.

A prime number has exactly two positive factors, 1 and itself. The number 1 is a special case: it has one positive factor, itself, and is not prime. Zero is not included in this calculator because every nonzero integer divides zero, so zero does not have a finite list of positive factors.

Common Errors and Limitations

  • Confusing factors with multiples: 4 is a factor of 20, while 20 is a multiple of 4.
  • Counting a square-root factor twice: for a perfect square such as 49, the pair is 7 × 7, so 7 appears once in the factor list.
  • Accepting a non-integer quotient: a number is an integer factor only when division leaves no remainder. A decimal result does not qualify.
  • Forgetting 1 and the number itself: both are positive factors of every positive whole number.
  • Entering a fraction or negative value: this tool is for positive whole numbers, not decimal, fractional, zero, or negative inputs.

Factoring very large integers can take substantial computation, especially when they have large prime factors. The square-root method explains the basic logic, while practical algorithms use more sophisticated techniques. This tool concerns integer divisibility; algebraic factorization, such as rewriting x² − 9 as (x − 3)(x + 3), is a related but different task.

Frequently Asked Questions

What is factor calculation in maths?
It is the process of finding numbers that divide a given number evenly, or finding the quantities multiplied to produce it. For whole-number factor lists, factors are usually positive integers.

How do I find all the factors of a number?
Test integer divisors from 1 up to the square root of the number. For every divisor found, include its paired quotient; list a square root only once when the number is a perfect square.

Is 1 a factor of every number?
Yes. Dividing any positive integer by 1 leaves the integer unchanged, so 1 is a positive factor of every positive integer.

Is zero a factor of a number?
No. Division by zero is undefined, so zero cannot be a divisor. Zero itself is not handled as an ordinary positive integer factor problem because every nonzero integer divides it.

What is the difference between a factor and a prime factor?
A factor is any positive integer divisor. A prime factor is a factor that is itself prime. For example, 6 is a factor of 36 but not a prime factor; 2 and 3 are prime factors of 36.

Related

Formula used
in n | Whole number | - | 36 | 1
out factors | Positive factors | - | sum(1) | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.