← 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 日本語 | English | 简体中文 | 繁體中文 | 繁體中文(香港) | Español | Español (México) | Português (Brasil) | Português (Portugal) | Bahasa Indonesia | Tiếng Việt | 한국어 | Français | Deutsch | Svenska | Suomi | Dansk | Norsk bokmål | Italiano | Русский | हिन्दी | العربية | বাংলা | اردو | Türkçe | ไทย | Polski | Filipino | Bahasa Melayu | فارسی | Nederlands | Українська | עברית | Čeština

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

How to use it

FAQ

What range of integers is supported?

Enter any integer from 1 to 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 about 1.5 seconds. The page shows the factors found so far and marks the result as incomplete so you can retry with a smaller number or use the step-by-step version.

What do divisor count, distinct primes, and largest prime factor mean?

The factorization line lists primes in ascending order. Exponents show repeated factors, the divisor count is the total number of positive divisors, and the largest prime factor is shown separately for quick checking.

Does this page show full division steps or a factor tree?

No. This page is the compact calculator. Use the linked Prime Factorization with Steps page if you need trial divisions, a factor tree, or classroom-style working.

Can I share or bookmark a result?

Yes. Copy result URL stores the current integer in the page URL so the same input can be reopened later.