Compute a logarithm
Base
Result
log base 2 of 8
Exact
3
Decimal
3
Scientific
3.0000e+0
As exponent equation
Change of base
Neighboring arguments (geometric, click to set)
1
2
3
4
5
Recent
Apply a logarithm law
Step-by-step
1
2
3
4
Compare two logarithms
Expression A
vs
Expression B
Verdict
A is larger — difference of 3.0000.
Decimal A
6
Decimal B
3.000000
A − B
3.0000
A / B
2.0000
How this works
What just happened
2 to the power 3 equals 8, so the logarithm is exactly 3.
The concept
A logarithm asks the inverse of an exponent: what power do I raise the base to, to get this number? Formally, .
Powers of 2
| n | Expression | Value |
|---|---|---|
| -2 | 0.25 | |
| -1 | 0.5 | |
| 0 | 1 | |
| 1 | 2 | |
| 2 | 4 | |
| 3 | 8 | |
| 4 | 16 | |
| 5 | 32 | |
| 6 | 64 | |
| 7 | 128 | |
| 8 | 256 |