📐

Logarithm (Any Base)

Math · 2 inputs · Free

📐

Logarithm (Any Base)

2 inputs

Parameters

What is this tool?

Logarithm (Any Base) handles basic maths quickly and helps you double-check a result. Calculates a logarithm in any base using the change-of-base formula: log_b(x) = ln(x) / ln(b).

Inputs: Number = 100, Base = 10

lnsayi ÷ lntaban

Result: 2

📘 Common mistakes · Worked example
NumberBase

Calculates a logarithm in any base using the change-of-base formula: log_b(x) = ln(x) / ln(b).

The result is not exact or binding and is for information only; it is not an official document and cannot be used in official procedures. Confirm it with the competent authority or a professional before acting; no liability is accepted for losses arising from its use.

Last reviewed: · Methodology and sources

How is it calculated?

lnsayi ÷ lntaban

Calculates a logarithm in any base using the change-of-base formula: log_b(x) = ln(x) / ln(b).

Inputs

ValueUnitExample
Number—100
Base—10

What is this tool?

Logarithm (Any Base) handles basic maths quickly and helps you double-check a result. Calculates a logarithm in any base using the change-of-base formula: log_b(x) = ln(x) / ln(b).

Worked example

Inputs: Number = 100, Base = 10

Calculation: lnsayi ÷ lntaban

Result: 2

Common mistakes

  • Dividing the wrong way (ln b ÷ ln x).
  • Using 1 or a negative number as the base; the log is undefined.
  • Rounding down when counting bits.
  • Treating log_b(x + y) as log_b x + log_b y.

📘 How to Calculate a Logarithm in Any Base →

Sources

Key terms

NumberBase

Frequently Asked Questions

+Logarithm (Any Base) — how is it calculated?

lnsayi ÷ lntaban. Calculates a logarithm in any base using the change-of-base formula: log_b(x) = ln(x) / ln(b).

+Which values are required?

Number, Base.

+What should “Number” be to get 2.10?

With the other example values unchanged, entering 125 for “Number” gives 2.10. For your own target, calculate first, then press “Solve backwards” and type the result you want.

+Can I compare results or export them to Excel?

Yes. After calculating, use “Compare” to put up to three results side by side, “Download Excel” to get a file and “Save” to keep the calculation in your own browser only. No sign-up needed.

+Is my data stored?

No. All calculations run in your browser; the values you enter are never sent to or stored on a server. If you press “Save”, the calculation stays only in your own browser and you can delete it at any time.

+Is it free?

Yes, all tools are free and require no sign-up.

Similar tools

Popular Tools

🧮

Free Calculators in One Place

Tax, finance, health, math and more — 500+ tools, all in one place.

Choose your cookie preference to continue

Records the site needs to work (theme, language, favourites) stay in your browser.

This site is free and funded by ads.

With your consent, Google Analytics cookies measure visits and Google AdSense cookies are used to show ads; the data is processed on Google servers abroad.

If you reject, the site works just the same.

Cookie Policy · KVKK notice