Logarithm Calculator
The logarithm of a number to any base — ln, log and log₂: exact when the number is a power of the base, with the check and the graph
Logarithm Calculator
Natural, Common and Binary Logarithms
logb x is the power you raise b to, to get x: by = x; b > 0, b ≠ 1, x > 0.
ln is the natural log, base e ≈ 2.71828; log is the common log, base 10; log₂ is the binary log, base 2.
Example: ln 2
ln 2 ≈ 0.6931
ln 2 is the power you raise e ≈ 2.71828 to, to get 2: ey = 2.
e⁰ = 1 < 2 < e¹ ≈ 2.7183, so 0 < ln 2 < 1
Answer point ≈ (2, 0.6931).
The curve y = ln x passes through (1, 0) and (e, 1) and rises: for x > 1 the log is positive, for 0 < x < 1 negative.
Common mistakes
- log without a base: on a calculator and at school it is base 10 (log 100 = 2), while Python's math.log and Excel's LN use base e (ln 100 ≈ 4.6052); Excel's LOG is base 10 again.
- ln 0 and the log of a negative number do not exist: e raised to any power is positive.
- There is no base 1: 1 raised to any power is 1.
See Also
- Square Root Calculator - Calculate the square root of any number
- Simplify Square Root Calculator - Write any square root in simplest radical form, step by step
- Scientific Calculator with Memory & History - Free Engineering Calculator Online with Memory Function, Operation History, Logarithms & Trigonometry. Similar to ti-83, ti-84, ti-89
Last Results
Log of 0.3 (Base 10)
Log Base 4 of 4 (log₄ 4)
Log Base 7 of 7 (log₇ 7)
Log of 3 (Base 10)
Natural Log of 40 (ln 40)
Log Base 5 of 625 (log₅ 625)
Natural Log of 0.1 (ln 0.1)
Log of 81 (Base 10)
Log Base 0.25 of 8
Natural Log of 0 (ln 0)
Natural Log of 7 (ln 7)
Log Base 6 of 1 (log₆ 1)
Log Base 6 of 7 (log₆ 7)
Log Base 8 of 4 (log₈ 4)
Log Base 16 of 1 (log₁₆ 1)
Log Base 13 of 13 (log₁₃ 13)
Natural Log of e (ln e)
Log Base 5 of 7 (log₅ 7)
Natural Log of 60 (ln 60)
Log Base 4 of 3 (log₄ 3)
Natural Log of −1 (ln(−1))
Log Base 4 of 16 (log₄ 16)
Log Base 4 of 1 (log₄ 1)
Log of 7 (Base 10)
Log of 25 (Base 10)
Log of −1 (Base 10)
Log Base 2 of 8 (log₂ 8)
Log Base 5 of 5 (log₅ 5)
Log Base 2 of 15 (log₂ 15)
Natural Log of 20 (ln 20)
Log of 100 (Base 10)
Log Base 2 of 32 (log₂ 32)
Log of 80 (Base 10)
Log Base 2 of 1/3 (log₂(1/3))
Log Base 5 of 3 (log₅ 3)
Log Base 7 of 1 (log₇ 1)
Log of 1.6 (Base 10)
Log of 0.9 (Base 10)
Log Base 2 of 0.5 (log₂ 0.5)
Log Base 4 of 2 (log₄ 2)
Log Base 0.5 of 16
Log Base 2 of −1 (log₂(−1))
Log Base 9 of 3 (log₉ 3)
Log Base 8 of 2 (log₈ 2)
Natural Log of −5 (ln(−5))
Log Base 3 of 81 (log₃ 81)
Natural Log of 6 (ln 6)
Log of 60 (Base 10)
Log Base 2 of 12 (log₂ 12)
Log Base 2 of 4 (log₂ 4)
Natural Log of 1.05 (ln 1.05)
Log Base 25 of 5 (log₂₅ 5)
Natural Log of 100 (ln 100)
Log Base 2 of 100 (log₂ 100)
Log Base 2 of 1024 (log₂ 1024)
Log of 0.01 (Base 10)