Prime Factorization Calculator

Prime factorization

2^3 × 3^2 × 5

Positive factor count

24

All results
Calculator inputs
?

A whole number from 1 to 1,000,000,000,000. Factors here are positive integer divisors; zero, fractions and negative numbers are excluded.

Split until only primes remain

Every positive factor pair

Each row multiplies to the input. Swapping the members does not create a new pair; an equal-member square pair appears once.

Every positive factor pair
First factorPaired factorProduct
1360360
2180360
3120360
490360
572360
660360
845360
940360
1036360
1230360
1524360
1820360

Complete positive factor list

All divisors in ascending order. CSV and print include the complete list.

Complete positive factor list
#FactorInput ÷ factor
11360
22180
33120
4490
5572
6660
7845
8940
91036
101230
111524
121820
Rows 1–12 of 24

Prime powers and divisor-count check

Multiply the exponent-choice counts to obtain 24 divisors. For 1, the empty product is 1.

Prime powers and divisor-count check
PrimeExponentExponent choices (0…a)
234
323
512

Complete prime-division steps

Each row is an exact division. The compact tree may shorten a long chain, but this ledger retains every prime occurrence.

Complete prime-division steps
StepCurrent integerDivide by primeQuotient
13602180
2180290
390245
445315
51535
6551

Prime factorization examples: patterns to recognize

Computed examples distinguish powers of one prime, products of different primes and square numbers.

Prime factorization examples: patterns to recognize
IntegerPrime productPositive divisors
122^2 × 36
182 × 3^26
242^3 × 38
362^2 × 3^29
482^4 × 310
642^67
722^3 × 3^212
1002^2 × 5^29
1442^4 × 3^215
2102 × 3 × 5 × 716

How to use the Prime Factorization Calculator

Find prime factors, exponent form and a factor-tree preview. Follow exact division steps, verify the product and compare common factorizations.

  1. 1. Enter your inputs

    Start with Positive integer. Use the units shown beside each field and open the field help when you need its assumptions.

  2. 2. Read the results

    Results update as you enter valid values. Review Prime factorization, Positive factor count, Distinct factor pairs. Keep the entered units and settings consistent when comparing scenarios.

  3. 3. Check the calculation

    Positive integers up to 10¹²; exact safe-integer trial division. The compact tree previews the first five divisions when a factorization is long; the complete division ledger and factors remain available.

    See the worked example and method

Understanding the Prime Factorization Calculator: uses, inputs and results

The Prime Factorization Calculator shows the prime-number structure of an integer alongside its complete positive-factor list.

What is the prime factorization of a number?

Prime factorization rewrites an integer greater than 1 as a product containing only primes. For 252, the result is 2 × 2 × 3 × 3 × 7, or 2² × 3² × 7. Multiplying those entries reconstructs 252.

How do I read a factor tree?

A factor tree splits a number into two factors, then continues splitting any composite branch. A leaf is finished only when its value is prime. Different first splits can produce different-looking trees without changing the final prime product.

Further reading: OpenStax: prime factorization

What do the Prime Factorization Calculator inputs mean?

Positive integer
A whole number from 1 to 1,000,000,000,000. Factors here are positive integer divisors; zero, fractions and negative numbers are excluded.

When is the Prime Factorization Calculator useful?

Break down an integer

Enter a positive integer to inspect its prime factors and exponents.

Support simplification exercises

Use the decomposition when checking divisibility, common factors or fraction simplification.

Prime Factorization Calculator: a practical reference

The fixed “360” example on this page produces the results below. It illustrates the stated model; your live results above use your current inputs.

Positive integer
360
Prime factorization
2^3 × 3^2 × 5
Positive factor count
24
Review the example inputs and calculation

Use the result in context

Positive integers up to 10¹²; exact safe-integer trial division. The compact tree previews the first five divisions when a factorization is long; the complete division ledger and factors remain available.

Try the Prime Factorization Calculator·Read the subject guide·Explore a related calculator

Worked example: Prime Factorization Calculator

360. This fixed reference example shows one complete scenario; the interactive results above use your current inputs.

View the example inputs
Positive integer
360
Calculated results for the fixed example
Calculated quantityExample result
Prime factorization2^3 × 3^2 × 5
Positive factor count24
Distinct factor pairs12
Number typeComposite

Prime Factorization Calculator: follow the primes behind an integer

What is the prime factorization of a number?

Prime factorization rewrites an integer greater than 1 as a product containing only primes. For 252, the result is 2 × 2 × 3 × 3 × 7, or 2² × 3² × 7. Multiplying those entries reconstructs 252.

The Prime Factorization Calculator keeps repeated prime occurrences in the division ledger while collecting them into exponent form in the result. The prime 2 appears twice in this example; the distinct prime bases are only 2, 3 and 7. Those are different counts.

OpenStax: prime factorization

How do I read a factor tree?

A factor tree splits a number into two factors, then continues splitting any composite branch. A leaf is finished only when its value is prime. Different first splits can produce different-looking trees without changing the final prime product.

For 252, a first split could be 2 × 126 or 12 × 21. Either route eventually reaches two 2s, two 3s and one 7. Our compact tree uses successive prime divisions so every displayed branch can be checked against a matching ledger row. Long chains show five splits and explicitly leave the remaining branch unfinished in the preview.

How does repeated prime division work?

Divide by the smallest prime that goes in exactly, then repeat on the quotient. For 252: divide by 2 to get 126, by 2 to get 63, by 3 to get 21, by 3 to get 7, and finally by 7 to reach 1.

The ledger records the dividend, chosen prime and quotient at every step. It is a reproducible explanation of the result, rather than a list of trial divisors that failed. When the remaining quotient is prime, no additional composite split is needed.

What do prime exponents tell me about divisors and squares?

An exponent records how often a prime occurs in the product. In 252 = 2² × 3² × 7¹, choosing exponents independently gives (2 + 1)(2 + 1)(1 + 1) = 18 positive divisors.

A positive integer is a perfect square when all its prime exponents are even. Here the exponent of 7 is odd, so 252 is not a square. Pairing repeated primes is also useful when simplifying a square root, although this page reports the decomposition rather than automatically rewriting radicals.

Why use a Prime Factorization Calculator?

Prime powers help explain fraction reduction, common factors, common multiples and divisibility. To compare two decompositions, shared minimum powers build their GCF; maximum required powers build their LCM.

For example, 72 = 2³ × 3² and 90 = 2 × 3² × 5. Their shared minimum powers give 2 × 3² = 18. Their maximum powers give 2³ × 3² × 5 = 360. The related calculators apply those operations directly to multiple inputs.

Is 1 prime, and how large can the input be?

One is not prime and has no prime-factor list. A prime must exceed 1 and have exactly two positive divisors. For a prime input such as 97, the decomposition is simply 97; the tool identifies it as already prime instead of drawing a composite tree.

The supported range ends at 10¹². This bounded trial-division tool is intended for educational integers, not the factorization of cryptographic keys. Complete division steps, divisor tables and example patterns remain available even when the compact tree shortens its preview.

Formula and calculation method

A factor d divides n exactly: n = d × (n/d), with zero remainder. Only positive factors are listed.

Prime factorization writes n as a product of primes. For n = p₁^a₁ × … × pₖ^aₖ, the positive divisor count is (a₁+1)…(aₖ+1).

Factor pairs are listed once, with the smaller member first. A perfect square has one equal-member pair.

One has exactly one positive factor, 1, and no prime factors. It is neither prime nor composite.

Scope and Limitations

  • Positive integers up to 10¹²; exact safe-integer trial division. The compact tree previews the first five divisions when a factorization is long; the complete division ledger and factors remain available.

Reference Sources

Frequently asked questions

Can two different factor trees give different prime factors?

They can split in a different order, but a correct complete factorization has the same prime factors with the same multiplicities.

Why is 1 missing from the prime product?

One is not prime. Multiplying by 1 would not help identify the prime building blocks.

Does 2³ mean three distinct prime factors?

It means three occurrences of the prime 2. It is one distinct prime base.

Is the whole factor tree always visible above the fold?

The compact tree shows up to five splits. A longer chain is identified as a preview, and the complete division ledger remains below.

How can I check the answer?

Multiply each prime raised to its exponent. The product must equal the original integer; each ledger division must also have zero remainder.