Logarithm Calculator
Calculate the logarithm of any number with any base, including log base 2, 10, and e.
How to use this tool
- Enter number and base in the fields above.
- Results update instantly as you type — or click Calculate.
- Read your log result and the full breakdown beneath it.
Calculate logbase(x) using the change-of-base formula: ln(x)/ln(base).
Frequently asked questions
- How do you calculate a logarithm with any base?
- Use the change-of-base formula: log_b(x) = ln(x) / ln(b). For example, log_2(8) = ln(8)/ln(2) = 3.