Prime Factorization Calculator

Prime Factorization Calculator

Decompose any integer into its unique prime factor product and list all positive integer divisors.

Enter a positive whole number greater than 1.

Prime Factorization Output Client-Side Execution
Prime Factor Product
2^3 × 3^2 × 5
Classification: Composite Number
All Positive Divisors (24)
1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 18, 20, 24, 30, 36, 40, 45, 60, 72, 90, 120, 180, 360

At a Glance

Category
Number theory
Best For
Students learning factoring, and anyone simplifying fractions or finding divisors
Privacy
100% in your browser: nothing you enter is uploaded
Time Required
Under a minute
Cost
Free
Updated
November 2026

Quick Overview

What This Tool Does

Divides the number by 2 and then by successive odd numbers until only primes remain, and shows the result as a product of primes with exponents. It also lists every positive integer that divides the number exactly.

Who Should Use It

Students in arithmetic and algebra, teachers, and anyone working with fractions, ratios or number puzzles.

When to Use It

When simplifying fractions, finding common denominators, checking if a number is prime, or listing divisors.

Why It Is Useful

It replaces trial and error with a quick answer and shows the factorization in compact exponent form.

Key Features & Capabilities

Exponent form

Repeated factors are shown as powers, for example 2³ instead of 2 × 2 × 2.

All divisors listed

See every positive whole number that divides evenly into your number.

Large numbers

Works for integers up to 100,000,000.

Private

Calculated in your browser.

How to Use This Tool

1

Enter a whole number

Type an integer greater than 1. Tip: Decimals are rounded down to a whole number.

2

Read the prime factorization

The result shows the primes and their exponents multiplied together. Tip: A prime number has a single factor with exponent 1: itself.

3

Check the divisors

The list shows every number that divides your input with no remainder. Tip: The number of divisors is the product of (exponent + 1) for each prime.

4

Use the result

Use the primes to simplify fractions or to compare the factors of two numbers. Tip: Check by multiplying the prime factors back together.

Worked Real-World Example

Factorizing 360

A student wants the prime factors and all divisors of 360.

Sample Inputs
Integer to factorize360
Prime factorization360 = 2³ × 3² × 5 (24 divisors)
Calculation Breakdown
Divide out 2s: 360 ÷ 2 = 180 ÷ 2 = 90 ÷ 2 = 45 = Three 2s: 2³
Divide out 3s: 45 ÷ 3 = 15 ÷ 3 = 5 = Two 3s: 3²
Remaining prime: 5 is prime = 5¹
Divisors: divisor count = (3 + 1)(2 + 1)(1 + 1) = 24 = 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 18, 20, 24, 30, 36, 40, 45, 60, 72, 90, 120, 180, 360
Multiplying back gives 8 × 9 × 5 = 360. Because 360 has many small prime factors it has many divisors, which is why it was historically used for the degrees in a circle.

How It Works (Math & Calculation Logic)

The calculator divides by 2 until the number is odd, then tests odd divisors d = 3, 5, 7, … while d × d is no larger than what remains, dividing out each as many times as it fits. Any remainder greater than 1 is itself prime. Divisors are found by testing every integer up to the square root and pairing each with its cofactor.

Formula / Algorithmn = p₁^a₁ × p₂^a₂ × … × pₖ^aₖ Number of divisors = (a₁ + 1)(a₂ + 1)…(aₖ + 1)
Variable & Logic Definitions
pᵢPrime factor - A prime that divides n
aᵢExponent - How many times pᵢ divides n
d(n)Divisor count - Number of positive divisors (count)

How to Interpret Your Results

Typical Benchmarks

Prime numbers (2, 3, 5, 7, 11, …) have exactly two divisors: 1 and themselves. Numbers with many small prime factors have many divisors.

Evaluating Your Output

If the factorization shows only one prime with exponent 1, the number is prime. Otherwise it is composite.

Recommended Next Action

Use the prime factors to cancel common factors in a fraction, and use the divisor list to find all the ways to split a quantity evenly.

Frequently Asked Questions

What is prime factorization?
Writing a number as a product of prime numbers. Every integer greater than 1 has exactly one such factorization, apart from order.
How do I find the prime factors of a number?
Divide by the smallest prime that fits, repeat with the quotient, and continue until you reach 1. For 360: 2, 2, 2, 3, 3, 5.
How do I know if a number is prime?
It is prime if it has no divisors other than 1 and itself. The calculator shows a single prime factor in that case.
How many divisors does a number have?
Add 1 to each exponent in the prime factorization and multiply. For 2³ × 3² × 5: 4 × 3 × 2 = 24.
Is 1 a prime number?
No. A prime has exactly two distinct positive divisors, and 1 has only one.

Complementary QuickForma Utilities

Mathematics & Statistics

Ratio & Proportion Calculator

Solve for missing variable x in A:B = C:X or simplify complex multi-part ratios into lowest terms.

Open Tool
Converters & Measurement

Scientific Notation Calculator

Convert numbers between standard decimal, scientific notation (a × 10^b), and engineering notation.

Open Tool
Mathematics & Statistics

Sequence & Series Calculator

Calculate n-th terms and sum of n terms for Arithmetic and Geometric mathematical sequences.

Open Tool
Mathematics & Statistics

Permutation & Combination Calculator

Calculate permutations nPr (order matters) and combinations nCr (order does not matter).

Open Tool
Mathematics & Statistics

Simple Linear Regression & R² Line of Best Fit

Calculates regression line equation ŷ = β₀ + β₁ x, correlation r, and coefficient of determination R².

Open Tool
Mathematics & Statistics

Sample & Population Standard Deviation Solver

Solves sample (s) and population (σ) standard deviation with variance steps.

Open Tool
Mathematics & Statistics

Margin of Error & Survey Sample Size Solver

Calculates minimum required survey sample size based on confidence level (95%, 99%) and margin of error.

Open Tool
Mathematics & Statistics

Altman Z-Score Business Bankruptcy Predictor

Uses 5 financial ratios to predict public and private business insolvency risk.

Open Tool
Mathematics & Statistics

Raw Quiz / Exam Test Score Percentage Solver

Converts raw exam points (e.g. 47 out of 58) into percentage, letter grade, and grade points.

Open Tool
Mathematics & Statistics

Definite & Indefinite Integration Solver

Calculates polynomial, exponential, and trigonometric definite/indefinite integrals with step-by-step logic.

Open Tool
Mathematics & Statistics

Factorial n! & Permutation Formula Solver

Online client-side Factorial n! & Permutation Formula Solver tool.

Open Tool