How to Make a Logarithmic Graph in Excel
Ever create a chart in Excel where one or two massive data points smash everything else down to the bottom axis? It's a common problem when your data has a huge range, making your graph almost impossible to read. This article will show you how to solve that problem by creating a logarithmic graph, transforming your squished, unreadable chart into a clear, insightful visual.
What Exactly is a Logarithmic Scale?
Before jumping into Excel, let’s quickly cover what a logarithmic (or log) scale actually does. On a standard, linear scale - the kind we see every day - the distance between each point is the same. The distance between 10 and 20 is the same as the distance between 90 and 100.
A logarithmic scale works differently. Instead of equal steps, it’s based on orders of magnitude - powers of 10. The major gridlines on a log scale might be 1, 10, 100, 1,000, 10,000, and so on. The distance between 10 and 100 is the same as the distance between 100 and 1,000.
Think about comparing the annual revenue of a local coffee shop ($150,000) with that of Starbucks ($36 billion). On a standard bar chart, the coffee shop's bar would be practically invisible. But on a logarithmic scale, you could clearly see and compare both values because the scale expands to accommodate numbers of wildly different sizes.
In short, a log scale helps you visualize data that spans several orders of magnitude in one coherent chart. It's particularly useful for seeing percentage changes or growth rates, as exponential growth appears as a straight line.
When Should You Use a Logarithmic Graph in Excel?
Logarithmic scales aren't for every situation, but they are a fantastic tool when you encounter specific data challenges. Here are a few common scenarios where a log scale can make your data story much clearer:
- You have a massive range of values. This is the most common reason. If your dataset includes values like 50, 200, 5,000, and 8,000,000, a linear scale will render the smaller numbers indistinguishable. A classic example is analyzing website traffic from different sources, where organic search might bring millions of visitors while a small paid campaign brings in a few thousand.
- You need to visualize rates of change. On a log scale, a straight line represents a constant rate of change (e.g., 10% growth month over month). On a linear scale, this same constant growth would look like a steepening curve, which can be harder to interpret. This makes log scales ideal for plotting things like stock prices, viral marketing campaign performance, or population growth.
- Your data contains outliers that distort the scale. Sometimes, just one or two huge outliers can flatten the rest of your data. Applying a log scale to the axis de-emphasizes the absolute difference of these outliers and brings the focus back to the overall trend in the rest of the dataset.
If your data is all within a tight range (e.g., all values are between 1,000 and 5,000), a standard linear scale will almost always be clearer and easier for your audience to understand.
How to Make a Logarithmic Graph in Excel (Step-by-Step)
Creating a logarithmic graph is straightforward once you know where to look. We’ll start by creating a normal chart and then converting one of its axes to a log scale. For this example, let's use a sample dataset of monthly app downloads that grows exponentially.
Step 1: Set Up Your Data
First, enter your data into two columns in your Excel sheet. For our example, we'll have 'Month' in Column A and 'Downloads' in Column B. Our download numbers will have a large range to show off the log scale's power.
Here’s our sample data:
Step 2: Insert a Standard Chart
Now, let's create a regular line or scatter chart. This is the starting point before we apply the logarithmic transformation.
- Highlight your data, including the headers (cells A1 to B13 in our example).
- Go to the Insert tab on the Excel ribbon.
- In the Charts group, click on Insert Line or Area Chart for a line graph, or Insert Scatter (X, Y) or Bubble Chart for a scatter plot. A simple 2-D Line chart is perfect for this example.
Excel will instantly generate a chart. You'll notice that the early months' data points are squashed near the bottom because the later months' values are so much larger, creating that classic "hockey stick" curve.
Step 3: Format the Vertical Axis
This is where the magic happens. We need to access the axis settings and tell Excel to use a logarithmic scale.
- Right-click on the vertical (Y) axis of your chart - the one with the 'Downloads' numbers.
- From the context menu that appears, select Format Axis....
- This will open the Format Axis task pane on the right side of your screen.
Step 4: Switch to a Logarithmic Scale
In the Format Axis pane, under Axis Options, you'll see a series of settings. Just look for the one we need.
- Find the checkbox labeled Logarithmic scale and click it.
Instantly, your chart will transform. The vertical axis will change to show powers of 10 (1, 10, 100, 1,000, etc.), and what was a steep curve will now look like a nearly straight line, more clearly illustrating the consistent rate of growth in our downloads.
Customizing Your Logarithmic Axis
After checking the box, you can fine-tune the axis further for better readability.
- Base: Excel defaults the log scale to Base 10, which is what you'll want most of the time. You technically can change this number, but it's rare to need anything other than 10.
- Bounds: You can set the Minimum and Maximum values for your axis. This is useful for zooming in on a specific part of your data. Remember, a logarithmic scale cannot start at 0, so Excel will automatically set the minimum to 1 or another small positive number. If your data includes values less than 1, you might set the minimum to 0.1 or 0.01.
- Gridlines: Log scales often benefit from more gridlines to help guide the eye. To add them, click on the chart, go to the + icon (Chart Elements), find Gridlines, click the little arrow next to it, and check Primary Minor Vertical. This will add fainter lines between the major orders of magnitude, making it easier to estimate the values of your data points.
Common Mistakes to Avoid
Logarithmic graphs are powerful but come with a couple of important rules and considerations.
1. The Zero and Negative Number Problem
This is the biggest gotcha: logarithmic scales cannot display zero or negative values. The logarithm of a non-positive number is undefined. If your dataset contains zeros or negative numbers, Excel will either ignore them or throw an error, leading to gaps in your chart.
The Fix: If zeros in your data actually mean "no data," you can filter them out. If zero represents a very small, legitimate value, you might need to adjust your dataset. A common workaround is to replace the zero values with a very small number (like 0.1) or to simply start the axis range slightly above zero.
2. Risk of Misinterpretation
Your audience may not be familiar with logarithmic scales. People are conditioned to interpret bar height or line steepness linearly. They might look at your log-scale graph and mistakenly think that growth has slowed down, when in reality it's the rate of growth that has remained constant.
The Fix: Always, always label your chart clearly. Make sure your title and axis labels are descriptive. You could even add a note like "(Vertical axis is on a logarithmic scale)" in the chart's subtitle or footer to prevent any confusion.
Final Thoughts
Learning how to use logarithmic graphs in Excel is a fundamental skill for anyone who works with data prone to large swings or exponential change. It's a reliable way to make sense of otherwise chaotic-looking datasets and tells a clearer, more accurate story with your visualizations.
Switching between linear and log scales is easy, but getting your visuals just right often involves more steps than we'd like. We built Graphed to simplify this whole process. Instead of working through menus, you can just ask for what you need in plain English - like "Show me our web traffic from Google Analytics by country with a logarithmic scale" - and our tool instantly creates an interactive, real-time dashboard for you. It automatically pulls data from your sources, so there’s no more manual data entry or chart formatting, just fast, clear answers to your questions.
Related Articles
How to Connect Facebook to Google Data Studio: The Complete Guide for 2026
Connecting Facebook Ads to Google Data Studio (now called Looker Studio) has become essential for digital marketers who want to create comprehensive, visually appealing reports that go beyond the basic analytics provided by Facebook's native Ads Manager. If you're struggling with fragmented reporting across multiple platforms or spending too much time manually exporting data, this guide will show you exactly how to streamline your Facebook advertising analytics.
Appsflyer vs Mixpanel: Complete 2026 Comparison Guide
The difference between AppsFlyer and Mixpanel isn't just about features—it's about understanding two fundamentally different approaches to data that can make or break your growth strategy. One tracks how users find you, the other reveals what they do once they arrive. Most companies need insights from both worlds, but knowing where to start can save you months of implementation headaches and thousands in wasted budget.
DashThis vs AgencyAnalytics: The Ultimate Comparison Guide for Marketing Agencies
When it comes to choosing the right marketing reporting platform, agencies often find themselves torn between two industry leaders: DashThis and AgencyAnalytics. Both platforms promise to streamline reporting, save time, and impress clients with stunning visualizations. But which one truly delivers on these promises?