---
title: Reading log charts
heading: How to read a chart with decade axes
eyebrow: A1 · Lesson 11 · Reading log charts
xp: 40
---

::: hook
Open the datasheet for almost any part and its graphs share a strange grid: a few labeled lines, 10, 100, 1k, 10k, and between each pair a bunch of unlabeled lines that crowd together toward the top. Ask someone new to these charts to point at 3 kHz between the 1k and 10k lines, and they usually point about a third of the way along. It's almost halfway. Reading these charts quickly and accurately is a skill every electrical engineer uses daily, and it takes about ten minutes to learn.

::: play
- The chart has log axes in both directions, the way datasheets draw a capacitor's impedance. Slide the cursor to the first unlabeled gridline above 1 kHz. What frequency does it mark? Try the next few.
- Put the cursor at 2 kHz, then 5 kHz. How far through the decade is each one? Compare with where you'd have guessed.
- Change $C$. The line slides up and down, but its slope stays the same: one decade down in impedance for each decade up in frequency.
:::
:::

```sim plot
view: graph
x: f = 10..100k Hz log
y: Z = 1..1M Ω log
slider: fc = 10..100k = 3k Hz log
slider: C = 10n..10µ = 100n F log
plot: 1/(2*pi*f*C) | label: a capacitor's impedance
point: fc, 1/(2*pi*fc*C) | label: cursor
readout: cursor = fc Hz
readout: how far through its decade = log10(fc) - floor(log10(fc)) | digits: 2
readout: impedance at the cursor = 1/(2*pi*fc*C) Ω
```

::: predict
## On a log axis, where does 3 kHz sit between the 1 kHz and 10 kHz lines?

- [ ] About a fifth of the way along
- [ ] About a third of the way along
- [x] Almost halfway
- [ ] About two thirds of the way along

::: reveal
Almost halfway: 48% of the way. On a log axis a value sits at its logarithm, and $\log_{10} 3 = 0.477$. Three times 1 kHz is nearly the same ratio step as ten divided by three, so 3 kHz lands near the middle of the decade. A third of the way along is only 2.2 kHz.
:::
:::

::: nameit
## Reading the grid

**The labeled lines are decades.** Each one is ten times the one before: 10, 100, 1k. A chart may label only some of them, so check the labels before reading anything.

**The unlabeled lines are the multiples in between.** Between 100 and 1000 they mark 200, 300, up to 900, eight lines in all. Between 1 kHz and 10 kHz they're 2 kHz, 3 kHz, up to 9 kHz. They crowd together toward the top of each decade because each step is a smaller ratio than the last: from 100 to 200 doubles the value, while from 800 to 900 adds only 12.5%.

**A few landmarks are worth knowing by heart.** As a share of the way through a decade:

| value | 2 | 3 | 5 | 7 |
|---|---|---|---|---|
| share of the decade | 30% | 48% | 70% | 85% |

**Reading a value between lines.** Measure how far the point sits through its decade, as a fraction $p$ of the distance from the labeled line below it to the next one. The value is

$$\text{value} = (\text{labeled line below}) \times 10^{p}$$

A point 60% of the way from 1 kHz to 10 kHz is $10^{0.6} = 3.98$ kHz. Never interpolate linearly: the linear guess, $1 + 0.6 \times 9 = 6.4$ kHz, is far off. The same holds even between two unlabeled lines: midway between the 200 and 300 lines is $\sqrt{200 \times 300} = 245$, the geometric mean.

**Straight lines are power laws.** On log-log axes a straight line means $y \propto x^n$, and its slope $n$ is how many decades $y$ moves for each decade of $x$. To read a value off a straight line between two known points, move along it in decades: a line falling one decade per decade, read at three times the frequency, has dropped to a third.

**Decibel axes are already logarithmic.** A Bode plot draws gain in dB against a log frequency axis. Since dB is $20 \log_{10}$ of an amplitude ratio, evenly spaced dB lines are evenly spaced ratios, so a Bode magnitude plot is a log-log chart in disguise. A slope of −20 dB per decade is an amplitude falling as $1/f$ (slope −1); −40 dB per decade falls as $1/f^2$. The phase on the same plot is in plain degrees, so its axis is linear.
:::

::: example
## On a datasheet graph, the frequency axis is labeled at 1 kHz and 10 kHz. A point sits 60% of the way from the 1 kHz line to the 10 kHz line. What frequency does it mark?

::: solution
1. **Find the share of the decade.** The point is $p = 0.6$ of a decade above the 1 kHz line.
2. **Turn the share into a factor.** Moving $p$ of a decade multiplies by $10^p$:
   $$10^{0.6} = 3.98$$
3. **Scale the labeled line.**
   $$\begin{aligned} f &= 1\ \text{kHz} \times 3.98 \\ &= 3.98\ \text{kHz} \end{aligned}$$
4. **Check against the landmarks.** 5 sits at 70% and 3 at 48%, so 60% should land between 3 and 5 kHz, nearer 3 than 5 in value. It does.

**Answer:** about 3.98 kHz, close to the 4 kHz gridline.
:::
:::

::: example
## A capacitor's impedance on a log-log datasheet plot falls in a straight line from 160 Ω at 1 kHz to 16 Ω at 10 kHz. What does it read at 3 kHz?

::: solution
1. **Find the slope.** One decade up in frequency brings one decade down in impedance, a slope of −1: impedance goes as $1/f$.
2. **Count decades to 3 kHz.**
   $$\log_{10} 3 = 0.477\ \text{decade}$$
3. **Move the same distance down.** The impedance falls 0.477 decade, a factor of $10^{0.477} = 3$:
   $$\begin{aligned} Z &= \frac{160\ \Omega}{3} \\ &= 53.3\ \Omega \end{aligned}$$
4. **Check with the formula.** The line is a capacitor's $1/(2\pi f C)$ with $C = 1/(2\pi \times 1000 \times 160) = 0.995$ µF, which gives 53.3 Ω at 3 kHz as well.

**Answer:** about 53 Ω.
:::
:::

::: example
## A low-pass filter's Bode plot is flat at 0 dB, then falls at −20 dB per decade above its 2 kHz corner. Reading the straight-line asymptote, how far down is it at 20 kHz and at 50 kHz?

::: solution
1. **Count decades above the corner at 20 kHz.** 20 kHz is ten times 2 kHz, one decade:
   $$-20\ \text{dB/decade} \times 1 = -20\ \text{dB}$$
2. **Count decades at 50 kHz.** 50 kHz is 25 times the corner:
   $$\log_{10} 25 = 1.40\ \text{decades}$$
3. **Multiply by the slope.**
   $$\begin{aligned} -20 \times 1.40 &= -28\ \text{dB} \end{aligned}$$
4. **Check as an amplitude.** −28 dB is an amplitude ratio of $10^{-28/20} = 0.040$, which is $1/25$. A slope of −20 dB per decade means amplitude falls as $1/f$, and 50 kHz is 25 times the corner.

**Answer:** 20 dB down at 20 kHz and 28 dB down at 50 kHz.
:::
:::

::: check
given: a = 1 | 10 | 100 | 1000; k = 1..8 int
answer: (k + 1)*a
tolerance: 0.5%

## A log axis is labeled at {a} and at ten times {a}. Counting up from the {a} line, what value does unlabeled gridline number {k} mark?

::: right
Right. The unlabeled lines are the multiples, $2 \times \given{a}$ up to $9 \times \given{a}$, so line {k} marks {answer}.
:::

::: misses
- [a*(1 + k/10)] That reads the lines as tenths of the decade. They mark the multiples of {a}: twice it, three times it, and so on.
- [a*10^(k/9)] The lines aren't evenly spaced in the logarithm. They mark the whole multiples of {a}.
- [k*a] Count again from {a}: the first unlabeled line above it is $2 \times \given{a}$.
- [any] Not yet. The unlabeled lines between {a} and ten times {a} mark 2, 3, 4 and so on up to 9 times {a}.
:::
:::

::: check
given: a = 1 | 10 | 100; p = 20 | 30 | 40 | 60 | 70 | 80
answer: a*10^(p/100)
unit: kHz
tolerance: 1%

## A point on a log frequency axis sits {p}% of the way from the {a} kHz line to the next labeled line, ten times higher. What frequency does it mark?

::: right
Right. $\given{a} \times 10^{0.\given{p}}$ = {answer}.
:::

::: misses
- [a*(1 + 9*p/100)] That's a linear reading. On a log axis, {p}% of a decade multiplies by $10^{0.\given{p}}$.
- [a*p/10] Percent of the way isn't percent of the value. Raise 10 to the share of the decade.
- [any] Not yet. The value is the labeled line below times 10 raised to the share of the decade.
:::
:::

::: check
given: y1 = 200 | 500 | 1000; f1 = 100 | 1000; n = -2 | -1 | 2; m = 2 | 3 | 5; let f2 = 10*f1; let y2 = y1*10^n; let f3 = m*f1
answer: y1*m^n
unit: Ω
tolerance: 1%

## On log-log axes, a straight line passes through {y1} Ω at {f1} Hz and {y2} Ω at {f2} Hz. What does it read at {f3} Hz?

::: right
Right. The line moves {n} decades of impedance per decade of frequency, so going up a factor of {m} in frequency multiplies the impedance by $\given{m}^{\given{n}}$: {answer}.
:::

::: misses
- [y1 + (y2 - y1)*(f3 - f1)/(f2 - f1)] That's linear interpolation, which a log-log chart doesn't follow. Move along the line in decades instead.
- [y1*m^(-n)] Check the direction: from {f1} Hz to {f2} Hz the line goes from {y1} Ω to {y2} Ω.
- [any] Not yet. Find the slope in decades per decade, then move up by $\log_{10} \given{m}$ decades of frequency.
:::
:::

::: check
given: s = 20 | 40 | 60; fc = 1 | 2 | 5; m = 3 | 4 | 30 | 50; let f2 = fc*m
answer: s*log10(m)
unit: dB
tolerance: 1%

## A Bode magnitude plot falls at {s} dB per decade above a {fc} kHz corner. Reading the straight-line asymptote, how many dB below the flat part is it at {f2} kHz?

::: right
Right. {f2} kHz is $\log_{10} \given{m}$ decades above the corner, and $\given{s} \times \log_{10} \given{m}$ = {answer}.
:::

::: misses
- [s*m/10] Count decades with a logarithm: {m} times the corner is $\log_{10} \given{m}$ decades.
- [s*(m - 1)/9] That's a linear reading within the decade. The frequency axis is logarithmic.
- [any] Not yet. Count decades above the corner with $\log_{10}$, then multiply by {s} dB per decade.
:::
:::

::: check
given: s = 20 | 40 | 60
answer: -s/20
tolerance: 0.5%

## A filter's Bode magnitude falls at {s} dB per decade. On log-log axes of output amplitude against frequency, what is the slope, in decades per decade?

::: right
Right. Amplitude in dB is $20 \log_{10}$ of the ratio, so {s} dB is {s}/20 decades of amplitude: the slope is {answer}.
:::

::: misses
- [-s/10] Decibels of amplitude use 20 log, not 10 log. Divide by 20.
- [s/20] The response falls, so the slope is negative.
- [-s] A decade of amplitude is 20 dB, so divide by 20.
- [any] Not yet. Convert dB to decades of amplitude by dividing by 20.
:::
:::

::: check
given: a = 100 | 200 | 300; let b = a + 100
answer: sqrt(a*b)
tolerance: 0.5%

## On a log axis, a point sits exactly midway between the {a} and {b} gridlines. What value does it mark?

::: right
Right. Midway on a log axis is the geometric mean, $\sqrt{\given{a} \times \given{b}}$ = {answer}.
:::

::: misses
- [(a + b)/2] That's the linear midpoint. Even between two unlabeled lines, the axis is logarithmic.
- [any] Not yet. Halfway on a log axis is the square root of the product of the two values.
:::
:::

::: explain
## Explain why the unlabeled gridlines on a log axis crowd together toward the top of each decade.

::: model
Equal distances on a log axis are equal ratios. Going from 1 to 2 doubles the value, a big ratio, so it takes 30% of the decade. Going from 8 to 9 adds only 12.5%, a small ratio, so that line sits close to the one before it. Each step up by one is a smaller ratio than the step before, so the lines get closer together as they approach the next decade.
:::
:::

::: practice

::: check
given: a = 10 | 100 | 1000; k = 1..8 int
answer: (k + 1)*a
tolerance: 0.5%

## Counting up from the {a} line on a log axis, what value does unlabeled gridline number {k} mark?

::: misses
- [a*(1 + k/10)] The lines mark the multiples of {a}, not tenths of the decade.
- [any] The lines between {a} and ten times {a} mark 2, 3, 4 and so on up to 9 times {a}.
:::
:::

::: check
given: a = 1 | 10 | 100; p = 15 | 25 | 35 | 45 | 55 | 65 | 75 | 85 | 95
answer: a*10^(p/100)
unit: kHz
tolerance: 1%

## A point sits {p}% of the way from the {a} kHz line to the next labeled line on a log axis. What frequency is it?

::: misses
- [a*(1 + 9*p/100)] That's a linear reading. Multiply by 10 raised to the share of the decade.
- [any] The labeled line below times 10 to the share of the decade.
:::
:::

::: check
given: v = 1.5 | 2 | 2.5 | 3 | 4 | 5 | 6 | 7 | 8 | 9
answer: 100*log10(v)
unit: %
tolerance: 1%

## How far through a decade, as a percentage, does the line for {v} times the decade's start sit?

::: misses
- [100*(v - 1)/9] That's the linear position. On a log axis the position is $\log_{10}$ of the multiple.
- [any] The share of the decade is $\log_{10} \given{v}$.
:::
:::

::: check
given: y1 = 100 | 300 | 800; n = -2 | -1 | 2; m = 2 | 3 | 4 | 6; let y2 = y1*10^n
answer: y1*m^n
unit: Ω
tolerance: 1%

## A straight line on log-log axes passes through {y1} Ω at 1 kHz and {y2} Ω at 10 kHz. What does it read at {m} kHz?

::: misses
- [y1 + (y2 - y1)*(m - 1)/9] Linear interpolation doesn't follow a log-log line. Move along it in decades.
- [any] Multiply by {m} raised to the slope in decades per decade.
:::
:::

::: check
given: s = 20 | 40; m = 2 | 3 | 5 | 20 | 50 | 200
answer: s*log10(m)
unit: dB
tolerance: 1%

## A Bode magnitude falls at {s} dB per decade above its corner. How many dB down is the asymptote at {m} times the corner frequency?

::: misses
- [s*m/10] Count the decades with $\log_{10}$ first.
- [any] $\log_{10} \given{m}$ decades times {s} dB per decade.
:::
:::
:::
