Code tool

Prime Number Calculator

Choose a primality check, prime factorization, or prime list. Enter an integer from 2 through 1,000,000.

In-browser processingNo account requiredPrivacy details ↗

A QUICK WALKTHROUGH

How to use this tool

  1. Choose primality check, factorization, or prime listing.
  2. Enter an integer from 2 to 1,000,000.
  3. Review the result calculated locally in your browser.

Accepted integer range

Every operation accepts integers from 2 through 1,000,000. Zero, negative values, decimals, and larger inputs are rejected.

Three local operations

The calculator tests primality, returns prime factors, or lists all primes up to the entered limit. The work runs in your browser.

GOOD TO KNOW

Common questions

Is 1 prime?

No. Prime numbers are integers greater than 1 with exactly two positive divisors.

Can I enter decimals or negative integers?

No. Enter a whole number from 2 through 1,000,000.