Online Calculator

Check prime numbers

Enter an integer to check whether it is divisible only by 1 and itself.

Information

⚡

Instant calculation

Enter the data and press the button to get the result.

🔒

Local processing

The calculation is done directly in your browser.

💸

Free

No registration, external API or subscription required.

Frequently asked questions

What's a prime number?

It is an integer greater than 1 with only two positive divisors: 1 and itself.

Is 1 a prime number?

No.

Is 2 a prime number?

Yes, and it is the only even prime number.

How does it perform the check?

Tests potential divisors up to the square root of the number.

Related calculators