Math

Instant, private, and free

Change of Base Calculator.

Evaluate a logarithm using any valid base.

On-device calculationNo signup
01

Set your values

Results update as you type.

Logarithm: 2

Logarithm

2.000000

Results update automatically as you type.

Use Cases

Solve math problems with custom bases

Use this calculator to evaluate logarithms with bases other than 10 or e, which are common in algebra and calculus problems.

Example: Find log base 2 of 8: enter value 8, base 2, result is 3.

Convert logarithms for graphing or analysis

When working with logarithmic scales or data, convert logs to a common base for easier comparison or graphing.

Example: Convert log base 5 of 100 to base 10 to plot on a standard scale.

Frequently Asked Questions

What is the change of base formula?
The change of base formula allows you to rewrite a logarithm in terms of logs with a different base. It is log_b(a) = log_c(a) / log_c(b), where c is any valid base, typically 10 or e.
Can I use any positive number as the base?
Yes, the base must be a positive number not equal to 1. The calculator accepts any valid base, including fractions and decimals, as long as it is greater than 0 and not 1.
What if I enter a value less than or equal to zero?
The logarithm is only defined for positive values. If you enter a value less than or equal to zero, the calculator will not produce a valid result. Ensure the value is positive.

Tips & Common Mistakes

Tips

  • Ensure the value is a positive number; logarithms of zero or negative numbers are undefined.
  • The base must be positive and not equal to 1; otherwise, the logarithm is not valid.
  • You can use any real number as the base, including fractions and decimals, for flexibility.
  • Double-check your inputs if the result seems unexpected; small errors in base or value can change the outcome.

Common Mistakes to Avoid

  • Entering a base of 1, which is invalid because log base 1 is undefined.
  • Entering a negative value or zero for the value, which is not allowed for logarithms.
  • Confusing the order: the value is the argument of the log, and the base is the logarithm's base.

Last updated: August 13, 2026