Logarithm Calculator (Any Base)

Calculate log of any number to any base, plus ln, log10, log2 and the antilogarithm.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Step 1: Open Logarithm Calculator (Any Base) and add your input

    Type your numbers or text, add your file, or pick the options you need. Nothing is uploaded: everything stays in your browser.

  2. 2
    Step 2: What Logarithm Calculator (Any Base) does

    Calculate log of any number to any base, plus ln, log10, log2 and the antilogarithm.

  3. 3
    Step 3: Read the result and compare

    The result appears at once. Change one value to see how the answer moves, then keep the figure that fits your case.

  4. 4
    Step 4: Copy or save it

    Copy the result or download it. For an important decision, confirm it with the official source or an adviser.

About this tool

Enter a positive number and a base (a positive number other than 1, or e). The calculator gives log to your base, the natural logarithm, the common log, the binary log, the change-of-base formula and the antilogarithm base^x.

Definitions

log_b(x) = y means bʸ = x. The natural logarithm ln uses base e ≈ 2.71828, the common logarithm log10 uses base 10 and log2 base 2.

Change of base

log_b(x) = ln(x) ÷ ln(b). The antilogarithm of x in base b is bˣ, the inverse operation.

Domain

The number must be positive and the base positive and not equal to 1.

Worked example

log₂(8) = 3 because 2³ = 8; ln(8) = 2.0794; log10(8) = 0.9031. The antilog 2⁸ is 256.

Tips for best results

Check every box before you rely on a result, because one wrong digit changes the whole answer. Use the exact figures from your payslip, bill, certificate or contract, and keep a note of the date you calculated. Rates, thresholds and rules change from time to time, so for tax, fees and legal matters treat the output as an estimate and confirm with the official source named on this page. You can run as many scenarios as you like; nothing is saved or sent, and refreshing the page clears the boxes.

Quick facts

Embed this calculator on your site

Copy this code to show the calculator on your own page. A link back to shobfree.com is included.

Frequently asked questions

Why can't I take the log of 0 or a negative number?

No real power of a positive base gives 0 or a negative number.

How do I use base e?

Type e in the base box.

What is an antilog?

The base raised to the number: b^x.

Why not base 1?

1 raised to any power is 1, so it has no logarithm.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages