DevFiddleDevFiddle
HomeToolsSnippetsArticles
Explore tools
Home>Tools>Prime factor calculator

Prime factor calculator

Decompose any integer into its unique prime factor components and exponential powers instantly in your browser.

Target integerArbitrary precision (BigInt)
Exponential factorization2^3 × 3^2 × 5All prime factors: [2, 2, 2, 3, 3, 5]
Examples:
Fundamental Theorem of Arithmetic
Distinct prime bases3
Total prime factors6

How it works

1

Enter an integer

Input any whole number of arbitrary size supported by modern BigInt precision.

2

Prime factorization

Applies trial division and optimized algorithms to decompose the number into primes.

3

Exponential format

Outputs both the complete list and canonical exponential factor powers (e.g. 2³ × 3² × 5).

More tools

CalculatorsResistor color code

Decode resistor color bands to determine resistance values.

Open tool
CalculatorsOhm's law calculator

Calculate voltage, current, resistance and power.

Open tool
CalculatorsLCM and GCD calculator

Calculate the Least Common Multiple and Greatest Common Divisor.

Open tool
About© DevFiddle 2026