Skip to content

Arithmetic on the numbers you type

Check whether an integer is prime

The page tests divisibility up to the square root.

Numbers longer than 12 digits are rejected so the tab stays responsive.

The work stays in this tab.

This tool runs in your browser. Turn on JavaScript to use it.

Prime check

The sample is fixed. It uses the same rule as the form.

Number
17
Result
Prime

How to use it

  1. 1Fill in the fields.
  2. 2Read the result.
  3. 3Copy the line you need.

Good to know

  • 1 is not prime. 2 is prime.
  • This page does not upload the text.
  • Text longer than one hundred thousand characters is rejected.

Questions

Does the result leave this browser?

No. The calculation finishes in the current tab.

What does this page leave out?

1 is not prime. 2 is prime.

What if the input is huge?

Past one hundred thousand characters, the page stops and asks you to shorten it.

Related tools