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.
| Rule | Formula |
|---|---|
| Product | log(xy) = log x + log y |
| Quotient | log(x/y) = log x − log y |
| Power | log(xⁿ) = n log x |
| Change of base | log_b x = ln x / ln b |
The power you raise the base to: log₂(8) = 3 because 2³ = 8.
Divide the natural log of the number by the natural log of the base: log_b(x) = ln(x) / ln(b).
log usually means base 10; ln is the natural log, base e ≈ 2.71828.
No real power of a positive base gives a negative result.
No. It runs in your browser.
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.