Example 1 — base 2
- Number: 8
- Base: 2
3
Because 2³ = 8.
Enter a number and a base. The answer is: “to which power should I raise the base to get this number?”
A logarithm undoes exponentiation. You are not asking “what is 10 squared?”, but “to which power should I raise 10 to get 100?”. Answer: 2. The base must be positive and not 1, and the number must be positive too.
Enter a number and a base to see the result.
Take 100 with base 10. Ask: 10 to which power is 100? 10² = 100, so the logarithm is 2.
School notation: log10 100 = 2. Base 10 is a common decimal log; base e is the natural log. Here you can use any valid base.
A fractional answer just means you need a non-whole power — that is fine.
3
Because 2³ = 8.
3
Because 10³ = 1000.
−2
Because 2⁻² = 0.25. A negative result means a negative power.
The answer to: to which power should I raise the base to get this number?
With the usual school rules, a positive base (not 1) does not give zero or negatives.
Because 1 to any power stays 1. You cannot reach other targets.
Yes, if it is positive and not 1.
Power: you know base and exponent, find the value. Log: you know base and value, find the exponent.
You need a negative power, which means division. Example: log₁₀ 0.01 = −2.
Yes. For any valid base, log of 1 is 0, because base⁰ = 1.
The calculation becomes unstable and easy to misread. The base must be clearly different from 1.