Free calculator tools. Fast, simple, no sign up.
A prime number has exactly two factors: 1 and itself. The primes start 2, 3, 5, 7, 11, 13, 17, 19, 23, and they go on forever.
A prime number has exactly two factors: 1 and itself. The primes start 2, 3, 5, 7, 11, 13, 17, 19, 23, and they go on forever.
The number 2 is the only even prime, because every other even number is divisible by 2. The number 1 is not prime, because it has only one factor, and it is not composite either; it sits in a class of its own. A composite number has more than two factors, such as 4, 6, 8, 9, and 10. To test whether a number is prime, try dividing it by primes up to its square root. If none divides it exactly, it is prime.
Every whole number bigger than 1 is either prime or a product of primes. That product is unique, which is why prime factorisation is so useful: 60 is 2 squared times 3 times 5, and no other combination of primes gives 60.
Is 29 prime? Its square root is about 5.4, so test the primes 2, 3, and 5. None divides 29 exactly, so 29 is prime.
The classic error is calling 1 prime. It is not; a prime needs exactly two different factors.
Is 51 prime? (Answer: no, 51 = 3 times 17.)
The best way to make this stick is to use it three times: once while reading this guide, once tomorrow from memory, and once on a fresh problem. Each round takes a few minutes, and by the third the steps feel natural. If a step feels unclear, go back to the worked example and cover the answer while you redo it. Maths is a skill built from small correct repetitions, and this topic is a good place to practise that habit.
Why does this method work? Because each step keeps both sides equal, or keeps the value unchanged. Methods that preserve equality or value are safe to use again and again, and that is why they appear in so many topics.