← Math & statistics

Prime Factorization Calculator

Factor an integer into primes, see exponents and divisor count, and copy a shareable result link.

Enter any positive integer to see its prime factors, exponents, divisor count, and primality verdict instantly. The tool covers the full safe integer range (up to 2^53-1) for course work, number theory drills, or quick verification.

Looking for full division steps and a factor tree? Visit the prime factorization with steps calculator.

Other languages ja | en | zh-CN | zh-TW | zh-HK | es | es-419 | es-MX | pt-BR | pt-PT | id | vi | ko | fr | de | it | ru-RU | hi-IN | ar | bn-BD | ur-PK | tr-TR | th-TH | pl-PL | fil-PH | ms-MY | fa-IR | nl-NL | uk-UA | he-IL | cs-CZ

Enter an integer

Type a value between 1 and 9,007,199,254,740,991 (inclusive).

Results

Prime factorization
--
Status
--
Total divisors
--
Distinct primes
--
Largest prime factor
--
Processing time
--
Prime factors and exponents
Prime Exponent

FAQ

What range of integers is supported?

Any integer between 1 and 9,007,199,254,740,991 (2^53-1), which is the safe integer range in JavaScript.

What happens if factorization takes too long?

Trial division stops after roughly 1.5 seconds. Partial factors are shown along with a warning so you can retry if needed.