Free. No ads. No sign-up. Your info stays on your phone.

Prime number checker

Enter a whole number. We'll tell you if it is prime, and break it into prime factors if it is not.

    Share it with a mom who needs it

    📌 Save to Pinterest

    Add this tool to your website

    Bloggers, teachers and clinics: copy this code to show this free tool on your own page. It has no ads and saves nothing on our side.

    What is a prime number?

    A prime number is a whole number greater than 1 that can only be divided evenly by 1 and itself. The first few are 2, 3, 5, 7, 11 and 13. The number 91 looks prime but is not: 91 = 7 × 13. The number 2 is the only even prime.

    How we calculate this

    We try dividing by 2 and then by odd numbers up to the square root of your number. If nothing divides evenly, it is prime. Otherwise we list the prime factors.

    See all our sources

    Questions moms ask

    Is 1 a prime number?

    No. By definition, 1 is neither prime nor composite.

    What is prime factorization?

    Writing a number as primes multiplied together, like 60 = 2 × 2 × 3 × 5.

    Is it saved?

    Your last entries are saved on this device only.

    Related tools

    This tool gives an estimate, not medical advice. Every pregnancy and every baby is different. If you're worried about anything, talk to your doctor or midwife.