Library · TradingView & Chart Tools
Price Scales: Log vs Linear
A linear price scale gives equal space to equal price changes, while a logarithmic scale gives equal space to equal percentage changes. The same data can look very different on each.
Why it matters
The price axis looks like a neutral ruler. It is a setting, and it has two common modes. Switching between them can turn a chart that looks like a vertical wall into a steady slope, with no change to the data.
This matters most for assets whose price has changed by large multiples, which is common in crypto. On such charts, the choice of scale decides which part of the history is visible at all, and where a drawn line sits.
About the platform named here
TradingView is used as the familiar example. edgeTR Academy is not affiliated with TradingView, and the same ideas apply to other charting tools.
What it looks like
Both figures plot the same six made-up prices. On the linear scale, also called arithmetic, the distance from 10 to 20 is a thirty-second of the distance from 0 to 320, so the early doublings are squashed flat. On the logarithmic scale, usually shortened to log, each doubling takes the same height.
How it works
| Aspect | Linear scale | Log scale |
|---|---|---|
| Equal space shows | Equal price change | Equal percentage change |
| Example axis labels | 100, 200, 300, 400 | 100, 200, 400, 800 |
| 10 to 20 compared with 100 to 110 | Same height | The first is about 7 times taller |
| A straight rising line means | The same price gain each period | The same percentage gain each period |
| Can show zero or negative values | Yes | No |
A linear axis places prices by their difference. Moving from 100 to 110 covers the same distance as moving from 10 to 20, because both are a change of 10.
A log axis places prices by their ratio. Moving from 10 to 20 covers the same distance as moving from 100 to 200, because both are a doubling.
Height on a log scale is proportional to log(end price / start price)Equal ratios give equal heights, whatever the price level.In plain words
A child who grows from 50 cm to 100 cm and a tree that grows from 10 m to 10.5 m have both gained 50 cm. On a ruler they grew the same amount. In proportion, the child doubled and the tree barely changed. A linear scale is the ruler. A log scale shows the proportion.
How to read it
When the two look alike. Over a narrow range, the scales are almost indistinguishable. If the visible prices run from 95 to 105, switching makes little difference.
When they diverge. Over a wide range the difference is large. On a linear chart of an asset that went from 1 to 1,000, everything below 100 is pressed into the bottom tenth of the screen. Early moves of several hundred percent look like a flat line. A log chart gives those early moves the same space as later moves of the same percentage size.
Why log is common on long charts. A position’s gain or loss follows the percentage change in price, which is why long-term charts of fast-growing assets are often viewed on a log scale. The arithmetic of percentages is covered in Drawdown.
Going deeper
Drawn lines move
A straight line means different things on each scale. On a linear chart, a straight rising line is a constant price gain per period. On a log chart, it is a constant percentage gain per period.
When the scale is switched, a platform keeps a line’s two anchor points and redraws the straight line between them. In between and beyond the anchors, the line now passes through different prices. A trend line that price respected on one scale can appear broken on the other. See Drawing Trend Lines.
Limits of the log scale
A logarithm is not defined for zero or negative numbers, so a log axis cannot show them. Prices are positive, so price panes are unaffected. Indicator panes with values that cross zero, such as MACD, use a linear scale.
Two hypothetical moves and one lineHypothetical illustration
Two moves. A made-up asset rises from 10 to 20, and much later from 100 to 110.
- On a linear scale both moves are 10 units tall.
- On a log scale the heights follow the ratios: log(2) is about 0.693 and log(1.1) is about 0.095. The first move is about 0.693 / 0.095 = 7.3 times taller.
Equal in price on one scale, a 100% gain against a 10% gain on the other: both readings are true.
One line. A line is anchored at 100 on candle 0 and at 400 on candle 20.
- On a linear scale, the line passes through 250 at candle 10, halfway between 100 and 400.
- On a log scale, the line passes through 200 at candle 10, because 100 to 200 and 200 to 400 are both doublings.
A candle low of 220 at candle 10 is below the line on one scale and above it on the other.
What it does NOT mean
- A log scale is not the more correct scale. It answers a question about proportion. A linear scale answers one about price difference.
- A steep curve on a linear chart does not mean growth is accelerating in percentage terms. A constant percentage rate looks like a steepening curve on a linear axis.
- A line break on one scale is not a break on the other. The line itself is in a different place.
- Switching the scale does not change the data. It changes only the spacing of the axis.
Common mistakes
- Not checking which scale is active. The setting is easy to change by accident and easy to miss in a screenshot.
- Drawing a line on one scale and reading it on the other. Its position between the anchors changes.
- Choosing the scale that makes a chart support a view. Either scale can be used to make a move look dramatic or mild.
Risks and limitations
- The scale affects every sloped drawing, so analysis built on trend lines and channels depends on it.
- On a log scale, a fall that is large in currency terms at high prices takes up less of the screen than it does on a linear scale.
Key takeaway
A linear scale spaces prices by equal amounts and a log scale spaces them by equal percentages. Over wide price ranges the two show the same data very differently, and sloped lines sit in different places, so the active scale is always part of what a chart says.
Sources and further reading
- Technical Analysis of the Financial Markets, John J. Murphy (1999). Arithmetic versus logarithmic price scales in chart construction
- How to configure your Supercharts (opens in a new tab), TradingView. Describes the price scale modes: the logarithmic scale plots percentage changes in price, and the percent scale