Logarithm

Definitionnoun

What is a logarithm in math?

A logarithm is the exponent you need to raise a base to in order to get a given number. logb x = y means by = x, so log2 32 = 5 because 25 = 32. A log with no base written uses base 10: log 1000 = 3. Logs undo exponents.

In Spanish
logaritmo
Also called
log, log base b, common logarithm, inverse of an exponential
How to say it
LOG-uh-rith-um
Grade level
Algebra 2
Algebra 2PrecalculusCCSS HSF-LE.A.4SATACTACCUPLACERASVAB

Logarithm in a picture

Exponential form and logarithmic formTwo boxes show 2 to the 5th equals 32 and log base 2 of 32 equals 5, linked by a double arrow, with labels for base 2, exponent 5 and result 32. Below, a line marks 0.1, 1, 10, 100 and 1,000 with common logs negative 1, 0, 1, 2 and 3.exponential formlogarithmic form25 = 32log2 32 = 5⇔base 2exponent 5result 32A logarithm answers: 2 to what power gives 32?Common logs (base 10) count powers of 100.1log = −11log = 010log = 1100log = 21,000log = 3Each step multiplies by 10 and adds 1 to the log.
The base stays the base, the exponent becomes the answer of the log, and the result moves inside the log.

Formal definition and notation

For a base b > 0 with b ≠ 1 and a number x > 0, the logarithm logb x is the unique real number y such that by = x. The function f(x) = logb x is the inverse of the exponential function g(x) = bx: logb bx = x and blogb x = x. The common logarithm log x has base 10, and the natural logarithm ln x has base e ≈ 2.718.

Symbol Read it as Meaning
logb x log base b of x the exponent that turns b into x
log x log of x the common logarithm, base 10 (on calculators, the LOG key)
ln x natural log of x, or "lon x" the natural logarithm, base e (the LN key)

Key facts

  • A logarithm is an exponent. To evaluate log3 81, ask “3 to what power is 81?” The answer is 4.
  • You cannot take the log of 0 or a negative number: no power of a positive base is 0 or negative.
  • Logs of numbers between 0 and 1 are negative: log 0.01 = −2 because 10−2 = 0.01.
  • Logs turn multiplication into addition. Each time x is multiplied by 10, log x goes up by 1, which is why the pH, decibel and Richter scales use logs.
  • To solve an exponential equation such as 2t = 50, take a log: t = log2 50 = log 50log 2 ≈ 5.64.

Logarithm definition and rules

Logarithm definition and rules
logb x = y ⇔ by = x
product rule
logb (MN) = logb M + logb N
quotient rule
logb ( MN ) = logb M − logb N
power rule
logb (Mk) = k logb M
change of base
logb x = log xlog b, which lets a base-10 calculator find any log

Conditions: b > 0, b ≠ 1, and the input must be positive. Two values never change: logb 1 = 0 and logb b = 1.

Try it: find the missing exponent

Interactive

A log asks for the exponent. Keep the base at 2 and change the exponent until the result is 64: that exponent is log2 64. Try negative exponents to see logs of fractions.

This interactive needs JavaScript. The worked examples below show the same ideas step by step.

Logarithm examples, step by step

Example 1: Evaluate a log

Warm-up

Evaluate log3 81.

  1. Ask: 3 to what power equals 81?
  2. Count powers of 3: 31 = 3, 32 = 9, 33 = 27, 34 = 81.
  3. The exponent is 4.

Answer: log3 81 = 4.

Example 2: A log that comes out negative

Core

Evaluate log2 18.

  1. Ask: 2 to what power equals 18?
  2. 8 = 23, so 18 = 123.
  3. A negative exponent means a reciprocal: 123 = 2−3.
  4. So the exponent is −3.

Answer: log2 18 = −3.

Example 3: Solve an exponential model with a log

Test-style

A bacteria count follows N = 3 · 102t, with t in hours. After how many hours is N = 3000?

  1. Set up: 3 · 102t = 3000.
  2. Divide by 3: 102t = 1000.
  3. Rewrite as a log: 2t = log 1000 = 3.
  4. Divide by 2: t = 1.5.

Answer: N = 3000 after 1.5 hours.

Common mistakes

✗ Mistakelog2 8 = 82 = 4.
✓ Insteadlog2 8 = 3, because 23 = 8.

A logarithm is an exponent, not a quotient. Ask what power of the base gives the number.

✗ Mistakelog (20 + 80) = log 20 + log 80.
✓ Insteadlog (20 + 80) = log 100 = 2. The product rule is log (20 · 5) = log 20 + log 5.

Logs turn products into sums. There is no rule that splits the log of a sum.

✗ MistakeReading log4 16 as 164 or 416.
✓ Insteadlog4 16 = 2, because 42 = 16.

The small number is the base. The answer of the log is the exponent that goes on that base.

✗ MistakeWriting log (−100) = −2.
✓ Insteadlog (−100) is undefined for real numbers. log 0.01 = −2 is what gives a negative answer.

A positive base raised to any power is positive, so only positive inputs have real logs.

Not to be confused with

Logarithmvs.Exponent

An exponent tells how many times to use the base as a factor: 25 = 32. A logarithm runs the other way: it finds the exponent, log2 32 = 5.

Logarithmvs.Natural logarithm

The natural log ln x is a logarithm with base e ≈ 2.718; the common log log x has base 10. ln e = 1 and log 10 = 1.

Logarithmvs.Square root

A square root finds the base: √32 asks what number squared is 32. A log finds the exponent.

Quick check: 3 questions

Question 1 of 3

What is log4 64?

Show answer and explanation

Answer: D. 43 = 64, so the log is 3. 16 divides 64 by 4, 60 subtracts, and 4 is the base.

Question 2 of 3

Which equation means the same as log7 49 = 2?

Show answer and explanation

Answer: C. Base 7, exponent 2 (the log’s value), result 49: 72 = 49. The other choices put the base or the answer in the wrong place.

Question 3 of 3

What is log 0.01?

Show answer and explanation

Answer: B. No base means base 10, and 10−2 = 1100 = 0.01, so the log is −2. 2 forgets the negative exponent; the decimals treat the log as multiplication.

Logarithm: frequently asked questions

What is a logarithm in simple terms?

A logarithm is a question about exponents: what power of the base gives this number? log10 1000 asks “10 to what power is 1000?” and the answer is 3. Logarithms are how you solve for an exponent, the same way division solves for a missing factor.

What does log mean with no base?

In school math and on calculators, log x with no base means the common logarithm, base 10, so log 100 = 2. The natural logarithm uses base e and is written ln x. In some college and computer-science books, an unmarked log can mean base e or base 2, so check the book’s convention.

Why can you not take the log of a negative number?

Because a positive base raised to any real power is always positive. No exponent makes 10y = −5 or 10y = 0, so log (−5) and log 0 are undefined in the real numbers. The input of a log, called its argument, must be greater than 0.

Practice and tools

Sources

  1. OpenStax, College Algebra 2e, 6.3 Logarithmic Functions
  2. Common Core State Standards, High School Functions: Linear, Quadratic, and Exponential Models (F-LE.A.4)

Updated November 2026·Reviewed by the Effortless Math team·Standards: CCSS HSF-LE.A.4

Cite this entry

Effortless Math Team. “Logarithm.” Effortless Math Dictionary. Updated November 2026. https://www.effortlessmath.com/math-dictionary/logarithm/

Flashcard

TermLogarithmthe exponent you are looking for
DefinitionThe power a base must be raised to for a given number. log2 32 = 5 because 25 = 32; log 1000 = 3.
Study the full deck

Browse all terms in the Math Dictionary · More functions terms · Random term