Nth Prime Number Calculator
Find the nth prime number.
Result
How to use
- Enter your values in the fields above.
- Press Calculate to see your result instantly.
- Use the Share button to copy a link to your result.
About this calculator
This calculator finds the nth prime number — for example, the 1st prime is 2, the 2nd is 3, the 10th is 29, and so on — by sieving or testing successive integers for divisibility until it has counted enough primes. Prime numbers are whole numbers greater than 1 with exactly two divisors: 1 and themselves.
Math students use it to check number-theory homework, and programmers use it to verify their own prime-generating algorithms against a known answer. Enter a position n to get the nth prime instantly, without writing a script yourself.
Was this helpful?
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)