Base 2 logarithm
log_2(8)3 because 2^3 = 8
Use this free log calculator to find logarithms with any valid base, compare ln and log10 values, see change-of-base steps, check the matching exponent, and avoid invalid values such as zero, negative inputs, or base 1.

Recent log answers will appear here.
The value must be greater than zero.
The base must be greater than zero and cannot equal 1. Enter e for a natural log base.
Calculate log base 2, base 10, natural log, or another custom base.
Check logarithm homework with change-of-base steps.
Compare log, ln, and log10 values from one input.
Confirm a logarithm by seeing the matching exponential power check.
See why zero, negative values, and base 1 are not valid real logarithm inputs.
Use the tab-only recent answer history while studying repeated log problems.
3 because 2^3 = 8
3 because 10^3 = 1000
3 because e^3 gives the input value
-2 because 10^-2 = 0.01
4 because 5^4 = 625
4 using ln(81) / ln(3)
Need a slower walkthrough, a related calculator, or the full library? These links keep you close to the task you started.
Quick answers about valid bases, ln, log10, change-of-base, exponential checks, and privacy.
A logarithm asks which exponent makes the base turn into the value. For example, log_2(8) = 3 because 2^3 = 8.
It uses the change-of-base formula: log_b(x) = ln(x) / ln(b). This lets the calculator solve logarithms for any valid positive base except 1.
The main inputs are the numbers, operation, mode, or known values the calculator needs. Keep units consistent, enter percentages the way the page label shows, and use the examples as a quick check before trusting the answer.
Read the headline answer, then check the supporting lines and examples to understand how the calculator got there. If one input changes, rerun the tool and compare the new answer instead of guessing.
Check units, signs, rounding, and the selected mode before copying the answer. If the number feels weird, rerun one of the examples first, then put your own values back in slowly.
The log value must be greater than zero. The base must also be greater than zero, and the base cannot be 1.
log10 means base 10, ln means base e, and a custom log lets you choose another base such as 2, 3, or 5.
Yes. Type e in the base field to use the natural log base. The calculator also shows ln(value) automatically for every valid positive value.
Rewrite it as an exponent. If log base b of x equals y, then b^y should equal x. The calculator shows this check in the result card.
Yes. A logarithm can be negative when the value is between 0 and 1 for a base greater than 1, such as log_10(0.01) = -2.
In real-number logarithms, no positive base can be raised to a real exponent and produce zero or a negative value. Use a complex-number tool if your class or project needs complex logs.
A base of 1 never grows or shrinks. Since 1 raised to any power is still 1, log base 1 cannot tell you one clear exponent.
Use log10 when the problem is built around powers of 10, such as orders of magnitude. Use ln when the problem is built around base e, which is common in algebra, calculus, growth, and decay formulas.
Many logarithms are irrational decimals. The calculator formats the result for practical checking, so use the exponent check when you need to see whether the rounded answer matches the original value.
No. This page is for real-number numeric logarithms and quick study checks. It does not simplify symbolic expressions, solve equations, graph functions, or return complex logarithms.
Yes. Recent log answers stay only in the current browser tab while you use the page. They are not sent to a server.