redtools.

Prime Number Calculator

Test divisibility up to the square root of an integer.

  • Free
  • No sign-up
  • Runs in your browser

How to use Prime Number Calculator

Set the labelled inputs for Prime Number Calculator, calculate, review the units and assumptions, and export your result.

Formula and assumptions

Test divisibility up to the square root of an integer.

Example

97 is prime; 100 is composite.

Limits and output

Whole integers 0–10^12; 0 and 1 are not prime. Returns a factor for composite numbers.

Good to know

RedTools is an early version of an everyday utility workspace. Image, text, calculation, and developer inputs are processed in your browser.

Your favorites, recently used tool IDs, and theme choice are stored on this device. Tool inputs are not automatically saved. Invoice drafts are saved on this device only when you choose Save draft locally. Hosting can receive ordinary page requests; this app includes no analytics.

Image and PDF tools, including compression and conversion, run locally in your browser.

Icons: Solar by 480 Design · CC BY 4.0. Components: Be UI and shadcn/ui.

↑↓ to move · Enter to open · Esc to close