How to use the Semi-Log Graph Maker
- Paste two columns (X, then Y) or upload a CSV file. Y values must be above zero.
- Keep the chart type on "Scatter" or choose "Line + markers".
- Under Axes tick "Log Y". The Y axis switches to powers of ten with minor ticks.
- Under Trendline choose "Exponential" to get the equation, then read the rate from the exponent.
- Download the graph as SVG, PDF or PNG.
What makes a graph semi-log
A semi-log graph uses a logarithmic scale on one axis only, almost always the Y axis, and an ordinary linear scale on the other. “Semi” simply means half: half of the graph is logarithmic. On the log axis equal distances stand for equal ratios, so the step from 10 to 100 looks the same as the step from 100 to 1,000.
This is useful for a specific reason. When a quantity changes by the same percentage in every step, which is what exponential growth and decay are, its logarithm changes by the same amount in every step. Plotted against a linear X axis, that gives a straight line. Departures from the line are easy to spot, which is why semi-log plots are the standard way to look for exponential behaviour.
Worked example: radioactive decay
The sample data are counts from a decaying source, measured every 10 seconds. The counts fall from 1,000 to 67 in 90 seconds. On a linear axis the curve flattens out towards zero and it is hard to tell by eye whether the decay is truly exponential. On a log Y axis the points fall on a straight line, which confirms it.
The slope of that line is the decay constant. Using the natural logarithm of the counts at the start and the end gives (ln 67 − ln 1000) / 90 = −0.0300 per second, so the half-life is ln 2 / 0.0300 ≈ 23 seconds. The exponential trendline calculates the same constant from all ten points, not just two.
| Time (s) | Counts | ln(counts) |
|---|---|---|
| 0 | 1000 | 6.908 |
| 30 | 407 | 6.009 |
| 60 | 165 | 5.106 |
| 90 | 67 | 4.205 |
Every 30 seconds ln(counts) drops by about 0.90, a constant step, which is what a straight semi-log line means.
Semi-log or linear: which to choose
Use a linear axis when you care about absolute differences, such as how many units were sold each month. Use a semi-log axis when you care about proportional change, or when values span several orders of magnitude and the small ones would otherwise be invisible. Typical semi-log subjects are bacterial growth curves, drug concentration in blood, capacitor discharge, compound interest, population growth and pH or decibel-style data.
If the points do not form a line on a semi-log plot, the process is not a single exponential. A curve bending upwards suggests faster-than-exponential growth, bending downwards suggests the rate is slowing (for example nutrients running out), and a kink suggests two phases. If the line is straight on a log-log plot instead, the relationship is a power law; use the log-log graph maker.
Semi-log graph paper vs software
Textbooks often tell students to plot on semi-log graph paper, which has the log scale printed on it. Software does the same job without the paper, and also fits the line for you. The one thing to keep from the paper method is to label the axis clearly as logarithmic and to keep the decade tick labels (1, 10, 100) so a reader knows the scale at a glance.
In Excel or Google Sheets you can get the same effect by setting the vertical axis scale to “Logarithmic” in the axis options. Plotiq does that in one tick and adds the exponential trendline with its equation.
Mistakes to avoid
Do not include zero or negative values: the logarithm is undefined for them, so those points cannot be shown on a log axis. Do not read differences off a log axis as if they were linear, because the same vertical distance means a larger absolute change higher up. And when you quote a rate, say whether you used natural logarithms or base 10, since the slopes differ by a factor of 2.303. The guide to log scales explains the maths in more detail.
Frequently asked questions
- How do I make a semi-log graph?
- Plot X on a linear axis and tick “Log Y” under Axes. The Y axis switches to a logarithmic scale. Add an exponential trendline to get the rate.
- What does a straight line on a semi-log plot mean?
- That Y changes by a constant factor for each equal step in X, in other words exponential growth or decay. The slope of the line gives the rate constant.
- How do I find the half-life or doubling time?
- Fit an exponential trendline y = a·e^(bx). The half-life (for decay, b negative) or doubling time (for growth, b positive) is ln(2) / |b|, in the units of the X axis.
- Can I plot zero on a semi-log graph?
- No. A logarithm is only defined for positive numbers, so points at zero or below are skipped. Consider a small documented offset or a linear axis.
- Is my data private?
- No. Your data never leaves your browser. Plotiq parses and plots files locally with JavaScript, so nothing is uploaded to a server.
Last updated: · by Dev Patel ·Read our guides