Ln Calculator
How This Converter Works
Calculates the natural logarithm of a finite x > 0 using JavaScript Math.log. Blank input clears the result; nonpositive or non-finite input displays Invalid input. Valid results are 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