How to use the Logarithm Calculator
- Choose a mode: Log to find logb(x), Antilog to find by, or Solve to find a missing b, x or y in logb(x) = y.
- Pick the base: 10 for the common log, e for ln, 2 for log₂, or enter any custom base.
- Type your number. Decimals, fractions, "e" and E-notation such as 3.2e-5 are accepted, and the answer updates as you type.
- Read the change-of-base working, the ln, log₁₀ and log₂ values, and the characteristic and mantissa used with class 11 log tables.
What a logarithm is
A logarithm answers the question "to what power must I raise the base to get this number?". If by = x, then y = logb(x). For example, 25 = 32, so log2(32) = 5. The base b must be positive and not equal to 1, and x must be positive for the answer to be a real number. That is why log(0) and log(−5) show an error rather than a number.
Three bases are used so often that they have their own names. The common logarithm log x (base 10) is the one in Indian school log tables and on the "log" key of a calculator. The natural logarithm ln x (base e ≈ 2.71828) appears in calculus, growth and decay, and chemistry. The binary logarithm log₂ x is used in computer science.
Change-of-base formula
A calculator usually has only "log" and "ln". To find a log in any other base, divide two logs of the same base:
Worked example: log3(250) = ln 250 / ln 3 = 5.521461 / 1.098612 = 5.025850. Check: 35.025850 ≈ 250. Using common logs gives the same answer: 2.397940 / 0.477121 = 5.025850.
Laws of logarithms with examples
| Rule | Formula | Example |
|---|---|---|
| Product | log_b(MN) = log_b M + log_b N | log 20 = log 2 + log 10 = 0.3010 + 1 = 1.3010 |
| Quotient | log_b(M/N) = log_b M − log_b N | log 5 = log 10 − log 2 = 0.6990 |
| Power | log_b(Mᵏ) = k·log_b M | log 8 = 3 log 2 = 0.9031 |
| Change of base | log_b M = log_a M / log_a b | log₂ 10 = 1 / log 2 = 3.3219 |
| Reciprocal | log_b a = 1 / log_a b | log₁₀ e = 1 / ln 10 = 0.4343 |
| Log of 1 | log_b 1 = 0 | ln 1 = 0 |
| Log of the base | log_b b = 1 | log₇ 7 = 1 |
| Inverse | b^(log_b x) = x | 10^(log 3) = 3 |
Characteristic and mantissa (class 11 log tables)
Before calculators, students found common logs from printed log tables, and many state boards and the NCERT appendix still teach the method. Write x in scientific notation, x = m × 10c with 1 ≤ m < 10. Then:
- The characteristic is the integer c. It is found by counting digits, not from the table.
- The mantissa is log m, a decimal between 0 and 1, read from the table. It is always positive.
Example: 250 = 2.5 × 10², so the characteristic is 2 and the mantissa is log 2.5 = 0.3979, giving log 250 = 2.3979. For a number below 1 the characteristic is negative: 0.025 = 2.5 × 10⁻², so log 0.025 = 2̄.3979, read "bar two point three nine seven nine". It means −2 + 0.3979 = −1.6021. The bar only covers the characteristic, because the mantissa stays positive.
The antilog reverses this. To find antilog(2.3979), look up the mantissa 0.3979 in the antilog table to get 2.5, then multiply by 102 to get 250. Antilog mode shows these same steps.
Interpreting the answer
| x compared with 1 (base > 1) | Sign of log x |
|---|---|
| 0 < x < 1 | Negative |
| x = 1 | Zero |
| x > 1 | Positive |
For a base between 0 and 1 (such as 1/2) the signs flip, because the curve slopes downward.
Common mistakes
- Writing log(M + N) = log M + log N. There is no rule for the log of a sum.
- Making the mantissa negative. log 0.025 is 2̄.3979, not −2.3979.
- Mixing up ln and log. In most Indian textbooks "log" means base 10, while in higher mathematics it often means base e. Always check the base.
- Forgetting the domain. In equations like log(x − 3) = 1, reject any answer that makes the argument zero or negative.
Exam tips for class 11, JEE and NEET
- Memorise log 2 = 0.3010, log 3 = 0.4771 and log 7 = 0.8451. Most other logs of small whole numbers can be built from them with the product and power rules.
- In chemistry, pH = −log[H⁺]. If [H⁺] = 2 × 10⁻⁴ M, then pH = 4 − 0.3010 = 3.70.
- For first-order kinetics and radioactive decay, convert ln to log with ln x = 2.303 log x. You can try this in the half-life calculator.
Frequently asked questions
How do I calculate log base 2 or any other base?
What is the difference between log and ln?
How do I find the antilog of a number?
Why is the log of 0 or a negative number undefined?
What are the characteristic and mantissa of a log?
What is the value of log 1 and log 10?
Last reviewed November 2026. Results are estimates for information only — see our disclaimer.