To calculate logarithms mentally, ask what exponent turns the base into the given number: log_b(x)=y exactly when b^y=x. That inversion gives exact answers when x is a familiar power; otherwise, use familiar anchors and log rules, estimate the remaining part, and label the result as approximate.

Choose the shortest mental route for the base
Different bases expose different structure. Base 10 connects directly to decimal place value, base 2 connects to a compact power ladder, and base e works well through natural-log anchors. For an unfamiliar base, compare the argument with successive powers of that base.
| Base | Common notation | Best mental cue | Typical uses |
|---|---|---|---|
| 10 | log10(x), often written log(x) | Decimal position and powers of 10 | pH, decibels, and the Richter scale |
| 2 | log2(x) | A memorized ladder of powers of 2 | Information, binary trees, and computing |
| e | ln(x) | Natural-log anchors and nearby powers of e | Growth, calculus, and decay |
| Any valid b | log_b(x) | Successive powers of b | Custom or less familiar bases |
For every base greater than 1, a larger argument has a larger logarithm. With a base between 0 and 1, the ordering reverses, so check the direction before estimating.
Spot exact powers before estimating
Build a small base-10 ladder for 1, 10, 100, 1000, and their reciprocals. Build a base-2 ladder from 2^0 through 2^10, anchoring the upper end with 2^10=1024. These are recognition facts rather than arithmetic to perform repeatedly.
Worked example: To find log_2(8), look down the base-2 ladder. The argument is 2^3, so log_2(8)=3. The reverse check is 2^3=8, confirming both the value and the base.
If the argument is not an exact power, an exact mental answer is unlikely unless it has a useful factor structure. Do not force a clean-looking result; a carefully bounded approximation is more useful than false precision.
Estimate a logarithm without a calculator
- Translate the question into exponentiation. Write the unknown exponent as y and restate the task as finding y in b^y=x.
- Identify the base. If the notation says log(x) without a base, confirm whether the context means the common log, base 10, rather than assuming it silently.
- Check for an exact power. Compare x with the familiar powers of b. If one matches exactly, return its exponent.
- Split a composite argument. Rewrite x as a familiar power multiplied or divided by a simpler positive factor, then apply the relevant log rule.
- Bracket the answer. Find consecutive powers b^k and b^(k+1) that surround x. For b greater than 1, log_b(x) lies between k and k+1.
- Estimate the fraction and check it. Use a nearby log anchor or the ratio to the lower power, then reverse the operation approximately. Write “approximately” unless equality is established.
Use log rules to simplify the argument
Once the base is fixed, these three rules handle most practical mental calculations:
- Product: log_b(xy)=log_b(x)+log_b(y)
- Quotient: log_b(x/y)=log_b(x)-log_b(y)
- Power: log_b(x^n)=n·log_b(x)
Choose factors whose logarithms you already know. For example, if P=b^k, then log_b(Pq)=k+log_b(q). This turns one unfamiliar argument into an exact contribution plus a smaller estimation task. A quotient produces a subtraction, while taking a root corresponds to dividing a logarithm by the root degree.
All arguments in these rules must be positive. Factoring is especially effective when one part is a clean power of the chosen base and the remaining part matches a memorized anchor.
Read decimal and binary patterns
For a base-10 logarithm, write x=10^k·m, where k is an integer and 1≤m<10. The value k supplies the integer part of the answer, and only log10(m) remains to estimate. Moving the decimal point by one place changes the common logarithm by exactly one. Memorizing a few anchors, such as log10(2)≈0.3010 and log10(3)≈0.4771, makes the mantissa easier to estimate.
For base 2, memorize powers of 2 until they become automatic. If an integer lies from 2^k through just below 2^(k+1), its base-2 logarithm lies from k to just below k+1, and the integer needs k+1 binary digits. This is useful when estimating storage, tree depth, or the number of repeated halvings required.
Natural logarithms rarely have tidy integer answers. Useful anchors include ln(2)≈0.6931 and ln(10)≈2.3026. For any base, the change-of-base relation log_b(x)=ln(x)÷ln(b) provides another estimation route, although dividing unfamiliar values mentally may be harder than comparing powers directly.
Match the base to the application: common logs appear in pH, decibels, and earthquake magnitude; binary logs appear in entropy and balanced-tree depth; natural logs appear in continuous growth and half-life decay. For converting between displayed values on these scales, see how to calculate values on a logarithmic scale.
Use the Logarithm Calculator when precision matters
Some arguments have no useful mental shortcut, and a rough estimate may not be enough for homework, laboratory work, or engineering. In that case, use the Logarithm Calculator to obtain a checked result instead of extending an unsupported estimate.
- Type the number you want the logarithm of into the Argument (x) field. The argument must be greater than 0.
- Enter the base, or leave the base field blank to use e for the natural logarithm, ln.
- Read log_b(x) below the fields, together with the 2^exponent-style explanation and the ln, log10, and log2 values for the same argument.
There are two domain restrictions to preserve. The argument x must be positive, so zero and negative inputs return a clear undefined message. The base must also be greater than 0 and cannot equal 1, because every power of 1 remains 1 and the change-of-base calculation would divide ln(1) by zero.
The calculator evaluates every base with log_b(x)=ln(x)÷ln(b). For bases 2, 10, and e, it uses the browser’s native high-precision functions. Whole-number results use an equals sign, while rounded fractional results use an approximately-equal sign. Tiny floating-point noise is trimmed to twelve significant figures without hiding a genuine fraction. Everything runs locally in your browser, nothing is sent to a server, and the tool also works offline.
Check the answer before using it
- Reverse the calculation. Raise the base to your estimated exponent and confirm that the result is close to the original argument.
- Confirm the domain. Require x to be positive and the base to be positive and different from 1.
- Keep the notation explicit. Distinguish log10(x), log2(x), ln(x), and log_b(x), since their values differ.
- Match precision to confidence. Use an equals sign for an exact result and an approximately-equal sign for a bounded or rounded estimate.
A strong mental answer either comes from an exact power relation or clearly explains its approximation method. For an unusual argument, the calculator is the better final check because it preserves the chosen base and exposes the exponent relationship directly.
Related reading: Calculate Macros From a Recipe: A Practical Method.