loading tool…
The LaTeX command for ln is \ln — natural logarithm.
\lnWrite \ln inside math mode — that is, between $…$ for inline math or in a \[ … \] / equation block for display math. It is part of core LaTeX math, so no extra package is required.
$\ln_{i=1}^{n} x_i$Prefer to see it live? Paste it into the LaTeX preview and it renders as you type — no compiler, no signup.
Search all 380+ LaTeX symbols →
Use \ln in math mode — it needs no extra package. For example, $\ln_{i=1}^{n} x_i$.
None — \ln is built into LaTeX's math mode, so no extra package is required.