Inputs
Logarithm2
Ready
A logarithm asks which power of the base produces the value. Log base 10 of 100 is 2, because 10 squared is 100. The page also prints the natural log, ln(100), which is 4.61, and the base-2 log, which is 6.64. Those three are the same information in different units: change-of-base says log_b(x) = ln(x) / ln(b). For base 10, ln(100) / ln(10) is 2.
The value has to be positive. The log of 0 and the log of a negative are undefined in the reals. The base has to be positive and not equal to 1, because 1 to any power is still 1 and never reaches 100. A base between 0 and 1 is allowed and flips the direction: larger values then have smaller logs.
ln uses base e, about 2.718. log2 is the count of binary doublings: 2^6.64 is about 100, which is why the base-2 log of 100 sits between 6 and 7. If you only wanted one base, read the Logarithm line. The other two are there so you do not have to rerun the page.
Value 100. Base 10.
Logarithm 2. Natural log 4.61. Log base 2 is 6.64.
Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.
2. Ten squared is 100, so the exponent is 2.
Divide the natural log of the value by the natural log of the new base. ln(100) / ln(10) equals 2.
About 4.61. That is ln(100), the power you raise e to in order to get 100.
64 is 2^6 and 128 is 2^7. 100 sits between them, and the log is about 6.64.
1 raised to any power is 1, so it never produces a different value. Negative values and zero have no real logarithm.