⚡ Exponents, Roots & Logarithm Calculator

Last updated: June 19, 2026

⚡ Exponents, Roots & Logarithm Calculator

Powers · Nth Roots · Logs in Any Base — with step-by-step working

^

    Laws of Exponents

    aᵐ · aⁿ = aᵐ⁺ⁿ
    aᵐ / aⁿ = aᵐ⁻ⁿ
    (aᵐ)ⁿ = aᵐⁿ
    a⁰ = 1 (a ≠ 0)
    a⁻ⁿ = 1/aⁿ
    a^(1/n) = ⁿ√a

      Root Identities

      ⁿ√x = x^(1/n)
      √(a·b) = √a · √b
      √(a/b) = √a / √b
      (ⁿ√a)ᵐ = a^(m/n)
      ⁿ√(aᵐ) = a^(m/n)

      (
      )

        Laws of Logarithms

        logₙ(a·b) = logₙ(a) + logₙ(b)
        logₙ(a/b) = logₙ(a) − logₙ(b)
        logₙ(aᵐ) = m·logₙ(a)
        logₙ(1) = 0
        logₙ(n) = 1
        Change of base: logₙ(x) = ln(x)/ln(n)

        Everything You Were Never Told About Exponents, Roots, and Logs — But Needed for Exams

        Most students can multiply 3 × 3 × 3 and get 27. But ask them why 3⁻² equals 1/9, or what log₃(27) actually means, and the room goes quiet. These three operations — exponentiation, root extraction, and logarithms — are really three faces of the same coin, and understanding them together is what separates students who scrape through algebra from those who actually enjoy it.

        Q: What exactly does aⁿ mean, and why do negative exponents flip the fraction?

        The honest answer: an exponent is just a shorthand for repeated multiplication. 2⁵ means "multiply five twos together": 2 × 2 × 2 × 2 × 2 = 32. Simple enough. But the interesting part is what happens when you go in the other direction.

        Notice this pattern: 2⁴ = 16, 2³ = 8, 2² = 4, 2¹ = 2. Each step divides the previous result by 2. Continuing that logic: 2⁰ = 1 (divide 2 by 2), 2⁻¹ = 1/2 (divide 1 by 2), 2⁻² = 1/4. The pattern forces negative exponents to become fractions — it is not an arbitrary rule someone invented, it is what has to happen for the sequence to stay consistent. Formally: a⁻ⁿ = 1/aⁿ.

        This consistency principle — mathematicians call it "extending the definition in the only sensible way" — is the same logic used to define fractional exponents. If a² × a² = a⁴, then (a^(1/2))² must equal a¹. So a^(1/2) is the number whose square is a. That is exactly the square root. This means √9 = 9^(1/2) = 3, and ∛8 = 8^(1/3) = 2.

        Q: I keep mixing up nth roots. What is the cleanest way to think about them?

        The nth root of x is the number you raise to the power n to get back to x. Written as ⁿ√x or x^(1/n), it undoes the power operation the way division undoes multiplication.

        Practical tips students miss:

        • Even roots of negative numbers are undefined in the real number system. √(−4) has no real answer — you need complex numbers. But odd roots of negatives are fine: ∛(−8) = −2, because (−2)³ = −8.
        • Simplifying surds: √72 = √(36 × 2) = 6√2. Pull out the largest perfect-square factor. Most exam marks lost on surd questions come from students stopping at √72 without simplifying.
        • Rationalizing denominators: 1/√3 is usually rewritten as √3/3. Multiply top and bottom by √3. Examiners expect this.

        Q: What is a logarithm actually saying? The definition always confuses me.

        A logarithm answers the question: "What power do I raise the base to, to get this number?"

        log₂(8) = 3 is asking: 2 to what power gives 8? Answer: 3, because 2³ = 8.

        log₁₀(1000) = 3 is asking: 10 to what power gives 1000? Answer: 3, because 10³ = 1000.

        The notation log without any base written usually means log₁₀ in school math. The notation "ln" means the natural logarithm — base e (Euler's number, ≈ 2.71828). Natural logs come up constantly in calculus, compound interest, and population growth problems, so knowing both is essential.

        Q: What are the three log laws and how do I remember them?

        The three logarithm laws are directly mirror images of the exponent laws, which is the fastest way to memorize them:

        • Product rule: log(a × b) = log(a) + log(b). Because when you multiply powers, exponents add. log(8 × 4) = log(32) = 5, and log(8) + log(4) = 3 + 2 = 5. ✓
        • Quotient rule: log(a/b) = log(a) − log(b). Because dividing powers means subtracting exponents.
        • Power rule: log(aⁿ) = n × log(a). This one is the most useful on exams — it lets you bring the exponent down as a multiplier, which turns exponential equations into linear ones.

        Two special cases every student must memorize: log_b(1) = 0 always (because b⁰ = 1), and log_b(b) = 1 always (because b¹ = b).

        Q: How does the change of base formula work and when do I need it?

        Most calculators only have log₁₀ and ln buttons. But exam questions use all sorts of bases — log₂, log₃, log₅. The change of base formula is your bridge: log_b(x) = ln(x) / ln(b) = log(x) / log(b). Both forms work; pick whichever base your calculator has.

        Example: log₅(125). Your calculator does not have a "log base 5" button. So you compute ln(125)/ln(5) = 4.828 / 1.609 ≈ 3. And indeed 5³ = 125, confirming the answer.

        This formula is also why the calculator tool on this page works for any base — it applies this exact conversion under the hood.

        Q: What are the five laws of exponents I absolutely must know?

        These five rules cover 90% of exam questions involving powers:

        1. aᵐ × aⁿ = aᵐ⁺ⁿ — same base, multiply means add exponents
        2. aᵐ ÷ aⁿ = aᵐ⁻ⁿ — same base, divide means subtract exponents
        3. (aᵐ)ⁿ = aᵐⁿ — power of a power means multiply exponents
        4. a⁻ⁿ = 1/aⁿ — negative exponent means reciprocal
        5. a^(m/n) = (ⁿ√a)ᵐ — fractional exponent combines root and power

        Rule 5 is the synthesis rule. It explains why 8^(2/3) means "take the cube root of 8, then square it": ∛8 = 2, then 2² = 4. Or equivalently, square 8 first (64), then take the cube root (4). Same answer either way, but taking the root first usually gives smaller numbers and is less error-prone.

        Q: Why do these three operations matter beyond the classroom?

        Exponents describe exponential growth — compound interest, viral spread, population increase. The formula A = P(1 + r)ᵗ uses an exponent to show how money compounds over t years. Logarithms then let you solve for t when A is known, turning the question "how long until my investment doubles?" into a simple log calculation.

        The Richter scale uses log₁₀ to measure earthquake intensity, meaning an earthquake of magnitude 7 is ten times more powerful than magnitude 6, not just one unit more. The decibel scale for sound is also logarithmic. pH in chemistry is defined as −log₁₀[H⁺]. Roots appear in distance formulas, standard deviation in statistics, and signal processing. These are not abstract school concepts — they are the mathematical vocabulary of the physical world.

        FAQ

        What is the difference between log, log₁₀, and ln?
        All three are logarithms but with different bases. log₁₀ (also written just 'log' in school math) uses base 10 — it asks 'what power of 10 gives this number?' ln is the natural logarithm, base e (≈2.71828) — it appears in calculus and exponential growth formulas. A custom base like log₂ or log₅ uses the change-of-base formula: log_b(x) = ln(x)/ln(b). This calculator handles all three forms.
        Why is any number raised to the power 0 equal to 1?
        It follows from the division law of exponents: aⁿ / aⁿ = aⁿ⁻ⁿ = a⁰. But any number divided by itself equals 1. So a⁰ must equal 1 for the rule to stay consistent. The only exception is 0⁰, which is considered indeterminate (it has no single agreed value).
        How do I calculate log₅(125) on a normal calculator?
        Use the change-of-base formula: log₅(125) = log(125) ÷ log(5) = 2.09691 ÷ 0.69897 = 3. You can also use natural logs: ln(125) ÷ ln(5) = 4.82831 ÷ 1.60944 = 3. Either method works because the base chosen in the numerator and denominator cancels out. Our calculator applies this automatically for any custom base.
        What does a fractional exponent like 27^(2/3) mean?
        A fractional exponent a^(m/n) means 'take the nth root, then raise to the power m.' So 27^(2/3) = (∛27)² = 3² = 9. You can also reverse the order — square 27 first (729), then take the cube root — and get the same answer. Taking the root first usually involves smaller numbers and is less prone to arithmetic errors.
        Can you take the square root of a negative number?
        Not in the real number system. √(−9) has no real answer because no real number squared gives a negative result. In the complex number system, √(−9) = 3i where i is the imaginary unit. However, odd roots of negative numbers are valid real numbers: ∛(−8) = −2 because (−2)³ = −8. This calculator handles odd roots of negative numbers correctly.
        How do the laws of logarithms help solve exponential equations?
        The power rule — log(aⁿ) = n·log(a) — lets you bring down an exponent as a multiplier, converting an exponential equation into a linear one. For example, to solve 2ˣ = 50: take log of both sides → x·log(2) = log(50) → x = log(50)/log(2) ≈ 5.644. Without logarithms, there is no clean algebraic way to isolate x when it sits in the exponent.