Tools Guides
Math Free No signup

Prime Factorization Calculator

Factorize numbers up to 10¹⁵ with SVG factor trees

Loading tool…

About this tool

Enter any integer up to 1,000,000,000,000,000 (10¹⁵) to see its complete prime factorization with exponents. An interactive SVG factor tree visualises the decomposition step by step. A two-number section lets you compute GCD (Greatest Common Divisor) and LCM (Least Common Multiple) instantly. The tool also classifies each number as prime, perfect, abundant, or deficient.

How to use

  1. 1 Enter an integer up to 10¹⁵ in the input field and click Factorize.
  2. 2 View the prime factorization expressed with exponents (e.g. 2³ × 3 × 7²).
  3. 3 Explore the SVG factor tree to see how the number breaks down step by step.
  4. 4 Enter a second number in the GCD/LCM section to compute their GCD and LCM.

Frequently Asked Questions

{# Alpine.js — self-hosted. (The previous jsdelivr CDN tag had a stale SRI integrity hash, so the browser refused to run it and window.Alpine was never defined — silently breaking every FAQ accordion and Alpine tool.) #}