Logarithm Calculator — ln, log10, log2, and any base
Enter a positive number x. Choose a base or set a custom one. We’ll compute \(\ln(x)\), \(\log_{10}(x)\), \(\log_{2}(x)\), and \(\log_b(x)\) with antilog.
Inputs & Actions
Results
Chosen base:
—
\(\log_b(x)\) (selected):
—
Antilog \(b^{y}\) (check):
—
\(\ln(x)\):
—
\(\log_{10}(x)\):
—
\(\log_{2}(x)\):
—
Tip: You can paste numbers in E-notation like 3.2e-7.
What this calculator uses
Change of base: \(\log_b(x)=\dfrac{\ln(x)}{\ln(b)}\) (with \(x>0\), \(b>0\), \(b\neq 1\)).
Antilog: If \(y=\log_b(x)\) then \(x=b^y\).
Common logs: \(\log_{10}(x)=\ln(x)/\ln(10)\), \(\log_2(x)=\ln(x)/\ln(2)\).
Logarithms Explained (ln, log10, log2, and log base b)
A logarithm answers the question: “To what power must the base be raised to get \(x\)?” In symbols, \(\log_b(x)=y \iff b^y=x\). Our calculator supports natural log \(\ln(x)\) (base \(e\)), common log \(\log_{10}(x)\), binary log \(\log_{2}(x)\), and any base \(b\) via change-of-base.
Key Formulas
Change of base: \(\displaystyle \log_b(x)=\frac{\ln(x)}{\ln(b)}\) (\(x>0,\;b>0,\;b\neq1\)).
Antilog (inverse): if \(y=\log_b(x)\) then \(x=b^{y}\).