Logarithm Calculator & Log Solver

Calculate logb(x), natural logs (ln), and binary logs (log₂) instantly with complete step-by-step mathematical derivations on LogarithmX.

Quick Base:
Calculated Result
log10(100) =
2
Exponential Form: 102 = 100

Step-by-Step Solution Breakdown

Step 1: Express argument as base power
100 = 102
10 raised to power 2 equals 100.
Step 2: Apply Identity log_b(b^k) = k
log10(102) = 2
The logarithm simplifies directly to integer 2.
Quick Value Shortcuts

Interactive Curve & Asymptote Visualizer

Function: f(x) = log₁₀(x)
y = logb(x) Asymptote (x = 0) Input Point (x, y)
Logarithmic Function Curve Graph

Understanding Logarithms & Their Properties

A logarithm is the inverse operation of exponentiation. It calculates the exponent to which a base must be raised to produce a given value: if b^y = x, then log_b(x) = y. Logarithms scale down exponential growth into linear data, making them essential across algebra, computer science, chemistry, and acoustics.

Essential Logarithmic Rules & Identities

Product Rule

log_b(m · n) = log_b(m) + log_b(n)

The logarithm of a product equals the sum of the logarithms of the individual factors.

Quotient Rule

log_b(m / n) = log_b(m) - log_b(n)

The logarithm of a quotient equals the logarithm of the numerator minus the logarithm of the denominator.

Power Rule

log_b(m^k) = k · log_b(m)

Any exponent on the argument can be brought to the front as a linear multiplier.

Change of Base Rule

log_b(x) = ln(x) / ln(b) = log₁₀(x) / log₁₀(b)

Allows evaluating arbitrary base logarithms using standard natural or common logarithm functions.

Common Logarithm (Base 10) Reference Table

Expression Exact Value Exponential Form
log₁₀(1) 0 10⁰ = 1
log₁₀(10) 1 10¹ = 10
log₁₀(100) 2 10² = 100
log₁₀(1,000) 3 10³ = 1,000
log₁₀(0.1) -1 10⁻¹ = 0.1
log₁₀(0.01) -2 10⁻² = 0.01

Binary Logarithm (Base 2) Power Table

Expression Bit / Power Value Exponential Form
log₂(2) 1 2¹ = 2
log₂(4) 2 2² = 4
log₂(8) 3 2³ = 8
log₂(16) 4 2⁴ = 16
log₂(32) 5 2⁵ = 32
log₂(64) 6 2⁶ = 64
log₂(256) 8 2⁸ = 256
log₂(1024) 10 2¹⁰ = 1024

Real-World Logarithmic Applications

  • Acoustics (Decibels): Sound intensity level L = 10 · log₁₀(I / I₀).
  • Chemistry (pH Scale): Measures hydrogen ion concentration via pH = -log₁₀[H⁺].
  • Computer Science (Algorithms): Binary search operations execute in O(log₂ n) time.
  • Seismology (Richter Scale): Earthquake wave magnitude M = log₁₀(A / A₀).

Key Features & Capabilities

  • Arbitrary base calculations (log_b) for any positive base b ≠ 1
  • Detailed step-by-step breakdown using power identities and change-of-base rules
  • Instant presets for Common Log (log₁₀), Natural Log (ln), and Binary Log (log₂)
  • Real-time dynamic visualizer rendering curves, domain asymptotes, and input points
  • Comprehensive support for roots (e.g. √8), powers (e.g. 2^3), fractions (e.g. 1/2), and constants (e, π)
  • 100% private, client-side execution with zero data storage

Frequently Asked Questions

How do I calculate logarithms on a calculator without a base-change button?

Use the Change of Base formula: log_b(x) = log₁₀(x) / log₁₀(b) or ln(x) / ln(b). For example, to evaluate log₂(8) on a standard TI or Casio calculator, enter 'LOG(8) ÷ LOG(2)' or 'LN(8) ÷ LN(2)', which outputs 3.

What is the value of log₂(√8)?

log₂(√8) = 1.5 (or 3/2). Because √8 = 8^(1/2) = (2³)^(1/2) = 2^(3/2), applying the power property yields log₂(2^(3/2)) = 3/2 = 1.5.

If log₁₀(x) = 2, what is the value of x?

x = 100. Converting the logarithmic equation log₁₀(x) = 2 to exponential form gives x = 10² = 100.

Why can't the argument x of a logarithm be zero or negative?

For any positive base b, raising b to any real power y always yields a strictly positive number (b^y > 0). No real exponent can produce zero or a negative result. In complex numbers, ln(-x) = ln(x) + iπ.

Why is log base 1 (log₁(x)) mathematically undefined?

Because 1 raised to any power is always 1 (1^y = 1). An equation like log₁(5) asks '1 to what power equals 5?', which has no unique solution. Therefore, base b = 1 is excluded from logarithms.

What is the difference between log, ln, and log₂?

'log' (without base specified) refers to the Common Logarithm (base 10). 'ln' refers to the Natural Logarithm (base e ≈ 2.71828). 'log₂' refers to the Binary Logarithm (base 2), which is fundamental in computer science and data structures.

How does the Change of Base formula work?

The Change of Base formula states that log_b(x) = ln(x) / ln(b) = log₁₀(x) / log₁₀(b). It allows any base logarithm to be evaluated using base-10 or base-e calculations.