Skip to content
Allin

Prime Factor Calculator

Factor any integer up to 10^15 with Pollard's rho and Miller-Rabin, with the factor tree, exponent form, divisor count, sigma and Euler's totient.

Prime Factor Calculator is free to use as often as you like, directly from this page. It sits under Numbers & arithmetic in our catalogue, alongside Mersenne Prime Checker and Common Factor Calculator.

How to use it

  1. Open the tool — no signup or install needed.
  2. Enter your input or adjust the available options.
  3. Get your result instantly, then copy or download it.

Frequently asked questions

What is Prime Factor Calculator?

Factor any integer up to 10^15 with Pollard's rho and Miller-Rabin, with the factor tree, exponent form, divisor count, sigma and Euler's totient.

When would I actually use this?

Reading a number written another way: a Roman numeral on a monument, a hexadecimal colour, a binary byte, or a fraction that needs reducing.

What is the most common mistake?

Assuming a decimal fraction survives a change of base. A tenth is exact in decimal and infinitely repeating in binary, which is why 0.1 + 0.2 is not 0.3 in most programming languages.

How is Prime Factor Calculator different from Mersenne Prime Checker?

They sit next to each other but answer different questions: Mersenne Prime Checker is the one to open when you need it to run the Lucas-Lehmer test on 2^p - 1 for any exponent p up to 5000, with the digit count, the rank in the known list and the even perfect number it generates. Pick whichever matches what you're starting from — both are free.

Is there a tool for the next step?

Common Factor Calculator is the closest one after this: Find every common factor of 2 to 10 numbers, with the greatest common factor highlighted and coprime pairs flagged.

What else is worth having open alongside it?

Factor Calculator and Greatest Common Factor Calculator — they come up in the same task often enough to be worth a second tab.

Where do the figures come from?

Base conversion and number-theory results are exact. Roman numerals follow the standard subtractive form used since the Middle Ages, which is not the only one the Romans themselves used.

Further reading

All guides