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...
log_2(8) = 3
log_2(8) =
3
CHANGE OF BASE (ln)
ln(8) / ln(2) = 2.079442 / 0.693147
INVERSE CHECK
2^3 = 8 ≈ 8 ✓
STEP-BY-STEP
Question: log_2(8) = ?
This asks: 2 raised to what power equals 8?
Using change-of-base formula: log_b(x) = ln(x) / ln(b)
= 2.079442 / 0.693147
= 3
Verify: 2^3 = 8 ≈ 8 ✓
QUICK EXAMPLES
y = log_2(x)
INPUT (x)
8
RESULT
3
INVERSE
2^3
Red dot = your input · Curve passes through (1, 0) always
COMMON VALUES — BASE 2
| LAW | EXAMPLE | RESULT |
|---|---|---|
| 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) = 0 | log_2(1) | 0 |
| log_b(b) = 1 | log_2(2) | 1 |
| log_b(1/x) = −log_b(x) | log_2(1/8) | −3 = -3 |
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).
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.
The result appears instantly as log_b(x). The change-of-base representation shows how the result is computed as ln(x)/ln(b).
Check the inverse verification — the calculator confirms that b^result ≈ x, proving the answer is correct.
Review the Laws of Logarithms table — each law is illustrated with your specific x and base, making the rules concrete and memorable.
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 ✓.
| NAME | FORMULA | DESCRIPTION |
|---|---|---|
| Definition | log_b(x) = y ↔ bʸ = x | Logarithm is the inverse of exponentiation |
| Change of base | log_b(x) = ln(x) / ln(b) | Convert any base using natural log |
| Product rule | log_b(xy) = log_b(x) + log_b(y) | Log of product = sum of logs |
| Quotient rule | log_b(x/y) = log_b(x) − log_b(y) | Log of quotient = difference of logs |
| Power rule | log_b(xⁿ) = n × log_b(x) | Log of power = exponent × log |
| Identity | log_b(b) = 1, log_b(1) = 0 | Log 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 |
23 Times Table
Calculate instantly →
24 Times Table
Calculate instantly →
Quadratic Equation Solver
Calculate instantly →
Fraction Calculator
Calculate instantly →
Fraction Simplifier
Calculate instantly →
Linear Equation Solver
Calculate instantly →
25 Times Table
Calculate instantly →
26 Times Table
Calculate instantly →
27 Times Table
Calculate instantly →
Simultaneous Equations Solver (2×2)
Calculate instantly →
28 Times Table
Calculate instantly →
Exponent Calculator
Calculate instantly →
29 Times Table
Calculate instantly →
30 Times Table
Calculate instantly →
Times Tables Mega Calculator
Calculate instantly →
Square Root of 10
Calculate instantly →
Square Root of 1
Calculate instantly →
Square Root Mega
Calculate instantly →
Square Root of 22
Calculate instantly →
Last updated: April 28, 2026 · Formula verified by EagleCalculator team · Eagle-eyed accuracy for every calculation.