Enter a value
Type a positive number x. The natural log is defined only for
x > 0 (real-number ln). If you want base-10 or base-2 logs, this tool converts them too.
Use this free Natural Log Calculator to compute ln(x) instantly, convert it to other bases, and get a clear explanation of what the natural logarithm means. It’s perfect for algebra, calculus, science, engineering, finance (continuous growth), and quick homework checks.
Type a positive number x. The natural log is defined only for
x > 0 (real-number ln). If you want base-10 or base-2 logs, this tool converts them too.
The natural logarithm, written as ln(x), is a logarithm with base e, where e ≈ 2.718281828…. In plain words: ln(x) tells you what exponent you need to raise e to in order to get x.
The defining relationship is:
y = ln(x) ⇔ ey = x
This “inverse relationship” is the reason ln is so useful. Exponentials grow (or shrink) very quickly, and logarithms “undo” that growth to reveal the exponent hiding inside. For example: ln(e5) = 5 because the ln cancels the e-exponent. Similarly, eln(7) = 7.
You can compute logs in any base using ln via the change-of-base formula:
logb(x) = ln(x) / ln(b)
That’s why this calculator can show log₁₀(x), log₂(x),
or log_b(x) after it computes ln(x). The rule works because both sides represent
the same exponent (just expressed in different bases).
For real numbers, ln(x) is defined only for x > 0. That’s because the exponential function ey is always positive for real y, so it can never produce 0 or a negative number. (Complex logarithms exist, but they’re beyond the scope of this page.)
Under the hood, the calculator uses JavaScript’s Math.log(x) which returns
the natural log. Then it optionally converts that value to other bases using change-of-base:
log_b(x) = ln(x) / ln(b).
| x | ln(x) (approx.) | Why it’s useful |
|---|---|---|
| 1 | 0 | Because e^0 = 1 |
| e | 1 | Because e^1 = e |
| e² | 2 | Because e^2 = e² |
| 10 | 2.3026 | Connects to base-10 logs |
| 0.5 | -0.6931 | “Half” corresponds to negative log |
Pro tip: If your ln(x) is negative, your x must be between 0 and 1.
Seeing examples makes ln feel way less mysterious. In every example below, remember the translation: ln(x) = y means ey = x.
Enter x=10. The calculator returns ln(10) ≈ 2.3026. Interpretation: e2.3026 ≈ 10. So 2.3026 is the exponent that turns e into 10.
Enter x=0.5. The result is ln(0.5) ≈ -0.6931. Interpretation: e-0.6931 ≈ 0.5. Negative ln values happen because you need a negative exponent to shrink e down below 1.
Suppose you want log₁₀(50). Choose “Also show log base 10” and enter x=50. The calculator computes ln(50) and then divides by ln(10). You’ll see log₁₀(50) ≈ 1.6990, meaning 10^1.6990 ≈ 50.
Solve 3·e2t = 50. Divide both sides by 3: e^(2t) = 50/3. Take ln of both sides: ln(e^(2t)) = ln(50/3). The left side simplifies to 2t, so 2t = ln(50/3) and t = (1/2)·ln(50/3). Plug ln(50/3) into this calculator to finish quickly.
If you’re using ln for calculus, you’ll also see properties like d/dx ln(x) = 1/x (for x>0) and the integral ∫(1/x) dx = ln|x| + C. Those relationships are part of why ln is the “default” log in higher math: it plays beautifully with derivatives and integrals.
ln stands for natural logarithm. It’s the logarithm with base e. When you write ln(x), you’re asking: “What exponent do I raise e to so that I get x?”
ln is specifically base e. The symbol “log” can mean different bases depending on the context: in many math classes log means base 10, while in computer science log often means base 2. This page shows base conversions so you can compare them side-by-side.
Because e^y is always positive for real y. There is no real exponent y that makes e^y equal 0 or a negative number. (Complex logarithms exist, but require complex numbers.)
Use the change-of-base formula: log_b(x) = ln(x) / ln(b). Choose “Custom base b” and this calculator will apply it automatically.
If ln(x) is negative, then x is between 0 and 1. For example ln(0.5) ≈ -0.6931 because e^-0.6931 ≈ 0.5.
Yes. ln shows up in continuous compounding and in growth/return calculations. For example, continuously compounded return is often modeled with ln(P₂/P₁). (Always follow the conventions used in your course.)
Exponentials turn addition into multiplication: when you multiply by a constant factor repeatedly, you’re effectively adding exponents. Logs reverse that process. That’s why log rules exist: ln(ab)=ln(a)+ln(b). Multiplying numbers becomes adding log values.
This also explains why ln is such a powerful “compression” tool. Large ranges of positive numbers become manageable ranges of log values. That’s why you’ll see logs in pH, decibels, and information theory— all of them benefit from turning huge multiplicative differences into smaller additive ones.
If you want one mental anchor: ln is the scale of exponents. It’s like asking, “How many e-multiplications did it take to get here?”
Interlinks pulled from your Math category card list:
The Share buttons above format a clean text snippet with your exact result and link.