Free tools that run in your browser. Use any tool without an account.

Favourites Cart
Sign in
Join free

Log Calculator

  • Free
  • Runs in your browser
  • No account needed

A logarithm tells you which exponent produces a number from a base. FreeToolr's Log Calculator finds log_b(x), x, or b. For example, log_2(8) = 3 because 2^3 = 8 using valid real-number inputs.

Logarithm
3
Natural log (ln x)
6.907755
Common log (log10 x)
3
Binary log (log2 x)
9.965784
Runs in your browser. Your files and values are not sent to us. Report a problem
Advertisement

About the Log Calculator

FreeToolr's Log Calculator evaluates logarithms and solves the relationship log_b(x) = y. Use it to find the result y, recover the argument x, or calculate a missing base b. It helps students, teachers, engineers, programmers, and anyone checking maths homework or technical work. Choose base 10, base e, base 2, or enter a custom base. The calculator accepts decimals, fractions, and scientific notation. It shows the defining equation, change-of-base calculation, and an inverse check when applicable. Valid real-number inputs require x > 0, b > 0, and b != 1. The tool runs in your browser, so your entries are not uploaded to FreeToolr. Unlike a basic log button, it labels the base clearly and supports three common ways to solve a logarithmic relationship.

How to use it

  1. 1Choose what you want to find: the logarithm, argument, or base.
  2. 2Enter the known values, including the base and argument when required.
  3. 3Select base 10, e, base 2, or enter a custom base.
  4. 4Run the calculation and review the result, formula, and inverse check.
Advertisement

Worked example

To calculate log_2(8), choose Find the logarithm, enter base 2 and argument 8, then calculate. The result is y = 3 because 2^3 = 8.

The formula

Definition: log_b(x) = y if and only if b^y = xChange of base: log_b(x) = ln(x) / ln(b)Find the argument: x = b^yFind the base: b = x^(1/y), when y != 0Real-number conditions: x > 0, b > 0, and b != 1

Source: NIST Digital Library of Mathematical Functions, Section 4.2. Last checked 4 November 2026.

What it is good for

  • Find y, x, or b from one logarithmic relationship.
  • Use base 10, e, base 2, or any valid custom base.
  • See clear formulas and an inverse check in your browser.
  • The calculator uses real-number logarithms, not complex logarithms.
  • Results involving non-perfect powers may be rounded to the displayed precision.
Advertisement

Questions people ask

What is a logarithm?

A logarithm gives the exponent needed to raise a base to a target number. For example, log_2(8) = 3 because 2^3 = 8.

What is log(100)?

In many school and calculator settings, log means base 10. Therefore, log_10(100) = 2. Check the stated base because some advanced maths uses log for the natural logarithm.

What is ln?

ln(x) is the natural logarithm, which uses base e. The value of e is approximately 2.718281828, and ln(e) = 1.

How do I calculate a logarithm with any base?

Use the change-of-base formula: log_b(x) = ln(x) / ln(b). The base must be greater than zero and cannot equal 1, while x must be greater than zero.

Can a logarithm be negative?

Yes. For a base greater than 1 and an argument between 0 and 1, the result is negative. For example, log_10(0.01) = -2.

Why can the base not be 1?

One raised to every power equals 1. It cannot produce a unique exponent for other values, so base 1 is not allowed.

What is an antilogarithm?

An antilogarithm reverses a logarithm. If log_b(x) = y, then x = b^y.

Help keep every tool free

FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.

Advertisement
Advertisement