Ad Space — Top Banner

Logarithm Calculator

Calculate logarithms with any base.
Also shows natural log (ln), log base 10, and log base 2 for any number.

Logarithm Result

A logarithm answers the question: “To what power must the base be raised to get a given number?”

logₐ(x) = y means aʸ = x

Common logarithm types:

  • log₁₀(x) — common log (base 10)
  • ln(x) — natural log (base e ≈ 2.71828)
  • log₂(x) — binary log (base 2), used in computer science

Change of base formula:

logₐ(x) = ln(x) / ln(a) = log₁₀(x) / log₁₀(a)

Key properties:

  • log(a × b) = log(a) + log(b)
  • log(a / b) = log(a) - log(b)
  • log(aⁿ) = n × log(a)
  • log(1) = 0 for any base
  • logₐ(a) = 1 for any base

Examples:

  • log₁₀(100) = 2 because 10² = 100
  • log₂(256) = 8 because 2⁸ = 256
  • ln(e) = 1 because e¹ = e

Ad Space — Bottom Banner

Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.