Example 1
- a = 2
- x = 8
3
What is log₂(8)? 3. Two to the third is 8.
Type base a and the number x. The logarithm asks what power of a returns x. 2 and 8 give 3. 10 and 100 give 2. 3 and 27 give 3.000000.
Base 1, base ≤ 0 or x ≤ 0 returns 0. That is the same zero as log_a(1) on a valid base. Check the input before you trust a zero.
Enter data and click Calculate.
A logarithm to any base is log_a(x) = ln(x)/ln(a). The calculator calls ln(b)/ln(a) when a > 0, a ≠ 1 and b > 0. 2 and 8 give 3, because 2³ = 8. 10 and 100 give 2, because 10² = 100.
The fields are base a and the number x. 3 and 27 in a notebook give 3. Here ln(27)/ln(3) is 3.0000000000000004, so the result is 3.000000, not a bare 3.
When a = 1, a ≤ 0 or x ≤ 0, the implementation returns 0. log_a(1) on a valid base is also 0, because a⁰ = 1. Those two zeros look the same. A bad base does not get a separate label.
The common logarithm is on the neighbouring page and keeps base 10. The natural logarithm keeps e. Here you pick a yourself.
The header units switch does not multiply anything. 2 and 8 stay 3 whatever the label says.
2 and 8 give 3. 10 and 100 give 2. 3 and 27 give 3.000000. Base 1, a negative base or x ≤ 0 give 0.
log_a(x) = ln(x)/ln(a), when a > 0, a ≠ 1, x > 0; otherwise 0
log_a(x) = ln(x)/ln(a). 2 and 8 give 3. 10 and 100 give 2. A bad base or x ≤ 0 returns 0, like log_a(1).
3
What is log₂(8)? 3. Two to the third is 8.
2
What is log₁₀(100)? 2. Ten to the second is 100.
3.000000
What is log₃(27)? 3.000000. machine float misses 3, the calculator keeps six decimals.
3. 2³ = 8. The calculator divides ln(8) by ln(2).
What power of a returns x. Formula ln(x)/ln(a).
2. 10² = 100. Here you type 10 yourself; you do not have to open the log₁₀ card.
3.000000. In a notebook, 3. Here 3.0000000000000004 and six decimal places.
The calculator returns 0. ln(1) = 0, so the divide does not run. That is the same zero as log_a(1).
Again 0. A real logarithm needs x > 0. There is no separate message.
Again 0. The base must be positive and not 1.
There a is always 10. Here you type a. 10 and 100 give the same 2.
On the natural-logarithm card. Base e also works here if you type about 2.71828.
Yes. 2.0 and 2,0 with 8 both give 3.
The calculator computes the same formula as the definition below.
Page updated in 2026.