Math / calculator

Factor Calculator

List every positive factor of a bounded integer, count the divisors, and identify prime, composite or the special value one.

Calculator

Calculator

Find all positive factors.

Exact factors for integers from 1 to 1 trillion, using the bounded existing prime-factorization engine.

Integer

Your result

Enter details to see the result.

Complete the inputs and calculate to see the main result and its supporting breakdown.

Example

Worked example

Example inputs

Positive integer
360

Calculation breakdown

Positive factors are all products of each prime power p^0 through p^e in the existing prime factorization.

Factor count
24
Classification
Composite

Example result

Positive factors

1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 18, 20, 24, 30, 36, 40, 45, 60, 72, 90, 120, 180, 360

How to interpret the result

The factor list includes one and the entered integer. A count of two identifies a prime; larger counts identify composites, with one handled separately.

How to use this calculator

  1. Enter a whole number between one and one trillion.
  2. Find its ascending list of positive divisors.
  3. Read the factor count and check whether it is prime, composite or one.

How it works

Formula

Positive factors are all products of each prime power p^0 through p^e in the existing prime factorization.

Why is one neither prime nor composite?

A prime has exactly two positive factors. One has only itself as a factor, so it is neither prime nor composite.

What this calculator does

List the positive divisors of one integer and distinguish the special case one from prime and composite numbers.

Inputs you will need

Required or selected inputs

  • Positive integer

Assumptions

  • The entered value is a positive integer with no decimal fraction. Each factor divides it exactly.

Limitations

  • The maximum is 1 trillion. The existing bounded factorization performs at most about 500,000 trial candidate checks.

Useful next steps

Compare the divisor lists of several integers with Common Factor Calculator.

See how HandyChest handles units, validation, rounding, and testing, or Report a problem with this calculator.

Good to know

Frequently asked questions

How should I read the factor result?

The factor list includes one and the entered integer. A count of two identifies a prime; larger counts identify composites, with one handled separately.

Keep going