Factor Calculator

Direct answer

A factor of a number is a whole number that divides it with no remainder. For example, the factors of 60 are 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60 — 12 factors in total. Prime factorization breaks a number into prime factors: 60 = 2² × 3 × 5. Enter any whole number below and the tool lists all its factors, its factor pairs, its prime factorization, and whether it is prime or composite.

Factor Calculator


Factors of 60: 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60 — 12 factors in total
Figure 1. Factors of 60 — 12 factors, found by testing divisors up to the square root of 60 — averagecalculatoronline.com

Inputs

FieldDefaultUnit
Whole number60—

Outputs

OutputHow it is foundDefault result (60)
All factorsTest every divisor up to the square root of the number1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60
Total factor countCount of the factors12
Factor pairsEach divisor paired with its quotient1 × 60, 2 × 30, 3 × 20, 4 × 15, 5 × 12, 6 × 10
Prime factorizationRepeated division by prime numbers60 = 2² × 3 × 5
Prime or compositeMore than two factors means composite; exactly two means prime60 is a composite number

Defaults on load: 60 → 12 factors, prime factorization 2² × 3 × 5, composite. The result shows as soon as the page loads, before you enter anything.

How it works

  1. Find the factors by testing divisors up to the square root. To factor 60, test 1, 2, 3, 4, 5, 6 and 7 (√60 ≈ 7.75, so testing up to 7 is enough). Every divisor found gives two factors at once: the divisor and its quotient. For example, 60 ÷ 5 = 12, so both 5 and 12 are factors. Testing past the square root only repeats pairs already found.
  2. Pair them up. Each divisor and its quotient form a factor pair: 1 × 60, 2 × 30, 3 × 20, 4 × 15, 5 × 12, 6 × 10. Every pair multiplies back to the original number.
  3. Prime factorization by repeated division. Divide by the smallest prime that goes in evenly, and repeat on the quotient until only 1 is left: 60 ÷ 2 = 30, 30 ÷ 2 = 15, 15 ÷ 3 = 5, 5 ÷ 5 = 1. Collect the divisors: 2 × 2 × 3 × 5, written with exponents as 2² × 3 × 5.
  4. Prime or composite. A number with exactly two factors (1 and itself) is prime. A number with more than two factors is composite. The number 1 has only one factor, so it is neither prime nor composite.
Factor pairs of 60: 1 times 60, 2 times 30, 3 times 20, 4 times 15, 5 times 12, 6 times 10
Figure 2. Factor pairs of 60 — 6 pairs, each multiplying to 60 — averagecalculatoronline.com

Factors of 1–20

NumberFactorsCount
111
21, 22
31, 32
41, 2, 43
51, 52
61, 2, 3, 64
71, 72
81, 2, 4, 84
91, 3, 93
101, 2, 5, 104
111, 112
121, 2, 3, 4, 6, 126
131, 132
141, 2, 7, 144
151, 3, 5, 154
161, 2, 4, 8, 165
171, 172
181, 2, 3, 6, 9, 186
191, 192
201, 2, 4, 5, 10, 206

Prime numbers in this range (exactly two factors) are 2, 3, 5, 7, 11, 13, 17 and 19. Perfect squares — 1, 4, 9, 16 — have an odd number of factors, because their square root pairs with itself (for example, 4 × 4 = 16). Once you have the factors, the LCM calculator finds the smallest number two numbers share as a multiple, and the math calculator covers the basic add, subtract, multiply and divide steps behind all of it.

Worked examples

Example 1 — The default: factors of 60

Test divisors up to √60 ≈ 7.75, so 1 through 7.

  • Divisors that divide 60 evenly: 1, 2, 3, 4, 5, 6 (7 does not: 60 ÷ 7 = 8.57…)
  • Full factor list: 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60 — 12 factors
  • Factor pairs: 1 × 60, 2 × 30, 3 × 20, 4 × 15, 5 × 12, 6 × 10 — 6 pairs
  • Prime factorization: 60 ÷ 2 = 30, 30 ÷ 2 = 15, 15 ÷ 3 = 5, 5 ÷ 5 = 1 → 60 = 2² × 3 × 5
  • 12 factors is more than two, so 60 is composite.
Prime factorization of 60: 60 divided by 2 is 30, 30 divided by 2 is 15, 15 divided by 3 is 5, 5 divided by 5 is 1, so 60 equals 2 squared times 3 times 5
Figure 3. Prime factorization of 60 — 60 = 2² × 3 × 5 — averagecalculatoronline.com

Example 2 — A perfect square: factors of 36

Test divisors up to √36 = 6.

  • Full factor list: 1, 2, 3, 4, 6, 9, 12, 18, 36 — 9 factors
  • Factor pairs: 1 × 36, 2 × 18, 3 × 12, 4 × 9, 6 × 6 — 5 pairs (6 × 6 is the middle pair, which is why the count is odd)
  • Prime factorization: 36 ÷ 2 = 18, 18 ÷ 2 = 9, 9 ÷ 3 = 3, 3 ÷ 3 = 1 → 36 = 2² × 3²
  • 36 is composite.

Example 3 — A prime number: factors of 97

Test divisors up to √97 ≈ 9.85, so 2 through 9. None of 2, 3, 4, 5, 6, 7, 8 or 9 divides 97 evenly.

  • Full factor list: 1, 97 — 2 factors
  • Factor pairs: 1 × 97 — 1 pair
  • Prime factorization: 97 = 97 (97 is itself prime)
  • Exactly two factors, so 97 is prime.
Prime versus composite: 36 has 9 factors so it is composite, 97 has only 1 and 97 so it is prime
Figure 4. Prime vs composite — 36 is composite (9 factors), 97 is prime (2 factors) — averagecalculatoronline.com

Example 4 — A round number: factors of 100

Test divisors up to √100 = 10.

  • Full factor list: 1, 2, 4, 5, 10, 20, 25, 50, 100 — 9 factors
  • Factor pairs: 1 × 100, 2 × 50, 4 × 25, 5 × 20, 10 × 10 — 5 pairs
  • Prime factorization: 100 ÷ 2 = 50, 50 ÷ 2 = 25, 25 ÷ 5 = 5, 5 ÷ 5 = 1 → 100 = 2² × 5²
  • 100 is composite.

Tips and mistakes

  • Stop at the square root. Once you pass √n, every divisor you find is a repeat of a pair already found. For 60, √60 ≈ 7.75, so testing 1–7 finds all 12 factors.
  • Do not forget 1 and the number itself. Every positive whole number has 1 and itself as factors. A common mistake is listing only the “middle” factors and missing these two.
  • Do not confuse factors with multiples. Factors divide a number (factors of 12 are 1, 2, 3, 4, 6, 12); multiples are what you get by multiplying it (multiples of 12 are 12, 24, 36, 48, …). Factors are finite; multiples go on forever.
  • 1 is neither prime nor composite. It has only one factor (itself), so it fails both definitions. Saying “1 is prime” is the most common factor mistake.
  • Prime factorization is unique. Every whole number greater than 1 breaks into exactly one set of prime factors (in a different order at most). That is why 60 is always 2² × 3 × 5 and never anything else.
  • Use prime factorization for GCD and LCM. The greatest common divisor of 48 and 60 is 12 (48 = 2⁴ × 3, 60 = 2² × 3 × 5, shared primes 2² × 3 = 12). The least common multiple of 12 and 18 is 36 (12 = 2² × 3, 18 = 2 × 3², highest powers 2² × 3² = 36).

Sources

Factorisation is standard number theory — see Prime Factorization on MathWorld. Reviewed by the Average Calculator Team. Last reviewed: 7 November 2026.

Frequently asked questions

What is a factor of a number?

A factor is a whole number that divides another number with no remainder. For example, 5 is a factor of 60 because 60 ÷ 5 = 12 exactly. The factors of 60 are 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30 and 60.

How do you find all the factors of a number?

Test every whole number from 1 up to the square root of the number. Each divisor that divides evenly gives two factors: itself and its quotient. For 60, the square root is about 7.75, so testing 1 to 7 finds divisors 1, 2, 3, 4, 5 and 6, which give all 12 factors: 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60.

What is prime factorization?

Prime factorization breaks a number into prime factors by repeated division. Divide by the smallest prime that goes in evenly and repeat until only 1 is left. For 60: 60 ÷ 2 = 30, 30 ÷ 2 = 15, 15 ÷ 3 = 5, 5 ÷ 5 = 1, so 60 = 2² × 3 × 5.

How do you know if a number is prime?

A prime number has exactly two factors: 1 and itself. Test divisors up to its square root — if none divides evenly, it is prime. For example, 97 has only the factors 1 and 97, so 97 is prime. The number 1 is neither prime nor composite because it has only one factor.

What is the difference between factors and multiples?

Factors divide a number: the factors of 12 are 1, 2, 3, 4, 6 and 12. Multiples are made by multiplying a number: the multiples of 12 are 12, 24, 36, 48 and so on. A number has a finite set of factors but infinitely many multiples.

What are factor pairs?

A factor pair is two factors that multiply to the original number. The factor pairs of 60 are 1 × 60, 2 × 30, 3 × 20, 4 × 15, 5 × 12 and 6 × 10. Every factor belongs to exactly one pair, and a perfect square such as 36 has one pair where both numbers are the same: 6 × 6.

Disclaimer

This calculator works with positive whole numbers up to 100,000,000 and shows exact arithmetic results for the number entered. It is a general-purpose math tool for learning and checking homework, not a substitute for a teacher or textbook. Results are only as correct as the number entered.

Related calculators

Last updated: November 7, 2026.