Skip to content

Logarithms Explained: What They Are and How to Use Them

By Sprout Calculator Editorial Team Bylines · Published November 5, 2026 · Updated November 6, 2026

A logarithm answers the question: what exponent turns the base into this number? If b to the power y equals x, then log base b of x equals y. Logarithms turn multiplication into addition and powers into multiplication, which makes very large or very small numbers manageable.

What is a logarithm?

A logarithm is the inverse of an exponent. It answers the question: "to what power must I raise the base to get this number?"

log⁡bx=y  ⟺  by=x\log_b x = y \iff b^y = x

Since 10³ = 1,000, we say log₁₀ 1,000 = 3. Since 2⁵ = 32, log₂ 32 = 5. The base is the small number written under "log," and the result is an exponent.

Logarithms were invented to simplify heavy arithmetic. Before calculators, people used log tables to turn long multiplications into additions. Today logs are still essential because many natural quantities, such as sound, earthquakes and acidity, span huge ranges and are easier to handle on a log scale.

You can look up any value with the logarithm calculator. To refresh the exponent side of the relationship, see our guide to exponent rules.

How do you convert between log form and exponent form?

Every log statement is an exponent statement in disguise. Move the base, the result and the argument around like this:

  • log₃ 81 = 4 means 3⁴ = 81.
  • log₁₀ 0.01 = −2 means 10⁻² = 0.01.
  • log₅ 5 = 1 means 5¹ = 5.

When you see an equation with an unknown inside a log, switch to exponent form to solve it. To solve log₂ x = 6, rewrite it as 2⁶ = x, so x = 64. To solve log₄ 16 = y, rewrite it as 4ʸ = 16, so y = 2.

What are the common logarithms?

Three bases appear most often:

  • Common log (base 10), written log or log₁₀. It is the key marked "log" on most calculators.
  • Natural log (base e), written ln. The constant e is about 2.71828 and shows up in continuous growth and calculus.
  • Binary log (base 2), written log₂. It is used in computer science and information theory.

Quick values to remember: log 1 = 0 for every base, log_b b = 1, and log 10 = 1, log 100 = 2, log 1,000 = 3. A number between 100 and 1,000 has a base-10 log between 2 and 3. That means log 500 is about 2.7.

What are the log rules?

Three rules cover most of what you need. They mirror the exponent rules, because logs are exponents.

Product rule: the log of a product is the sum of the logs.

log⁡b(xy)=log⁡bx+log⁡by\log_b (xy) = \log_b x + \log_b y

log 6 = log 2 + log 3, since 2 × 3 = 6.

Quotient rule: the log of a quotient is the difference of the logs.

log⁡bxy=log⁡bx−log⁡by\log_b \frac{x}{y} = \log_b x - \log_b y

log (50/5) = log 50 − log 5 = 1.699 − 0.699 = 1.

Power rule: an exponent inside a log comes out front as a multiplier.

log⁡b(xk)=klog⁡bx\log_b (x^k) = k \log_b x

log 8 = log 2³ = 3 log 2.

Two special cases are worth memorizing: log_b 1 = 0 because b⁰ = 1, and log_b b = 1 because b¹ = b.

What is the inverse relationship?

Logs and exponents undo each other:

blog⁡bx=xlog⁡b(bx)=xb^{\log_b x} = x \qquad \log_b (b^x) = x

So 10^(log 7) = 7 and ln(e⁵) = 5. This is how you solve exponential equations. To solve 2ˣ = 11, take the log of both sides: x log 2 = log 11, so x = log 11 / log 2 ≈ 3.46. You can check: 2^3.46 ≈ 11.

What is the change of base formula?

The change of base formula lets you evaluate a log in any base using the log keys on a standard calculator.

log⁡bx=log⁡xlog⁡b=ln⁡xln⁡b\log_b x = \frac{\log x}{\log b} = \frac{\ln x}{\ln b}

To find log₇ 50, compute ln 50 / ln 7 = 3.912 / 1.946 ≈ 2.01. Check it: 7² = 49, which is close to 50, so the answer is slightly over 2.

How do you solve equations that use logs?

Use the rules to combine or separate logs, then convert to exponent form.

Example 1: Solve log x + log (x − 3) = 1. Combine: log [x(x − 3)] = 1. Convert: x(x − 3) = 10, so x² − 3x − 10 = 0. This factors as (x − 5)(x + 2) = 0, giving x = 5 or x = −2. The input of a log must be positive, so x = −2 is invalid. The answer is x = 5.

Example 2: Solve 3ˣ = 200. Take the natural log of both sides: x ln 3 = ln 200, so x = 5.298 / 1.099 ≈ 4.82.

Always check your answers in the original equation, since the domain restriction can remove solutions that look fine in the algebra.

Where are logarithms used?

Logs describe quantities that grow by multiplication, which is why they show up so often:

  • Sound level in decibels: each 10 dB step is a tenfold increase in intensity.
  • Earthquakes: each whole number on the Richter scale is about 10 times the amplitude of the one below.
  • Chemistry: pH is the negative log₁₀ of hydrogen ion concentration. A pH of 3 is 10 times more acidic than a pH of 4.
  • Finance: the time to double money at 7% per year satisfies 1.07ᵗ = 2, so t = ln 2 / ln 1.07 ≈ 10.2 years.
  • Computing: a binary search through 1,000,000 items needs about log₂ 1,000,000 ≈ 20 steps.

A log scale is also a good way to read data that spans many orders of magnitude, in the same spirit as scientific notation. In a log chart, equal distances represent equal ratios instead of equal differences.

How are logs used in calculus?

The derivative of ln x is 1/x, which is the only power whose antiderivative is not given by the usual power rule. Logs also simplify differentiation of messy products and powers through logarithmic differentiation. To see how rates of change are built, start with what is a derivative.

What mistakes should you avoid?

  • Splitting a log over a sum. log (x + y) is not log x + log y.
  • Treating log x / log y as log (x / y). The first is a change of base, and the second is a difference of logs.
  • Taking the log of a non-positive number. Check the domain.
  • Mixing up the base. log without a base can mean base 10 or base e, depending on the book.
  • Forgetting to check answers for extraneous solutions.
  • Dropping parentheses. log (x²) = 2 log x, but (log x)² is a different quantity.

How can you practice?

Rewrite five exponent facts as log facts, such as 3⁴ = 81 as log₃ 81 = 4. Then apply the three rules to expand log (x²y³) as 2 log x + 3 log y. Finish by solving an exponential equation and confirming it with the logarithm calculator or the exponent calculator. Once you see a log as "the exponent," most of the topic falls into place.

How do you read a log scale or semi-log graph?

On an ordinary graph, equal distances show equal differences. On a log scale, equal distances show equal ratios. The marks on a log axis are usually 1, 10, 100, 1,000 and so on, spaced evenly, so the step from 10 to 100 looks the same as the step from 100 to 1,000.

Log scales are useful when data covers a huge range or grows by a constant percentage. Exponential growth, such as y = 3 · 2ˣ, appears as a straight line on a graph with a logarithmic y-axis, because log y = log 3 + x log 2 is a linear equation in x. The slope of that line reveals the growth rate. Comparing a straight line on a log plot with a curved one on a regular plot is a quick way to spot exponential behavior in data about prices, populations or infections.

FAQ

Frequently asked questions

01What is the difference between log and ln?

The symbol log usually means base 10 on a calculator, and ln means the natural logarithm, which uses the base e, about 2.718. In many math and computer science texts, log without a base can mean natural log or base 2, so check the context.

02Why can't you take the log of zero or a negative number?

A positive base raised to any real power always gives a positive result, never zero or a negative. So there is no exponent that produces 0 or a negative number. The log is defined only for positive inputs, and the base must be positive and not equal to 1.

03How do I find a log with a base my calculator lacks?

Use the change of base formula: log base b of x equals log x divided by log b, using either base 10 or natural logs. For log base 2 of 20, compute ln 20 divided by ln 2, which is about 4.32.

04What is the easiest way to understand logarithms?

Read log_b x as: how many b's do I multiply to get x? log₂ 64 = 6 because six 2s multiply to 64. log₅ 625 = 4 because 5 × 5 × 5 × 5 = 625. A logarithm is just an exponent you are solving for.

05Why are logarithms useful?

They turn multiplication into addition, which makes huge ranges easy to handle. Earthquake magnitudes, decibels and pH are all log scales, so one step up means a fixed multiple, not a fixed amount. Logs also solve equations where the unknown is in the exponent, such as compound interest problems.