Maths & numbers

Prime factorisation

Break a whole number into its prime factors.

Prime factorisation
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

Your result will appear here.

More actions

Your inputs stay in this browser. Nothing is uploaded, and nothing is saved unless you choose “Save result”.

A clear answer. Here’s how.

Uses trial division up to the square root, removing each discovered factor before continuing. Supports whole numbers from 2 to one trillion.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Whole number to factor
360

Example result

2^3 × 3^2 × 5