‹ Back ✦ AI Chat
🔢

Prime Numbers up to N

List and count all primes up to a limit (sieve of Eratosthenes).

25
Primes up to N
97
Largest prime ≤ N

Runs entirely in your browser. Nothing is sent anywhere.

How it works

  1. 1Enter your values.
  2. 2See the result update instantly as you type.
  3. 3Change any value to compare scenarios.

About this tool

Prime Numbers up to N: List and count all primes up to a limit (sieve of Eratosthenes). Type your numbers and the result is calculated instantly — no button to press, nothing to install. All math runs locally in your browser, so the values you enter are never sent anywhere.

Example

Input
Up to100
Result
Primes up to N25
Largest prime ≤ N97
How do I use the Prime Numbers up to N?

Enter your values. See the result update instantly as you type. Change any value to compare scenarios.

Is the Prime Numbers up to N free?

Yes. It is completely free with no sign-up, no usage limits and no watermark.

Is my data sent to a server?

No. Everything is calculated locally in your browser. Nothing you enter is uploaded, logged or stored.

Does it work on my phone?

Yes. It works in any modern browser on Android, iPhone, iPad, Windows, Mac and Linux — no app needed.