CalcDepo

Logarithm Calculator

Compute natural, base-10, base-2 and custom-base logarithms.

Inputs

Results

Natural log ln(x)6.907755
Log base 103
Log base 29.965784
Log base b4.29203

Chart

Not what you need? Search by intent

Describe what you want to find β€” β€œlog of a number” β€” and jump to the right calculator.

How to use the logarithm calculator

Compute natural, base-10, base-2 and custom-base logarithms. Enter number, custom base in the fields above; the natural log ln(x), log base 10, log base 2, log base b are computed instantly and plotted on the chart so you can see how the answer changes.

Formula

Natural log ln(x) = ln(x)
Log base 10 = log10(x)
Log base 2 = log2(x)
Log base b = logb(x,b)

Variables

  • x β€” Number
  • b β€” Custom base

Worked example

With number = 1000, custom base = 5, the calculator gives natural log ln(x) β‰ˆ 6.907755; log base 10 β‰ˆ 3; log base 2 β‰ˆ 9.965784; log base b β‰ˆ 4.29203.

Frequently asked questions

What is the formula for the logarithm calculation?

Natural log ln(x) = ln(x). Log base 10 = log10(x). Log base 2 = log2(x). Log base b = logb(x,b). Here x is number, b is custom base.

What inputs do I need for the logarithm calculator?

You need number, custom base. Each field is pre-filled with a typical example so you can see how the result responds as you edit the numbers.

How do I use this calculator?

Type values into the input fields. Results and the chart update instantly. Use Reset to restore the example values, Copy results to paste them elsewhere, or Share to copy a link that preserves your inputs.

Is the result exact?

Calculations use standard formulas and double-precision arithmetic, then display about seven significant figures. Real-world measurements carry uncertainty, so treat results as estimates unless your inputs are exact.

Related calculators

More in Algebra & Calculus: Percentage Β· Percent Increase and Decrease Β· Ratio Simplifier Β· GCD and LCM Β· Divisor Count Β· Quadratic Equation Β· Linear Equation Β· System of Two Linear Equations