对数计算器
计算以 10 为底的对数、ln、以 2 为底的对数或任意底的对数——尽可能给出精确值(log₄ 8 = 3/2),并附步骤。
结果
输入数值并点击“计算”查看结果。
公式
A logarithm is the power you raise the base to.
The change-of-base formula works out any logarithm from natural logs.
如何使用此计算器
- Enter x (greater than 0) and pick the base — or choose “Other base” and type it.
- Press Calculate. Exact answers are shown when the logarithm is a whole number or fraction.
例题
log base 2 of 8
log₂ 8 asks: 2 to what power gives 8?
2³ = 8, so log₂ 8 = 3.
常见问题
Why can’t I take the log of 0 or a negative number?
A positive base to any power is always positive, so no power gives 0 or a negative number.
What is ln?
ln is the natural logarithm: log base e, where e ≈ 2.718281828.