Skip to calculators
calcmintly

Prime Number Check

Check whether an integer has any divisor other than one and itself.

Add to workspace

Your numbers

Local calculations. Results are estimates, not professional advice.

Classification

—

Use consistent units. The result follows the assumptions you enter.

Formula

A prime integer n ≥ 2 has no divisor between 2 and √n.

Check whether an integer has any divisor other than one and itself.

Worked example

Integer
97
Classification
Prime number
Smallest nontrivial divisor, zero if none
0

Scope and limitations

Use consistent units. The result follows the assumptions you enter.

Inputs are checked for missing values and allowed ranges. A result outside the finite numeric range is not displayed. Rounding affects display, while the calculation uses the model’s numeric precision.

Check your units and assumptions before relying on a result. Changing a label does not convert a currency or physical unit.

Formula version: e8ad323f0802 · Example checked:

Methodology

Related tools