To calculate a logarithm by hand, rewrite log_b(x) = y as b^y = x, then use exact powers, logarithm rules, or a common-log table.

A logarithm is an exponent expressed in reverse. The expression log_b(x) asks what power the base b must be raised to in order to produce x. Some arguments are exact powers, so their logarithms can be found by inspection. For other arguments, the answer is usually a decimal that needs estimation or a numerical calculator.

how to calculate logarithms by hand
How to Calculate Logarithms by Hand: A Practical Guide

Read the definition and valid inputs

The defining relationship is:

log_b(x) = y if and only if b^y = x.

For real logarithms, the argument x must be greater than zero, and the base b must also be greater than zero and cannot equal 1. A base of 1 always produces 1, while zero and negative arguments cannot be produced by raising a positive base to a real power.

The notation tells you which base is being used:

Notation Base Meaning Typical context
ln(x) e Natural logarithm Continuous growth, decay, and calculus
log10(x) 10 Common logarithm pH, sound levels, and the Richter scale
log2(x) 2 Binary logarithm Computing and information theory
log_b(x) A specified base b General logarithm Equations of the form b^y = x

When no base is written, log(x) usually means log_10(x), although you should check the convention used in your course or workplace. For bases greater than 1, a logarithm is positive when x is greater than 1, zero when x is 1, and negative when x is between 0 and 1. Bases between 0 and 1 reverse those signs.

Choose the shortest manual method

The best method depends on the form of the argument and on whether you need an exact result or an approximation.

Manual method Best suited to Result
Recognize a power The argument is an exact power of the base An exact exponent
Apply logarithm laws The argument can be factored into familiar parts An exact or simplified expression
Use a common-log table A decimal approximation is needed A numerical estimate
Change the base The desired base is unusual A quotient of two known logarithms
Bracket the result Only a rough check is required A narrow interval for the answer

Start with exact powers because they are fastest and least prone to rounding error. Move to logarithm laws when the argument contains recognizable factors. Use a table or series only when the answer cannot be expressed directly.

Calculate a logarithm manually

  1. Rewrite the question in exponent form. Replace log_b(x) = y with b^y = x. This shows that you are looking for an exponent rather than a product or quotient.
  2. Check the inputs. Confirm that x is greater than zero, b is greater than zero, and b is not 1. An invalid input has no real logarithm.
  3. Look for familiar powers of the base. Consider the squares, cubes, and other commonly memorized powers of b. Also check whether the argument can be rearranged into a product involving one of those powers.
  4. Simplify with logarithm laws when useful. Separate a product into a sum of logarithms, a quotient into a difference, or a powered expression into a multiple of a logarithm.
  5. Test the proposed exponent. Raise the base to the candidate exponent and check whether the result matches the original argument.
  6. Estimate if there is no exact power. Use a common-log table, the change-of-base formula, or a series approximation. Keep an approximation marker because the decimal will not generally be exact.

Worked example: log base 5 of 25

Start with log_5(25) = y and rewrite it as 5^y = 25. The argument is the square of the base, so the exponent is 2. Confirming with change of base gives log_5(25) = ln(25) ÷ ln(5) = 2, matching the exact result.

Apply the logarithm laws

Logarithm laws are most useful when an expression contains a product, quotient, or power that can be simplified. For any valid base:

  • 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)

A useful manual pattern is to factor the argument as x = b^n times a remaining factor m. Then log_b(x) = n + log_b(m). This separates the part you can recognize from the part that may still need estimation. Each factor must be positive because the logarithm rules are being applied to positive quantities.

Keep the rules distinct from ordinary algebra. A logarithm does not distribute over addition: log_b(x + y) is not the same as log_b(x) + log_b(y). Also, moving a factor from the numerator to the denominator changes addition into subtraction in the logarithms, which helps prevent sign errors.

Estimate with a common-log table

A printed table of common logarithms is a practical way to obtain a decimal answer without an electronic calculator. First write the argument in scientific notation:

x = A × 10^n, where 1 is less than or equal to A and A is less than 10.

The common logarithm then splits into two parts:

log10(x) = n + log10(A).

Here, n is the whole-number characteristic and log10(A) is the decimal mantissa found in the table. If A falls between two listed entries, interpolate between their logarithms. With table entries A_L and A_U carrying logarithms L and U, a linear estimate is:

log10(A) ≈ L + [(A − A_L) ÷ (A_U − A_L)] × (U − L).

Use the precision stated by the table and round only after the final calculation. If the desired logarithm has a base other than 10, divide the common logarithm of the argument by the common logarithm of the base.

Make a table-free estimate

A short series can provide a hand estimate when no printed table is available. Choose an integer n so that r = x ÷ 2^n is close to 1. Then ln(x) = n ln(2) + ln(r). Set z = (r − 1) ÷ (r + 1) and approximate:

ln(r) ≈ 2 × (z + z^3/3 + z^5/5 + z^7/7 + ...).

The closer r is to 1, the smaller z becomes and the faster the terms shrink. Use a memorized value for ln(2), add the series result, and then use change of base to reach the requested base. This method is an approximation, so stop when later terms no longer affect the precision you need.

Change the base without changing the value

The change-of-base formula converts any logarithm into a quotient of two logs that may already be available:

log_b(x) = ln(x) ÷ ln(b) = log10(x) ÷ log10(b).

This works because the exponent is unchanged when both sides are expressed with the same base. It is especially useful with a common-log table because both values in the numerator and denominator can be read from the same table.

For a hand division, obtain the numerator and denominator to comparable precision, write them as decimals, and divide. Keep enough digits to protect the final rounding. A large rounding error in either logarithm can noticeably affect the quotient, particularly when the denominator is close to zero.

Changing the base does not change the logarithm’s value. It only changes how that value is represented. A base very close to 1 can still produce a valid answer, but its natural logarithm is small, so extra numerical care is worthwhile.

Check the sign, domain, and rounding

Before accepting a manual answer, ask three questions:

  1. Is the argument valid? It must be greater than zero.
  2. Is the base valid? It must be greater than zero and different from 1.
  3. Does the sign make sense? For a base greater than 1, an argument above 1 gives a positive result, an argument below 1 gives a negative result, and an argument of 1 gives zero.

For an approximate result, reverse the operation as a check: raise the base to your estimated exponent. The result should be close to the original argument. If it is far away, revisit the exponent, the common-log interpolation, or the division in the change-of-base step.

Use an equals sign for an exact value and an approximately-equal sign for a rounded estimate. Do not manufacture extra trailing digits, and do not turn a genuine fractional answer into a whole number merely because the first decimal places are close to zero.

Verify the result with the Logarithm Calculator

For a digital check, the Logarithm Calculator supports the same argument and base used in the manual calculation. Its workflow is straightforward:

  1. Type the positive argument into the Argument (x) field.
  2. Enter the base, or leave the base field blank to use e for the natural logarithm.
  3. Read the log_base(x) result, the exponent-style explanation, and the simultaneous ln, log10, and log2 values for the same argument.

The display updates as you type, so no button needs to be pressed. It handles any valid base and runs locally in the browser without sending the calculation to a server, which also allows it to work offline. Whole-number results use an equals sign, while irrational results use an approximately-equal sign. Tiny floating-point noise is trimmed to twelve significant figures without hiding a real fractional result.

Invalid arguments and bases produce a clear undefined message rather than a misleading number. Use the calculator to confirm a hand result or to obtain the decimal when no exact simplification is available, but keep the manual steps as your record of how the answer was obtained.

If you're weighing options, How to Convert PowerPoint to Video: 2 Practical Methods covers this in detail.

If you're weighing options, 24 Number Game Solver: Check a Hand and Read Results covers this in detail.