What Is a Prime Number? Simple Definition, Examples & Full Guide
Home GCSE Maths What Is a Prime Number?

What Is a Prime Number? — Simple Definition, Examples & Everything You Need to Know

Prime numbers come up in every maths exam — from KS2 right through to GCSE and A Level. This guide explains exactly what a prime number is, what makes a number prime, how to check if any number is prime, and gives you a complete list of all prime numbers up to 100.

⏱ 8 min read 🎓 KS2 · KS3 · GCSE Maths ✍️ IB Demystified 📅 April 2026
The Definition A prime number is a whole number greater than 1 that has exactly two factors: 1 and itself. That is it. If a number has any other factors — any other numbers that divide into it — it is NOT prime.

Let’s make that even simpler before we go further. A factor is just a number that divides into another number without leaving a remainder. So when we say a prime number has exactly two factors, we mean the only numbers that divide into it exactly are 1 and the number itself.

For example — take the number 7. What divides into 7 exactly? Only 1 and 7. Nothing else. So 7 is a prime number.

Now take the number 6. What divides into 6? The numbers 1, 2, 3, and 6 all divide into it. That is four factors — too many. So 6 is not prime.

Seeing the Difference — Factors Side by Side

7
1 7
✅ Only 2 factors → PRIME
13
1 13
✅ Only 2 factors → PRIME
12
1 2 3 4 6 12
❌ 6 factors → NOT PRIME
9
1 3 9
❌ 3 factors → NOT PRIME
1
1
❌ Only 1 factor → NOT PRIME (special case)

Is 1 a Prime Number?

No — and this is one of the most common wrong answers in GCSE maths. 1 is not a prime number.

Here is why. The definition says a prime number must have exactly two factors. The number 1 only has one factor — itself. It does not have two different factors, so it does not fit the definition. It sits in its own special category: neither prime nor composite.

⚠️ Exam watch: Examiners love testing whether students include 1 in lists of prime numbers. It is not prime. Do not write it down when you are asked to list prime numbers.

All Prime Numbers Up to 50 — Visual Grid

In the grid below, every dark blue number is prime. The grey ones are composite (not prime). The number 1 is shown separately because it is neither.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Prime number
Composite (not prime)
1 — neither

If you count the dark blue boxes, you will find there are 15 prime numbers between 1 and 50: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, and 47.

Complete List: All Prime Numbers from 1 to 100

There are exactly 25 prime numbers between 1 and 100. Here they are organised by range — a format that is very useful for revision because exam questions often ask you to find primes “between” two values:

Between 1 and 10
2357
Between 10 and 20
11131719
Between 20 and 30
2329
Between 30 and 40
3137
Between 40 and 50
414347
Between 50 and 60
5359
Between 60 and 70
6167
Between 70 and 80
717379
Between 80 and 90
8389
Between 90 and 100
97

Memory trick for the first ten primes: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29. Say them out loud five times. They come up so often in GCSE maths questions that knowing them without thinking saves you real time in the exam.

Prime Numbers vs Composite Numbers — What Is the Difference?

Every whole number greater than 1 is either prime or composite. There is no middle ground.

A composite number is a number with more than two factors. In simple terms — it can be divided exactly by at least one number other than 1 and itself. For example, 15 is composite because 3 and 5 also divide into it.

TypeDefinitionFactorsExample
PrimeExactly 2 factors1 and itself only7 → factors: 1, 7
CompositeMore than 2 factors1, itself, and others12 → factors: 1, 2, 3, 4, 6, 12
1Special — neitherOnly 1 factor1 → factors: 1

📘 What is a non prime number? Any whole number greater than 1 that is not prime is called a composite number. So 4, 6, 8, 9, 10, 12… are all non-prime (composite). The number 1 is also non-prime but sits in its own special category.

Is There an Even Prime Number?

Yes — exactly one. 2 is the only even prime number, and it is one of the most important facts in GCSE maths.

Here is the reasoning. Every even number can be divided by 2. So every even number — other than 2 itself — has at least three factors: 1, 2, and the number itself. That means it cannot be prime. The number 2 is the exception because when you divide 2 by 2, you get 2 itself — so it still only has two factors.

🔑 Remember this: 2 is the only even prime number. Every other prime number is odd. But not every odd number is prime — for example, 9 is odd but it factors as 1 × 9 and 3 × 3, so it has three factors and is not prime.

How to Check If a Number Is Prime

When an exam question asks you to check whether a specific number is prime, here is the method that works every time. You do not need to test every number — you only need to test prime numbers up to the square root of your number.

For example, to check whether 37 is prime:

Worked Example: Is 97 a prime number?

Square root of 97 ≈ 9.8 — so we test primes up to 9: that is 2, 3, 5, and 7

2

97 ÷ 2 = 48.5 → not exact. 97 is odd, so 2 does not divide in.

3

9 + 7 = 16 → 16 is not a multiple of 3. So 3 does not divide in.

5

97 does not end in 0 or 5. So 5 does not divide in.

7

97 ÷ 7 = 13.857… → not exact. So 7 does not divide in.

✅ None of the primes up to √97 divide exactly — so 97 IS a prime number.

Worked Example: Is 91 a prime number?

Square root of 91 ≈ 9.5 — so we test primes 2, 3, 5, and 7

2

91 is odd → 2 does not divide in

3

9 + 1 = 10 → not a multiple of 3

5

Does not end in 0 or 5

7

91 ÷ 7 = 13 exactly ✓ — 7 divides in perfectly!

❌ 91 is NOT prime — it equals 7 × 13. Many students get this wrong!

⚠️ 91 is the classic trick question. Many students think 91 is prime because it does not look like it has small factors. But 91 = 7 × 13. If you get asked this in an exam, remember it!

What Is a Product of Prime Numbers? (Prime Factorisation)

Every composite number can be written as a product of prime numbers. This is called its prime factorisation. It is a key topic in GCSE maths and comes up in questions about HCF (highest common factor) and LCM (lowest common multiple).

The idea is simple: keep dividing a number by its smallest prime factor until you reach 1.

Example: What is 60 as a product of prime numbers?

More examples:

Use a factor tree! A factor tree is the easiest way to find the prime factorisation of a number. Start by finding any two factors that multiply to give your number, then keep splitting each factor until every branch ends in a prime number.

📘 Struggling with prime factorisation, HCF, or LCM? Our GCSE maths tutors cover every Number topic in the specification, with real past paper questions and examiner-level feedback.

Book Free Session

Prime Numbers for KS2 — Simple Explanation for Younger Students

If you are in primary school (Year 5 or Year 6) and you need to understand what a prime number is, here is the simplest way to think about it:

A prime number is a number you cannot make into a rectangle.

Think of it like arranging counters or tiles. If a number is composite, you can arrange that many tiles into a neat rectangle in more than one way. For example, 12 tiles can be arranged as 2 × 6, 3 × 4, or 1 × 12.

But if a number is prime, the only rectangle you can make is a single long row — 1 × the number. You cannot split it any other way. That is because it has no factors except 1 and itself.

KS2 prime numbers to know: For Year 5 and Year 6, the most important prime numbers are 2, 3, 5, 7, 11, and 13. Being able to recognise these and explain why they are prime is usually enough at KS2 level.

Different Types of Prime Numbers

Twin Primes

Two prime numbers that are only 2 apart from each other are called twin primes. Examples: (3, 5), (5, 7), (11, 13), (17, 19), (29, 31), (41, 43). Twin primes are a fascinating area of maths — mathematicians still do not know if there are infinitely many pairs of them.

Co-prime Numbers

Two numbers are co-prime (or coprime) when their highest common factor is 1. They do not have to be prime themselves — they just cannot share any common factors apart from 1. For example, 8 and 9 are co-prime because nothing other than 1 divides into both of them.

Super Prime Numbers

A super prime is a prime number whose position in the list of primes is also prime. The 2nd prime is 3 (prime position → 3 is super prime). The 3rd prime is 5 (prime position → 5 is super prime). The 5th prime is 11 (prime position → 11 is super prime). The sequence starts: 3, 5, 11, 17, 31, 41, 59, 67, 83…

What Is the Opposite of a Prime Number?

The opposite of a prime number is a composite number — a number with more than two factors. 4, 6, 8, 9, 10, 12, 14, 15 are all composite numbers.

Why Do Prime Numbers Matter in Real Life?

Prime numbers are not just a maths classroom topic. They are genuinely important in the real world — and one field in particular relies on them completely.

🔐
Internet Security

Every time you buy something online or log into an app, your data is protected by encryption that relies on prime numbers. It works because multiplying two huge primes together is easy, but factorising the result back into those two primes is incredibly hard — even for the most powerful computers.

📱
Bank Cards and Passwords

The RSA encryption system — used by virtually every bank, government, and tech company — is built entirely on the mathematical difficulty of prime factorisation. Your credit card details are safe because of prime numbers.

🎵
Music and Rhythms

Some composers deliberately use prime-numbered time signatures (like 5/4 or 7/8) because they cannot be broken into smaller equal units, creating rhythms that feel unusual and interesting to the human ear.

🌿
Nature

Certain cicadas emerge from the ground after exactly 13 or 17 years — both prime numbers. Scientists think this is because prime cycles minimise the chance of the cicadas coinciding with predator population peaks.

Need Help With GCSE Maths Topics Like This?

Our examiner-qualified GCSE maths tutors cover every topic in the specification — from prime numbers and factors to algebra, geometry, and beyond. Book a free consultation today.

Book Your Free Consultation →

Frequently Asked Questions About Prime Numbers

What is a prime number — simple definition?

A prime number is a whole number greater than 1 that has exactly two factors: 1 and itself. The simplest way to remember it: if you can divide a number exactly by anything other than 1 and itself, it is NOT prime. Examples of prime numbers: 2, 3, 5, 7, 11, 13, 17, 19, 23.

What is a prime number in maths (and why does it matter)?

In maths, a prime number is a natural number with exactly two distinct factors. Prime numbers are the building blocks of all other numbers — every whole number can be written as a product of prime numbers (prime factorisation). This underpins topics like HCF, LCM, and is the foundation of modern encryption and internet security.

Is 1 a prime number?

No. 1 is not a prime number. A prime must have exactly two factors, but 1 only has one factor — itself. The number 1 is neither prime nor composite. This is one of the most commonly tested facts in GCSE maths, so remember it.

What is the only even prime number?

2 is the only even prime number. Every other even number can be divided by 2 (giving it at least three factors), so no other even number can be prime.

What is a composite number — and how is it different from a prime?

A composite number is a whole number greater than 1 that has more than two factors. For example, 12 is composite because it can be divided by 1, 2, 3, 4, 6, and 12. Every whole number greater than 1 is either prime (exactly 2 factors) or composite (more than 2 factors).

How do you check if a number is prime?

To check if a number is prime, divide it by every prime number up to its square root. If none of them divide exactly, the number is prime. For example, to check 53: the square root of 53 is about 7.3, so you test 2, 3, 5, and 7. None divide 53 exactly, so 53 is prime.

What are the prime numbers between 1 and 10?

The prime numbers between 1 and 10 are: 2, 3, 5, 7. That is four prime numbers. Note that 1 is not prime, and neither are 4, 6, 8, 9, or 10.

Is 91 a prime number?

No — 91 is NOT a prime number. It equals 7 × 13, so it has factors other than 1 and 91. This is a very common trick question in GCSE maths because 91 looks prime but it is not.

What is a product of prime numbers?

Writing a number as a product of prime numbers means expressing it through prime factorisation. For example, 60 = 2 × 2 × 3 × 5. Every composite number can be written this way, and the factorisation is always unique (this is called the Fundamental Theorem of Arithmetic). It is an important skill for GCSE maths, used in finding HCF and LCM.

What is a prime number for KS2?

For KS2 students, a prime number is a number that cannot be divided equally into smaller groups except as 1 group or individual items. The key prime numbers to know at KS2 are 2, 3, 5, 7, 11, and 13. If you can arrange the tiles/counters into more than one rectangle shape, the number is not prime.

IB

Written by the IB Demystified Team

IB Demystified is a UK-based online tutoring platform. All our GCSE maths tutors are qualified examiners with real marking experience. We help students from KS2 through IB Diploma improve their grades. Find out more →