Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

Logarithm (log)

Logarithm: natural with ln, or to any base with log.

Also written ln.

How to write it

ln(z)

The natural logarithm, to base e.

z
A number or expression, possibly complex. Takes a number.

log(base, z)

The logarithm of z to the given base.

base
The base of the logarithm. Takes a number.
z
A number or expression, possibly complex. Takes a number.

Examples

  • ln⁡(e)=1\displaystyle \ln(e) = 1
    ln(e)

    In the solver, ln(e) gives 1.

    Open in the solver
  • log⁡2(8)=3\displaystyle \log_{2}(8) = 3
    log(2, 8)

    In the solver, log(2, 8) gives 3.

    Open in the solver
  • log10

    Logarithm to base 10.

  • lcm

    Least common multiple of whole numbers.

  • log2

    Logarithm to base 2.

  • im

    Imaginary part of a complex number.

  • max

    The largest of some numbers.

  • gcd

    Greatest common divisor of whole numbers.