Logarithm Calculator — log₁₀, ln & Custom Base

Evaluate log_b(a)—the exponent that raises base b to a. Common log, natural log, log₂, and change-of-base for pH, decibels, and solving a^x = b.

Runs in your browser · No data stored · No signup

log_b(a) answers: to what power must base b be raised to get a? log₁₀(1000) = 3 because 10³ = 1000. Logarithms compress wide ranges—pH, decibels, and Richter scales all use them.

By Muhammad Abdullah Rauf · Founder, EverydayTools.proUpdated 2026-07-03· Reviewed by EverydayTools Editorial Team

What is a logarithm?

Logarithm is the inverse of exponentiation. If b^x = a, then x = log_b(a). The base b must be positive and not 1; a must be positive for real logarithms.

**Common bases:** log₁₀ (common log) for scientific notation; log_e ≈ ln (natural log) for calculus and continuous growth; log₂ for information and computing bit counts.

**Product rule:** log(xy) = log(x) + log(y). **Power rule:** log(x^n) = n log(x). These turn multiplication into addition—why slide rules worked.

**Change of base:** log_b(a) = ln(a)/ln(b). Any base converts through natural or common log.

**Applications:** pH = −log₁₀[H⁺]; sound intensity dB = 10 log₁₀(I/I₀); solving 2^x = 50 gives x = log(50)/log(2). Exponent calculator raises bases; logarithm calculator finds the exponent.

Enter value and base (or use ln/log10 presets) to evaluate logarithms and apply change-of-base locally.

Quick answers

Concise answers for common searches — definitions, steps, and comparisons.

What is log base 10 of 100?

log₁₀(100) = 2 because 10² = 100.

What is the natural log of 1?

ln(1) = 0 because e^0 = 1.

How do you change log base?

log_b(a) = ln(a) / ln(b). Example: log₂(8) = ln(8)/ln(2) = 3.

Why are logarithms used in pH?

H⁺ concentrations span huge ranges. pH = −log₁₀[H⁺] compresses them to manageable numbers.

Logarithm evaluation

Computes log_b(a) as ln(a)/ln(b) with validation for positive a and valid base b (b > 0, b ≠ 1).

Formula

log_b(a) = ln(a)/ln(b). log(xy) = log x + log y. log(x^n) = n log x. log_b(a) = 1/log_a(b).

Assumptions

  • Real logarithms—argument a > 0.
  • Base b > 0 and b ≠ 1.

Limitations

  • log(0) and log(negative) are undefined in reals.
  • Floating precision affects last decimal places of transcendentals.

How to use Logarithm Calculator — log₁₀, ln & Custom Base

  1. Choose base or preset

    Use ln, log10, or log2 shortcuts—or enter custom base like 3.

  2. Enter positive argument

    Value a must be > 0 for a real result.

  3. Read log_b(a)

    Result is the exponent that raises b to a.

  4. Invert with exponent calculator

    Verify b^(result) ≈ a to confirm.

Logarithm Calculator — log₁₀, ln & Custom Base examples

Common log anchor

Input

log₁₀(1000)

Output

3

10³ = 1000.

Natural log of e

Input

ln(e)

Output

1

e¹ = e by definition.

log₂ for computing

Input

log₂(1024)

Output

10

2^10 = 1024—ten address bits.

Change of base

Input

log₃(81)

Output

4

3^4 = 81; or ln(81)/ln(3) = 4.

Fractional argument

Input

ln(0.5)

Output

≈ −0.693

ln(1/2) = −ln(2)—half-life decay sign.

Solve 10^x = 500

Input

x = log₁₀(500)

Output

≈ 2.699

Exponent x that produces 500 from base 10.

When to use a logarithm calculator

Common real-world scenarios where this tool saves time.

Solve for exponent in equations

2^x = 100 → x = log(100)/log(2) ≈ 6.644—how many doublings reach 100.

pH chemistry check

Hydrogen ion concentration 1×10^(−4) M → pH = −log₁₀(10^(−4)) = 4.

Decibel level math

Intensity 100× reference: 10 log₁₀(100) = 20 dB increase.

Log-scale graph reading

Convert axis values between linear and log10 for science fair data plots.

Workflow guides

Step-by-step chains that connect related tools for common tasks.

Related mathematical concepts

  1. Exponents and logarithms are inverses—compose to recover input (within float error).
  2. Natural log ln appears in continuous compound interest A = Pe^(rt).
  3. Logarithmic scales compress multiplicative change—each +1 on log10 axis is ×10.
  4. Factorial growth exceeds exponential; log(n!) ≈ n ln n − n for large n (Stirling).

Reference tables

Common logarithm values (log₁₀)

xlog₁₀(x)Note
1010^0
101One decade
1002Two decades
10003Three decades
0.01−2Reciprocal power

ln vs log10 vs log2

ExpressionBaseValue (approx)
ln(e)e1
ln(10)e2.303
log₁₀(2)100.301
log₂(10)2≈ 3.322

Best practices

Use change-of-base for unfamiliar bases

log_b(a) = ln(a)/ln(b) works on any calculator with ln.

Estimate with powers of ten

log₁₀(45) is between 1 and 2 because 10 < 45 < 100.

Pair with exponent calculator

Always verify b^x ≈ a after solving for x.

Watch sign for concentrations below 1

ln(0.01) is negative—concentrations less than 1 M in chemistry.

Common mistakes to avoid

Taking log of zero or negatives

Real log domain is (0, ∞). log(0) is undefined.

log(a + b) = log a + log b

Log converts products to sums, not sums to sums. log(10+10) ≠ log(10)+log(10).

Confusing ln and log10

ln is base e; log without subscript in calculus often means ln, in engineering often log10—check context.

Base 1 or negative base

b = 1 gives constant 1^x; negative bases break real logs for non-integer exponents.

Advertisement

Frequently Asked Questions

What is ln(0)?

Undefined—no real x satisfies e^x = 0.

How do logarithms solve 5^x = 200?

x = log(200)/log(5) using any valid base in change-of-base formula.

Is log_b(a) the same as b^a?

No—inverse operations. log_b(b^a) = a and b^(log_b(a)) = a.

What base does 'log' mean on calculators?

Often log10 for the LOG key and ln for natural log. This tool labels bases explicitly.

Can logarithms be negative?

Yes—log_b(a) < 0 when 0 < a < 1. Example: ln(0.5) ≈ −0.693.

How do logs relate to standard deviation?

Log-normal data models multiplicative noise; raw SD on log-transformed data differs from SD on original scale.

What is log_b(1) for any base?

Zero—b^0 = 1 for any valid base b.

Privacy, accuracy, and trust

Privacy

Log inputs process locally without server upload.

Advertisement

Reviewed by EverydayTools Editorial Team on 2026-07-03.

Same workflow or intent — pick the next step without leaving the site.

Frequently opened tools from the same category.

People also use

Cross-category tools others open in the same session.

Continue learning

Guides and walkthroughs that reference this tool.

Explore categories

Browse full tool collections by topic.