Logarithm Calculator

Log of a number to any base, plus ln and log₁₀.

Enter details

log_b(x)

2

ln(x)
4.60517019
log₁₀(x)
2
log₂(x)
6.64385619

How log_b(x) changes with

Number: 50 → 1.69897150 → 2.17609126

The dot is your current value. The graph updates as you type.

Logarithm Calculator Guide: Formula & Worked Example

Short answer

Log of a number to any base, plus ln and log₁₀. In the fixed example below, log_b(x) is 2. Your answer depends on the inputs and assumptions you choose.

Formula

Result = Logarithm Calculator calculation using number, base

The inputs are number, base. Use the input scale shown beside each field and keep time periods and units consistent. Only round the final result for display.

Worked example

Number
100
Base
10
  • log_b(x): 2
  • ln(x): 4.60517019
  • log₁₀(x): 2
  • log₂(x): 6.64385619

Understanding the result

Log of a number to any base, plus ln and log₁₀. Start with the base example, then replace each value with the figure that matches your situation.

Number

The example uses 100 for number. This is an illustration, not a recommended value. Keep the unit and time period shown by the field.

Base

The example uses 10 for base. This is an illustration, not a recommended value. Keep the unit and time period shown by the field.

What the comparison means

The comparison changes only number, keeping every other example input fixed. This isolates that input's effect on the primary result. It does not predict future outcomes.

Check units, date boundaries and rounding before using the answer in a report or a practical measurement.

Comparison

ScenarioInputResult
Lower inputNumber: 80log_b(x): 1.90308999
Base exampleNumber: 100log_b(x): 2
Higher inputNumber: 120log_b(x): 2.07918125

Common mistakes

  • Using the wrong units for number.
  • Comparing results while changing more than one input at a time.
  • Check units, date boundaries and rounding before using the answer in a report or a practical measurement.

Checklist

  • Confirm number.
  • Confirm base.
  • Check the result against your source or provider.

Calculators Percentage Editorial Team

Calculator guides from the Calculators Percentage team. These introductory examples are educational, not professional advice.

Last reviewed:

Check units, date boundaries and rounding before using the answer in a report or a practical measurement.

Frequently Asked Questions

How do I use the Logarithm Calculator?

Enter Number, Base, then press Calculate. Your results appear instantly and update every time you change a value and calculate again.

How accurate are the results?

Results are calculated with full precision and rounded for display. For critical work, double-check the rounding you need.

Is this calculator free?

Yes. The Logarithm Calculator and all other math calculators on Calculators Percentage are free, with no sign-up required.

Why can my result differ from another source?

Different input assumptions and rounding can produce different answers. Check units, date boundaries and rounding before using the answer in a report or a practical measurement.

What should I check before relying on the answer?

Confirm every input against its original source, use consistent units and inspect the worked example. For important decisions, independently verify the result.

Sources & references

Formulas are tested against hand-checked answers. How we check our calculators.

Estimates only. Confirm final figures, terms and fees with your bank, provider or a qualified professional.

Last updated: January 15, 2026