Ln Calculator
How This Converter Works
Calculates the natural logarithm of x by dividing JavaScript Math.log(x) by Math.log(Math.E). Its real-valued domain is x > 0; invalid or nonpositive inputs yield JavaScript NaN or negative Infinity. The result is displayed without rounding.
Formula or rule
ln(x) = Math.log(x) / Math.log(Math.E)
Example
- Input
- 25
- Calculation
- Math.log(25) / Math.log(Math.E)
- Result
- 3.2188758248682006