Favorite places of your favorite city
Home
Add to preferred sources on Google

Prime Number Checker

Check one integer or a list and see what makes each number prime, composite, or neither.

Inputs

Enter one integer per line, up to 100 nonblank lines. Range: −1,000,000,000 to 1,000,000,000. Use digits without separators.

Results

Enter numbers and select Check numbers to see the results.

Numbers are checked in this tab. Reloading clears your list and report.

Check a number or list

  1. Enter one integer per line or paste a column.
  2. Select Check numbers and review each classification.
  3. Copy the report to use the results beside your original list.

Why the test works

A prime has exactly two positive divisors, 1 and itself.

A composite number has a prime divisor at or below its square root.

The checker tries those prime divisors in order, so the first one that divides evenly is the smallest.

Two quick examples

49 is composite because 7 × 7 equals 49.

97 is prime. Its square root is between 9 and 10, and none of 2, 3, 5 and 7 divides it evenly.

Inputs and limits

Check up to 100 integers from minus one billion to one billion.

Use digits without grouping separators. Negative integers, 0 and 1 are neither prime nor composite.

Local calculation

Your numbers are checked in this tab. Reloading clears the list.

Prime number questions

It has only one positive divisor. A prime needs exactly two.

Yes. Its positive divisors are 1 and 2, and it is the only even prime.

The report keeps its original line number and shows the error. The other lines are still checked.

A square such as 49 is divisible by its square root, 7. The check includes divisors equal to the square root.

Sources

The reference describes the sieve and the square-root rule used for trial division.

This checker applies the rule to positive integers of at most one billion. It shows the first factor pair for each composite.

Number Base Converter

Convert signed integers between any bases from 2 to 36 with exact complete results and readable steps.

Open tool — Number Base Converter

Roman Numeral Converter

Convert numbers and Roman numerals in either direction, one value or a list at a time.

Open tool — Roman Numeral Converter

Number to Words

Spell whole numbers and exact decimal digits in your chosen language.

Open tool — Number to Words

Pythagorean Theorem Calculator

Find a missing right-triangle side or check three side lengths.

Open tool — Pythagorean Theorem Calculator

Significant Figures Calculator

Count significant figures and round a written number to a chosen precision.

Open tool — Significant Figures Calculator

Scientific Calculator

Evaluate real expressions with powers, roots, logs and degree/radian trigonometry, with explicit precedence and clear numerical limits.

Open tool — Scientific Calculator

Percentage Change Calculator

Compare an original and new value to find the percentage increase or decrease and the numeric change.

Open tool — Percentage Change Calculator

Average Calculator

Find the arithmetic mean of a number list, with a clear decimal-format choice, count and sum.

Open tool — Average Calculator

Percentage Calculator

Find a percentage of a number, one number as a percentage of another, or the whole from a known amount and percentage.

Open tool — Percentage Calculator

Weighted Average Calculator

Calculate an average from values and their relative weights. Check total weight and copy an explained result.

Open tool — Weighted Average Calculator

Slope Calculator

Find the exact slope and line through two points and check a third point.

Open tool — Slope Calculator

Quadratic Formula Calculator

Solve for exact real or complex roots using the quadratic formula.

Open tool — Quadratic Formula Calculator

Decimal to Fraction Calculator

Convert a decimal to a reduced fraction and see what changes if digits repeat.

Open tool — Decimal to Fraction Calculator

Fraction Calculator

Calculate with fractions and mixed numbers, or simplify one fraction to lowest terms.

Open tool — Fraction Calculator

Standard Deviation Calculator

Calculate sample and population standard deviation from one list.

Open tool — Standard Deviation Calculator

Median Calculator

Find the median of a number list, with the middle values and a sorted preview.

Open tool — Median Calculator

Rectangle Area Calculator

Find the area of a rectangle or square from two measurements, including mixed units and feet and inches.

Open tool — Rectangle Area Calculator

GCF Calculator

Find the largest positive integer that divides every number in your list.

Open tool — GCF Calculator

Ratio Calculator

Simplify or scale ratios and solve a proportion with a missing term.

Open tool — Ratio Calculator

LCM Calculator

Find the exact least common multiple of 2–20 positive whole numbers, with the GCD and optional steps.

Open tool — LCM Calculator

Circle Area & Circumference Calculator

Find circle area and circumference from a radius or diameter, with metric and imperial unit conversion.

Open tool — Circle Area & Circumference Calculator

Scale Calculator

Convert drawing or model lengths to real dimensions, work backwards, or find the scale from matching lengths.

Open tool — Scale Calculator

Factor Calculator

List the divisors, factor pairs and prime factorization of an integer.

Open tool — Factor Calculator

Square Root Calculator

Simplify a square root exactly and check its decimal approximation.

Open tool — Square Root Calculator
View all tools in this category