Maths & numbers

Radical of an integer calculator

Remove repeated prime factors while keeping each prime once.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Squaring a positive integer changes its exponents and leaves its radical unchanged.

THE FORMULArad(n) = product of distinct primes dividing n

A worked example

72 = 2³ × 3², so its radical is 2 × 3 = 6.

Good to know

The radical of 1 is 1.

Retain each distinct prime once

The default number 72 factors as 2³ × 3². Its radical is the product of the distinct primes 2 and 3, giving rad(72) = 6. Repeated copies are removed regardless of how large their exponents are. The diagram contrasts the five prime-factor occurrences with the two factors retained in the result.

A radical in this number-theory sense differs from taking a square root. The square root of 72 is 6√2, whereas its integer radical is 6. For 8 = 2³ the radical is 2, which makes the distinction especially clear.

The repeated factors of seventy-two reduce to one copy each of two and three72 = 2 × 2 × 2 × 3 × 3Keep 2Keep 3rad(72) = 6
The exponent sizes disappear from the radical. The distinct prime factors remain, giving rad(72) = 2 × 3 = 6.

Identify squarefree inputs and divisibility relationships

A positive integer is squarefree exactly when every prime exponent is one. Its radical then equals the original number. For example, 30 = 2 × 3 × 5 has radical 30. A repeated factor makes the radical smaller, as for 72.

The Möbius function calculator returns zero precisely when a prime square divides the input. For integers above one, that is also the situation in which the radical differs from the original number. The radical always divides its input because each retained prime occurs in the factorization. It is the largest squarefree divisor of that input. One has no distinct prime factors and uses the empty-product value rad(1) = 1.

A few questions, answered

Does the radical discard large primes?

No. It removes repeated occurrences. Every distinct prime divisor, large or small, remains in the product.

Can two different numbers have the same radical?

Yes. Six, 12, 18, 36 and 72 all have exactly the distinct prime factors 2 and 3, so their radical is 6.

Find your calculator

Start typing to explore the library.