Skip to content
Mathematics & StatisticsLocal · Stays on device

Logarithm Calculator

Calculate logarithms in any base, ln, log₁₀ and log₂, with change-of-base steps — or the antilog bʸ.

  • Numbers and expressions such as 2^10
  • Free to use
  • No sign-up or watermark
logarithm-calculatorOn this device
Numbers and expressions such as 2^10
Open Logarithm Calculator

About this tool

Enter a positive number x and a base b (any positive number except 1, or e) to get log_b(x), together with ln x, log₁₀ x and log₂ x. The change-of-base working log_b(x) = ln x / ln b is shown with a check that b raised to the answer gives x back.

Antilog mode does the reverse and computes bʸ. Inputs may be expressions such as 2^10 or e^3. Logarithms of zero or negative numbers, and bases of 1 or less than or equal to 0, are rejected with the reason. Results use double precision; exact integer answers such as log₂ 1024 = 10 are snapped so floating-point noise doesn’t show. Everything is calculated in your browser; nothing you enter is uploaded.

  1. Input

    Your details

    Numbers and expressions such as 2^10

  2. Processing

    Processed in this browser

    Instant, in-browser. Nothing is uploaded.

  3. Output

    Your result

    Shown instantly, ready to copy or export

Local processing pipelineDouble-precision arithmetic + mathjs (Apache-2.0, restricted evaluator)

How to use it

  1. 1

    Enter x and the base (or use the ln / log₁₀ / log₂ buttons).

  2. 2

    Read the logarithm and the other common logs.

  3. 3

    Switch to Antilog to raise the base to a power.

Zero-upload architecture

How to use Logarithm Calculator for free, with no upload

Free, with no sign-up or watermark · Your details stay on your device

  1. 1

    Open Logarithm Calculator

    Launch the app. There is nothing to install and no account to create.

  2. 2

    Work through it

    Read the logarithm and the other common logs.

  3. 3

    Get your result

    Switch to Antilog to raise the base to a power.

All 31 maths tools
  • Local

    Scientific Calculator

    A full scientific calculator with trig in degrees or radians, logs, powers, roots, factorials, memory and history.

    Open tool
  • Local

    Base Conversion Calculator

    Convert whole numbers and fractions between any bases from 2 to 36, with repeating digits and two’s-complement views.

    Open tool
  • Local

    Function Plotter

    Graph several functions of x with zoom, pan, value tracing and correct handling of asymptotes, then export a PNG.

    Open tool
  • Local

    Quadratic Equation Solver

    Find the roots of ax² + bx + c = 0 in exact surd or complex form, with the discriminant, vertex, factored form and a graph.

    Open tool