Logarithm Calculator with Steps

Enter a logarithm to evaluate or an equation to solve. Each step names the log law used, and solutions are checked against the domain so extraneous answers are rejected.

Try

Worked example

Solve 2^x = 50

  1. Take the natural log of both sides. ln(2^x) = ln(50)
  2. Bring the exponent down. x · ln(2) = ln(50)
  3. Divide. x = ln(50) ÷ ln(2) = 3.9120 ÷ 0.6931

Answer: x ≈ 5.644

Check: 2^5 = 32 and 2^6 = 64, so an answer between 5 and 6 is the right size.

This example is written out in full. Enter your own problem above and the solver sets out the working the same way.

Where it's used

Logarithms undo exponentials, so they answer “how long until” questions: the time for an investment to double, radioactive half-life, and population growth. They also define the pH, decibel and Richter scales. At 6% a year, money doubles in ln(2) ÷ ln(1.06) ≈ 11.9 years.

How to do it by hand

  1. Use the definition

    log_b(a) = c means b^c = a. Many problems are solved just by switching between the two forms.

  2. Combine with the log laws

    Product, quotient and power rules turn sums into products and bring exponents down.

  3. Remove the log

    Once each side is a single log of the same base, equate the arguments, or rewrite in exponential form.

  4. Check the domain

    The argument of a logarithm must be positive. Reject any solution that breaks this.

Common mistakes

Questions about logarithms

What is the change of base formula?

log_b(a) = ln(a) / ln(b). It lets you evaluate a log in any base with a calculator.

Is log base 10 or base e?

Here log means base 10 and ln means base e, unless you state another base.

What is the difference between ln and log?

ln is the logarithm to base e, about 2.718, and is standard in calculus. log usually means base 10 in science and engineering. They differ by a constant factor: ln(x) = 2.3026 × log(x).

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

No real power of a positive base gives a negative result. That is why solutions must be checked against the domain.

How do I solve an equation with logs on both sides?

Combine each side into a single log of the same base, then set the arguments equal. Always check that every argument is positive for your answer.

Instant calculators for logarithms

No AI and no limits: answers as you type.

Related step-by-step solvers