Prime & Factors is a free math & calculators tool that runs entirely in your browser — primality test & factorization. No upload, no account, no limits.
Test whether a number is prime and, if not, break it into its prime factorization (e.g. 360 = 2³ × 3² × 5). It also reports the divisor count and the next and previous primes. Factoring is instant for numbers up to about 100 trillion.
Up to about 10^14 (100 trillion) using trial division, which stays instant in the browser.
Whether it's prime, the prime factorization, the total number of divisors, and the next and previous primes.
Every calculation happens on this page, in your own browser. Your input is never sent to a server, never logged and never used for training — which also means the tool keeps working when you are offline.