FLXCode Factor Calculator

FLXCode apps

Appearance

Factor Calculator

Type a whole number. You get every factor, every factor pair, and whether the number is prime.

Example

9 factors

36 has 9 factors and 5 factor pairs.

Factors of 36

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

Factor pairs

ABCheck
1361 × 36 = 36
2182 × 18 = 36
3123 × 12 = 36
494 × 9 = 36
666 × 6 = 36

Facts

  • 36 is composite.
  • Prime factorization: 2² × 3².
  • 9 factors, sum 91 (abundant: the factors below 36 add up to 55).

No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it.

Problem or idea? Email us

Worked examples

NumberResultNote
3636 has 9 factors and 5 factor pairs.A square: the middle factor 6 pairs with itself
4848 has 10 factors and 5 factor pairs.Many factors for a small number
9797 is a prime number. Its only factors are 1 and 97.A prime
100100 has 9 factors and 5 factor pairs.Nine factors, like 36
360360 has 24 factors and 12 factor pairs.Highly composite: 24 factors
11 has 1 factor and 1 factor pair.Neither prime nor composite

The factors of 36, in order: 1, 2, 3, 4, 6, 9, 12, 18, 36.

How to find factors by hand

  1. Write 1 and the number itself.
  2. Test 2, 3, 4 and so on. When a number divides evenly, write it and its partner.
  3. Stop when the test number passes the square root. Everything past it is already a partner.

Divisibility tricks save time. Even numbers divide by 2. A digit sum divisible by 3 means the number divides by 3 (and by 9 for 9). A last digit of 0 or 5 means 5. If you only want the prime building blocks, use the prime factorization calculator.

How many factors will it have?

Write the number as a product of prime powers. Add 1 to each exponent and multiply. 360 = 2³ × 3² × 5, so it has (3+1)(2+1)(1+1) = 24 factors. A number has an odd count of factors exactly when it is a perfect square.

The factors two numbers share are the factors of their greatest common factor. The GCF calculator finds it with Euclid's method, and the LCM calculator finds the smallest number both divide into.

Numbers this uses

  • Range: whole numbers from 1 to 1,000,000,000,000,000 (1e15). A negative number is read by its size.
  • Method: trial division by 2, 3, then 6k ± 1 up to the square root, with a 1.5 second time cap.
  • Long lists: when there are more than 120 factors, the first 60 and last 60 are shown, with the full count.
  • 0 has no list, since every number divides it.

Nothing you type is uploaded. We count events without cookies (details).

FAQ

What is a factor?

A whole number that divides another one with no remainder. 6 is a factor of 36 because 36 ÷ 6 = 6. Every number has 1 and itself as factors.

What is a factor pair?

Two factors that multiply to the number. 36 has the pairs 1 × 36, 2 × 18, 3 × 12, 4 × 9 and 6 × 6. List them up to the square root and the rest are the same pairs flipped.

How do I find all factors of a number?

Try dividing by 1, 2, 3 and so on up to the square root. Each divisor gives a pair. Faster: factor the number into primes and combine them. 36 = 2² × 3², so the factors are 2^a × 3^b with a and b from 0 to 2, nine in all.

How do I know if a number is prime?

It is prime when its only factors are 1 and itself, so it has exactly 2 factors. The tool tests it by trial division up to the square root. 97 is prime. 91 is not: it is 7 × 13.

Is 1 a prime number?

No. It has only one factor, so it is neither prime nor composite. Excluding 1 keeps the rule that every number has exactly one prime factorization.

What do abundant, deficient and perfect mean?

Add the factors that are less than the number. If the sum is more, the number is abundant (12: 1+2+3+4+6 = 16). If less, deficient (8: 7). If equal, perfect (6: 1+2+3 = 6, and 28).

How large a number can it factor?

Up to 1,000,000,000,000,000 (1e15). It uses trial division, which is quick up to about that size. Bigger numbers need other methods, so the tool says it is too large instead of freezing.

Is the number I type saved or sent?

No. The factors are worked out in your browser. What you type is not put in the address bar, not stored and not counted. We only count whether a number was prime or composite.

More from FLXCode

Share Factor Calculator