Skip to content
Free Tool Arena

Unit Converters · Free tool

Prime Number Checker

Check whether any number is prime. Also shows its factors if composite. Fast in-browser math.

Updated April 2026

60 is

Not prime

Prime factorization

60 = 2² × 3 × 5

Divisors

1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60 (12 total)

Previous prime

59

Next prime

61

What it does

Check whether a number is prime, and if not, see its full prime factorization. Enter any integer up to about a trillion (1e12) and the tool returns yes/no, the prime factorization in exponent notation (60 = 2² × 3 × 5), a list of divisors, and the next and previous prime numbers.

Uses 6k±1 trial division — practical for numbers up to ~10¹². For much larger inputs you'd want Miller-Rabin; this tool targets education and quick math. See also number base converter for binary/hex representations and fraction calculator for GCD-heavy math.

How to use it

  1. Enter any integer up to 1e12.
  2. See the prime/composite verdict and factorization.
  3. Scroll the divisor list and the next/previous primes.
  4. Try another number anytime.