Skip to main content
Skip to main content
DigiCalcs
Back to Guides
5 min read6 Steps

How to Calculate Logarithms: Step-by-Step Guide

Learn to manually calculate logarithms using their fundamental definition and the change of base formula. Includes step-by-step instructions, a worked example, and common pitfalls to avoid.

Skip the math — use the calculator

Step-by-Step Instructions

1

Identify the Base and Argument

First, identify the base ($b$) and the argument ($x$) of the logarithm $\log_b(x)$. The base is the small number written as a subscript, and the argument is the number inside the parentheses.

2

Rewrite in Exponential Form (Direct Method)

For direct calculation, set the logarithm equal to an unknown variable, $y$, so $\log_b(x) = y$. Then, rewrite this in its equivalent exponential form: $b^y = x$. This transforms the problem into finding the exponent.

3

Solve for the Exponent

Determine what power $y$ the base $b$ must be raised to in order to equal the argument $x$. This often involves recognizing powers of the base. If $x$ is not an obvious power of $b$, proceed to Step 4.

4

Apply the Change of Base Formula (If Not Direct)

If the argument is not a direct integer power of the base, use the change of base formula: $\log_b(x) = \frac{\log_c(x)}{\log_c(b)}$. Choose a convenient base $c$ (typically 10 or $e$) for which you can find the logarithm values (e.g., from tables or a calculator).

5

Evaluate and Divide

Calculate the two new logarithms ($\log_c(x)$ and $\log_c(b)$) using your chosen base $c$. Then, perform the division to obtain the approximate value of the original logarithm.

6

State Your Result

Clearly state the final value of the logarithm, indicating if it's an exact value or an approximation.

How to Calculate Logarithms: Step-by-Step Guide

Logarithms are a fundamental concept in mathematics, serving as the inverse operation to exponentiation. Understanding how to calculate them manually is crucial for grasping their underlying principles and for solving various equations across science and engineering. This guide will walk you through the process, from basic definitions to applying the change of base formula.

Prerequisites

Before diving into logarithms, ensure you have a solid understanding of:

  • Exponents: The concept of a base raised to a power (e.g., $2^3 = 8$).
  • Basic Algebra: Solving simple equations for an unknown variable.
  • Familiarity with Common Bases: Recognizing powers of common numbers like 2, 3, 5, 10.

Understanding Logarithms

A logarithm answers the question: "To what power must the base be raised to get a certain number?"

The general form of a logarithm is:

$$ \log_b(x) = y $$

Where:

  • $b$ is the base of the logarithm ($b > 0$ and $b \neq 1$).
  • $x$ is the argument (or number) ($x > 0$).
  • $y$ is the exponent or the value of the logarithm.

This logarithmic equation is equivalent to the exponential equation:

$$ b^y = x $$

For example, $\log_2(8) = 3$ because $2^3 = 8$. Similarly, $\log_{10}(100) = 2$ because $10^2 = 100$.

Common logarithms include:

  • Common Logarithm: Base 10, often written as $\log(x)$ (without a subscript).
  • Natural Logarithm: Base $e$ (Euler's number, approximately 2.71828), written as $\ln(x)$.

Key Formulas

  1. Definition of Logarithm: $$ \log_b(x) = y \quad \iff \quad b^y = x $$

  2. Change of Base Formula: This formula is essential when you need to calculate a logarithm with a base not readily available on standard calculators (e.g., $\log_2(10)$) or when you want to convert to a common base (like 10 or $e$). $$ \log_b(x) = \frac{\log_c(x)}{\log_c(b)} $$ Where $c$ can be any convenient base, typically 10 or $e$.

Step-by-Step Manual Logarithm Calculation

We will cover two scenarios: direct calculation and using the change of base formula.

Scenario 1: Direct Calculation (When the argument is a clear power of the base)

Example 1: Calculate $\log_3(81)$

Step 1: Identify the Base and Argument

The given logarithm is $\log_3(81)$.

  • Base ($b$) = 3
  • Argument ($x$) = 81

Step 2: Rewrite in Exponential Form

According to the definition, $\log_b(x) = y$ is equivalent to $b^y = x$. So, we set up the equation:

$3^y = 81$

Step 3: Solve for the Exponent

Determine what power $y$ the base 3 must be raised to in order to get 81. You can do this by trial and error or by recognizing powers of 3:

  • $3^1 = 3$
  • $3^2 = 9$
  • $3^3 = 27$
  • $3^4 = 81$

Thus, $y = 4$.

Step 4: State the Result

Therefore, $\log_3(81) = 4$.

Scenario 2: Using the Change of Base Formula (When direct calculation is not obvious or requires approximation)

Example 2: Calculate $\log_2(10)$

It's not immediately obvious what power 2 must be raised to to get 10 ($2^3=8$, $2^4=16$). This indicates the result will be a non-integer, often requiring approximation or a calculator. For manual calculation, we use the change of base formula.

Step 1: Identify the Base and Argument

The given logarithm is $\log_2(10)$.

  • Base ($b$) = 2
  • Argument ($x$) = 10

Step 2: Choose a Convenient New Base (c)

For manual calculation, base 10 (common logarithm) or base $e$ (natural logarithm) are standard choices as their values for many numbers can be found in tables or are calculator-friendly. Let's choose base 10 ($c=10$).

Step 3: Apply the Change of Base Formula

Using the formula $\log_b(x) = \frac{\log_c(x)}{\log_c(b)}$:

$\log_2(10) = \frac{\log_{10}(10)}{\log_{10}(2)}$

Step 4: Evaluate the New Logarithms

  • $\log_{10}(10)$: To what power must 10 be raised to get 10? $10^1 = 10$, so $\log_{10}(10) = 1$.
  • $\log_{10}(2)$: This value is not an integer. For manual calculation without a table, you'd need to approximate. For example, $10^0 = 1$ and $10^1 = 10$, so $\log_{10}(2)$ is between 0 and 1. A typical approximation (often found in tables or given) is $\log_{10}(2) \approx 0.3010$.

Step 5: Perform the Division

Now, divide the evaluated logarithms:

$\log_2(10) \approx \frac{1}{0.3010} \approx 3.322$

Step 6: State the Result

Therefore, $\log_2(10) \approx 3.322$.

Common Pitfalls and Mistakes

  • Logarithm of Non-Positive Numbers: You cannot take the logarithm of zero or a negative number. The argument ($x$) must always be greater than zero.
  • Incorrect Base: Always pay close attention to the base. $\log_2(8)$ is not the same as $\log_8(2)$.
  • Confusing Logarithm Properties: Ensure you correctly apply properties like $\log(AB) = \log A + \log B$ or $\log(A/B) = \log A - \log B$ if you are simplifying expressions.
  • Approximation Errors: When using the change of base formula with approximated values for common or natural logs, your final answer will also be an approximation. The more decimal places you use, the more accurate your result.

When to Use a Calculator

While understanding manual calculation is vital, logarithms often yield non-integer, irrational results. A calculator is invaluable for:

  • Complex Arguments or Bases: When $x$ or $b$ are large, fractional, or irrational numbers.
  • Non-Integer Results: For logarithms like $\log_2(10)$ where the answer is not a simple integer.
  • Speed and Efficiency: For quick calculations in practical applications.
  • Accuracy: To obtain highly precise decimal approximations, especially when using the change of base formula and requiring many significant figures.

Mastering the manual calculation of basic logarithms builds a strong foundation, while leveraging a calculator for more complex or approximate scenarios provides efficiency and precision.

Ready to Calculate?

Skip the manual work and get instant results.

Open Calculator

Settings

PrivacyTermsAbout© 2026 DigiCalcs