Prime Number Checker

Instantly test whether a number is prime or composite

Positive integers only · Primes: 2, 3, 5, 7, 11, 13, 17, 19, 23...
Ready — enter a number

What is a Prime Number?

A prime number is a natural number greater than 1 that has exactly two factors: 1 and itself. These numbers cannot be divided evenly by any other number, making them fundamental in mathematics and number theory.

For example, 2, 3, 5, and 7 are prime numbers because they are only divisible by 1 and themselves.

Properties of Prime Numbers

Prime numbers have several important properties:

  • They are always greater than 1
  • They have exactly two divisors
  • They cannot be formed by multiplying smaller natural numbers
  • There are infinitely many prime numbers
  • Every number greater than 1 can be expressed as a product of prime numbers

This last property is known as the Fundamental Theorem of Arithmetic, which makes prime numbers the “building blocks” of all numbers.

Examples of Prime Numbers

Prime numbers are numbers that are divisible only by 1 and themselves. Here are some common examples:

2, 3, 5, 7, 11, 13, 17, 19, 23, 29...
Key Points
  • 2 is the only even prime number
  • ✔ All other prime numbers are odd
  • 1 is not considered a prime number
Prime numbers from 1 to 100 chart showing highlighted prime numbers

Prime numbers from 1 to 100

Check any number instantly 👇

🔢 Open Prime Number Finder

FAQ on Prime Numbers

1. Are all prime numbers odd?

No, not all prime numbers are odd. 2 is the only even prime number. All other prime numbers are odd because they are not divisible by 2.

2. How many prime numbers are there between 1 and 100?

There are 25 prime numbers between 1 and 100. Examples include 2, 3, 5, 7, 11, 13, 17, 19, 23, and 29.

3. Is 7 a prime number?

Yes, 7 is a prime number because it has only two factors: 1 and 7.

4. What is the smallest prime number?

The smallest prime number is 2. It is also the only even prime number.

5. Is 1 a prime number?

No, 1 is not a prime number because it has only one factor (itself). A prime number must have exactly two factors.

Did You Know?

  • Around 300 BC, the mathematician Euclid proved that there are infinitely many prime numbers.
  • The Sieve of Eratosthenes is one of the oldest and fastest methods to find prime numbers.
  • Prime numbers are used in encryption and cybersecurity to protect online transactions.
  • Some primes come in pairs like (11, 13), called twin primes.

You can also use our Prime Number Finder tool above to quickly check whether any number is prime or not.