Skip to content
Prime Checker
Menu

Is 45 a Prime Number?

Updated · exact integer math

No, 45 is not a prime number. It's composite.

45 = 3² × 5

Why 45 is not prime

Its digits add up to 9, which is divisible by 3, so 45 is too: 45 ÷ 3 = 15.

Its prime factorization is 3² × 5, and it has 6 divisors: 1, 3, 5, 9, 15, 45.

The nearest primes are 43 (below) and 47 (above).

Numbers around 45

NumberPrime?Factorization
40Composite2³ × 5
41Prime41
42Composite2 × 3 × 7
43Prime43
44Composite2² × 11
45Composite3² × 5
46Composite2 × 23
47Prime47
48Composite2⁴ × 3
49Composite7²
50Composite2 × 5²

Check another number

Any whole number up to 24 digits. Commas are fine.

Try 1,000,003 or 561. Want a list instead? See the list of prime numbers.

Is 47 prime?

Yes, prime

Number of divisors
2
Previous prime
43
Next prime
53

Divisors: 1, 47

Its only divisors are 1 and 47, so it's prime.

See where 45 sits among the first hundred numbers on the prime numbers chart, or browse every number from 1 to 1,000.

Questions people ask

Is 45 a prime number?

No, 45 is not a prime number. It's composite.

What are the factors of 45?

6 factors: 1, 3, 5, 9, 15, 45.

Is 45 prime or composite?

Composite: 45 = 3² × 5.

Sources

More prime number tools