Nth Prime Finder

Find the Nth prime number for any N.

How It Works

Enter a rank N. The tool finds the Nth prime by iterating through integers and testing primality, counting until the Nth prime is reached.

Formula

P(n) = the n-th prime number (P(1)=2, P(2)=3, P(3)=5, ...)

Frequently Asked Questions

What is the 10th prime?

The 10th prime is 29.

What is the 100th prime?

The 100th prime is 541.