How it works
A logarithm answers the question “what power of the base gives this number?” For example log₁₀(1000) = 3 because 10³ = 1000. Enter the number and the base. Any positive base except 1 works; common choices are 10, 2 and e (about 2.718281828). The number must be positive, because a positive base raised to any real power is never zero or negative.