Logarithm Calculator — Any Base, ln & log₁₀

The Logarithm Calculator computes log_b(x) for any base, ln(x) (natural logarithm, base e), and log₁₀(x) (common logarithm, base 10). Select your mode, enter the value and (for custom base) the base — the result is shown instantly using the change-of-base formula ln(x)/ln(b). The step-by-step soluti...

LOGARITHM CALCULATOR

log_2(8) = 3

log_2(8) =

3

CHANGE OF BASE (ln)

ln(8) / ln(2) = 2.079442 / 0.693147

INVERSE CHECK

2^3 = 88

STEP-BY-STEP

1

Question: log_2(8) = ?

2

This asks: 2 raised to what power equals 8?

3

Using change-of-base formula: log_b(x) = ln(x) / ln(b)

4

= 2.079442 / 0.693147

5

= 3

6

Verify: 2^3 = 8 ≈ 8 ✓

QUICK EXAMPLES

LOG CURVE

y = log_2(x)

1xy(8, 3)

INPUT (x)

8

RESULT

3

INVERSE

2^3

Red dot = your input · Curve passes through (1, 0) always

COMMON VALUES — BASE 2

log(0.001)-9.9658
log(0.01)-6.6439
log(0.1)-3.3219
log(1)0
log(2)1
log(e)1.4427
log(5)2.3219
log(10)3.3219
Created with❤️byeaglecalculator.com

LAWS OF LOGARITHMS

APPLIED WITH x = 8, BASE = 2
LAWEXAMPLERESULT
log_b(xy) = log_b(x) + log_b(y)log_2(8 × 2)3 + 1 = 4
log_b(x/y) = log_b(x) − log_b(y)log_2(8 / 2)3 − 1 = 2
log_b(xⁿ) = n × log_b(x)log_2(8²)2 × 3 = 6
log_b(1) = 0log_2(1)0
log_b(b) = 1log_2(2)1
log_b(1/x) = −log_b(x)log_2(1/8)−3 = -3

HOW TO USE

  1. 1

    Select your mode: logᵦ(x) for any custom base, ln(x) for the natural logarithm (base e), or log₁₀(x) for the common logarithm (base 10).

  2. 2

    For custom base mode: enter the base b (must be greater than 0 and not equal to 1). Enter the value x — it must be strictly greater than 0.

  3. 3

    The result appears instantly as log_b(x). The change-of-base representation shows how the result is computed as ln(x)/ln(b).

  4. 4

    Check the inverse verification — the calculator confirms that b^result ≈ x, proving the answer is correct.

  5. 5

    Review the Laws of Logarithms table — each law is illustrated with your specific x and base, making the rules concrete and memorable.

WORKED EXAMPLE

Example 1: log₂(8). base=2, x=8. Result = ln(8)/ln(2) = 2.07944/0.69315 = 3. Verify: 2³ = 8 ✓. Example 2: log₁₀(1000) = ln(1000)/ln(10) = 6.90776/2.30259 = 3. Verify: 10³ = 1000 ✓. Example 3: ln(e) = 1. Verify: e¹ = e ✓. Example 4: log₂(1/8) = log₂(0.125) = ln(0.125)/ln(2) = −2.07944/0.69315 = −3. Verify: 2⁻³ = 1/8 ✓.

REFERENCE FORMULAS

LOGARITHM LAWS REFERENCE
NAMEFORMULADESCRIPTION
Definitionlog_b(x) = y ↔ bʸ = xLogarithm is the inverse of exponentiation
Change of baselog_b(x) = ln(x) / ln(b)Convert any base using natural log
Product rulelog_b(xy) = log_b(x) + log_b(y)Log of product = sum of logs
Quotient rulelog_b(x/y) = log_b(x) − log_b(y)Log of quotient = difference of logs
Power rulelog_b(xⁿ) = n × log_b(x)Log of power = exponent × log
Identitylog_b(b) = 1, log_b(1) = 0Log of the base = 1, log of 1 = 0
ln vs log₁₀ln(x) = log₁₀(x) × ln(10) ≈ 2.3026 × log₁₀(x)Convert between natural and common log

FREQUENTLY ASKED QUESTIONS

RELATED CALCULATORS

MORE ALGEBRA CALCULATORS

Was this calculator helpful?

Last updated: April 28, 2026 · Formula verified by EagleCalculator team · Eagle-eyed accuracy for every calculation.