Navigation

HomeImage ToolsCode ToolsMath ToolsDate ToolsGeneratorsUtilities
Color ToolsText ToolsPDF Tools

Rewrite Integer As Product

Express integers as a product of their prime factors. 60 = 2 × 2 × 3 × 5.

Break any integer into its prime factors without doing trial division by hand. Drop in numbers like 60 or 1024, get back 2 × 2 × 3 × 5 and 2 × 2 × 2 × 2 × 2 × 2 × 2 × 2 × 2 × 2 instantly. And everything runs in your browser. Nothing gets uploaded.

Frequently Asked Questions

What is a prime factorization?

Every integer greater than 1 can be uniquely written as a product of prime numbers. For example, 60 = 2 × 2 × 3 × 5 = 2² × 3 × 5.

What about 0 and 1?

0 has no prime factorization (it's divisible by everything). 1 is the empty product — it has no prime factors.

What about negative numbers?

Negative numbers are shown with a -1 factor followed by the factorization of their absolute value.

How large can the numbers be?

This tool works well for numbers up to about 10^15. Very large numbers may take longer to factorize.

Related Tools