In mathematics, the logarithm is the inverse function to exponentiation. That means that the logarithm of a number x to the base b is the exponent to which b must be raised to produce x. For example, since 1000 = 103, the logarithm base of 1000 is 3, or log10 (1000) = 3. The logarithm of x to base b is denoted as logb (x), or without parentheses, logb x. When the base is clear from the context or is irrelevant, such as in big O notation, it is sometimes written log x.
The logarithm keys (LOG for base 10 and LN for base e) on a TI-83 Plus graphing calculator
A nautilus shell displaying a logarithmic spiral
In mathematics, the common logarithm is the logarithm with base 10. It is also known as the decadic logarithm and as the decimal logarithm, named after its base, or Briggsian logarithm, after Henry Briggs, an English mathematician who pioneered its use, as well as standard logarithm. Historically, it was known as logarithmus decimalis or logarithmus decadis. It is indicated by log(x), log10(x), or sometimes Log(x) with a capital L; on calculators, it is printed as "log", but mathematicians usually mean natural logarithm (logarithm with base e ≈ 2.71828) rather than common logarithm when writing "log". To mitigate this ambiguity, the ISO 80000 specification recommends that log10(x) should be written lg(x), and loge(x) should be ln(x).
The logarithm keys (log for base-10 and ln for base-e) on a typical scientific calculator. The advent of hand-held calculators largely eliminated the use of common logarithms as an aid to computation.