🌐 EN

Prime Checker

Check whether an integer is prime and view its prime factors when composite, along with all its positive factors.

Result
—
All Factors

Inputs and checks

  • Enter a whole number greater than or equal to 2 in the single number field. For easy reading and reliable input, use small integers written with digits only, such as 84 or 97. Do not enter decimal points, thousands separators, or scientific notation.
  • The input field has a minimum value of 2. The app does not set a fixed maximum, but that does not mean it can handle numbers of unlimited size or precision. Smaller integers are a better choice.
  • Results update as you change the input. You can also use the Check button to run the check. There is no need to enter a starting or ending number because this tool checks one number at a time.
  • If you enter a value below 2 or something the checker cannot read as a valid number, it shows an error and clears the previous list of factors. Correct the input to see results again.

Reading the result

  • The checker tells you whether the entered number is prime. A prime number has exactly two positive factors: 1 and itself. A composite number has more than two positive factors. The number 1 is not prime and is not accepted as a valid input.
  • For a composite number, the prime factorization section lists the prime numbers that multiply to make the original number. A prime factor can appear more than once. This section is hidden when the input is prime.
  • The all-factors list shows every positive whole number that divides the input exactly, ordered from smallest to largest. It includes 1 and the original number. These are not the same as prime factors, which must themselves be prime numbers.

Examples

Check whether 97 is prime

Input
97
Result
Prime; all factors: 1, 97
How to check it
97 has exactly two positive factors, 1 and 97. No other positive whole number divides it evenly, so it is prime. The prime factorization section is hidden because 97 is not composite.

Check 84 and find its factors

Input
84
Result
Not prime; prime factors: 2, 2, 3, 7; all factors: 1, 2, 3, 4, 6, 7, 12, 14, 21, 28, 42, 84
How to check it
84 is composite because it has more than two positive factors. Multiplying 2 × 2 × 3 × 7 gives 84, so its prime factor list includes 2 twice. The all-factors list also includes numbers such as 4, 6, and 12 because they divide 84 evenly, even though they are not prime.

Frequently asked questions

What is the difference between prime factors and all factors?
A factor is any positive whole number that divides the input without a remainder. The all-factors list includes 1 and the number itself. Prime factors are prime numbers used to multiply together to make the input, and the same prime can appear more than once. For 84, the prime factors are 2, 2, 3, and 7, while the all-factors list contains other divisors too.
Why is there no prime factorization section for a prime number?
This checker shows prime factorization for composite numbers only. If the input is prime, the section is hidden. You can still see the prime result and its two positive factors, 1 and the number itself.
Can I check 1, very large numbers, or a range of numbers?
This page accepts integers starting at 2, so 1 is not a valid input. There is no fixed app maximum, but support for extremely large numbers or unlimited precision is not guaranteed. Use small integers without commas, decimals, or exponent notation. This checker works with one number at a time and does not provide range generation or twin-prime tabs.