Exponent & Logarithm Calculator

The exponent and logarithm calculator gives powers, roots and logarithms together. Enter a base and a value to see b to the power x, the x-th root, the logarithm in that base, and the natural, base-10 and base-2 logs, with the change-of-base working shown. It runs in your browser.

Log rules

RuleFormula
Productlog(xy) = log x + log y
Quotientlog(x/y) = log x − log y
Powerlog(xⁿ) = n log x
Change of baselog_b x = ln x / ln b

When to use it

  1. Work out compound growth with powers.
  2. Find how many doublings reach a number with log₂.
  3. Check logarithm homework.
  4. Convert decibels or pH using log₁₀.

How to Use

  1. Enter the base and the exponent or value.
  2. Read the power, root and logarithms.

Features

  1. Powers and nth roots
  2. Log in any base
  3. ln, log₁₀, log₂
  4. e^x and √x
  5. Change-of-base working
  6. 100% client-side

FAQs

What is a logarithm?

The power you raise the base to: log₂(8) = 3 because 2³ = 8.

How do I calculate a log in any base?

Divide the natural log of the number by the natural log of the base: log_b(x) = ln(x) / ln(b).

What's the difference between log and ln?

log usually means base 10; ln is the natural log, base e ≈ 2.71828.

Why can't I take the log of a negative number?

No real power of a positive base gives a negative result.

Is anything uploaded?

No. It runs in your browser.

Technical Details

From a base b and a value x the calculator gives b^x, the x-th root of b, log_b(x), ln(x), log₁₀(x), log₂(x), e^x and √x at once. Logarithms in any base use the change-of-base rule log_b(x) = ln(x) ÷ ln(b), shown with your numbers. Logs are only defined for a positive x and a positive base other than 1, and even roots of negative numbers aren't real, so those results show a dash instead of an error value. Odd roots of negative numbers are returned as negative real numbers (the cube root of −8 is −2). Results are shown to 15 significant digits, the precision of double-precision arithmetic.

Calculators & Converters

Calculators & Converters

  • Fraction Calculator
  • GCD & LCM Calculator
  • Matrix Calculator
  • Prime Number Checker
  • Ratio & Proportion Calculator
  • Roman Numeral Converter
  • Rounding Calculator
  • Scientific Notation Converter