FREE · NO SIGN-UP · TRANSPARENT FORMULAS

Prime Factorization Calculator

Split a positive whole number into prime factors and check whether the original number is prime.

Your numbers

Make it your own
Prime factorization
2 × 2 × 2 × 3 × 3 × 5

Calculated from your inputs · rounded for display

Is prime?No
Number of prime factors6

Your calculation, step by step

No black boxes
  1. 360 = 2 × 2 × 2 × 3 × 3 × 5.
  2. Trial division stops once the remaining factor is below the divisor squared.

How to use this calculator

  1. Enter your own values in the labeled fields. Check the units and assumptions before comparing results. Only the fields needed for your selected calculation mode are shown.
  2. Your answer updates automatically. Review the calculation steps to see exactly how it was calculated.
  3. Copy, share, save, or download your result. Saved inputs stay on this device.

How the calculation works

n = p₁ × p₂ × … × pₖ

The input is an integer from 2 through one trillion. Repeated trial division extracts factors, stopping once the remaining value cannot have another factor below its square root. One and zero have no prime factorization in this tool. Review the units, period and assumptions before comparing scenarios. Displayed values are rounded, while the underlying calculation retains its available precision.

A worked example

360 = 2 × 2 × 2 × 3 × 3 × 5 = 2³ × 3² × 5.

Reading your result

Use the main result together with its units and supporting figures. Display values are rounded; calculations keep their underlying precision. A change in inputs or assumptions can change the answer. Compare the step-by-step working with your intended use before relying on an estimate.

Frequently asked questions

What assumptions does this calculation use?

The input is an integer from 2 through one trillion. Repeated trial division extracts factors, stopping once the remaining value cannot have another factor below its square root. One and zero have no prime factorization in this tool.

Can I save or check a scenario?

The result includes the working and supporting values. Save and Restore keep inputs on this device; Copy, Download and Print export the result. Sharing a scenario explicitly includes the inputs in its link.

Sources & methodology

This calculator uses the mathematical identity and assumptions stated above. No current rates, prices, or external data are loaded. Conversion tools use international unit definitions.

Formula review: October 24, 2026. Read our methodology.