Indicators

Bollinger Bands

Three lines on a chart: an average, and a channel that widens when price gets choppy. The man who built them has published a numbered rule saying a touch of the outer line is not a signal — and another saying not to trust the statistics in his own formula.

Also called: BB · Bollinger Band · Bollinger’s bands · volatility bands · the bands

Reviewed 12 August 2026 · Sourced from John Bollinger’s own published rules and construction notes, platform documentation, and two named papers on how prices are actually distributed

The short version

Bollinger Bands are three lines over a price chart: a moving average in the middle, and two bands set a fixed number of standard deviations above and below it, so the channel widens when price has been volatile and narrows when it has been quiet.

They exist to answer one narrow question. John Bollinger’s first published rule about them says they “provide a relative definition of high and low” — high compared with this security’s own recent behavior, not high compared with anything else and not high in any absolute sense. Almost everything that goes wrong with the tool goes wrong because somebody read the outer line as an instruction instead of a description. Bollinger wrote a rule about that too, and it is quoted in full further down.

Key takeaways
  • Bollinger’s own Rule 6 says a band tag is not a signal. His published wording: “A tag of the upper Bollinger Band is NOT in-and-of-itself a sell signal. A tag of the lower Bollinger Band is NOT in-and-of-itself a buy signal.”
  • The default build is a 20-period simple moving average with bands at ±2 standard deviations of the same 20 closes. Rule 9 calls those numbers “just that, defaults.”
  • The “95% of prices fall inside the bands” claim is wrong, and its author is the one who says so. Rule 14: security prices are non-normal and the sample is too small for statistical significance — “in practice we typically find 90%, not 95%.”
  • Price can ride a band for weeks. Rule 7: in trending markets price “can, and does, walk up the upper Bollinger Band and down the lower Bollinger Band.” Same failure mode as RSI sitting above 70 for months.
  • A squeeze measures volatility, not direction. Narrow bands say movement has been small recently. Nothing in the arithmetic points up or down.
  • The standard deviation uses the population formula — divide by 20, not by 19. A spreadsheet’s default does the opposite, which moves each band by 10 cents on the worked example below.
  • There is no hit rate anywhere on this page, because no named study establishes one for a band tag, a squeeze or any pattern drawn on these bands.

What the three lines are drawing

A stock you have been watching pokes above a curved line on the chart. Somebody in the replies says “overbought,” somebody else says take the profit while it lasts. Three weeks later the stock is higher than it was that day, and it has spent almost every session since pressed right up against that same line. Whoever sold the first touch has been watching from the sidelines the whole time.

That line is the upper Bollinger Band. The reason the replies got it wrong is not subtle and not a matter of opinion: the band was never a sell signal, and the man who invented it published a numbered rule saying so. That rule is quoted word for word below.

Bollinger Bands are three lines laid over a price chart. The middle one is a plain moving average — add up the last 20 closing prices, divide by 20, plot the dot, do it again tomorrow. The other two sit above and below that average, and the distance is set by how much the price has actually been moving around lately. Choppy stretch, the outer lines spread apart. Quiet stretch, they squeeze in toward the average. It is a channel that breathes with volatility.

John Bollinger developed them in the 1980s and still maintains bollingerbands.com, where he has published a list of 22 rules for using them. Rule 1 is the cleanest definition of purpose anybody has written: the bands “provide a relative definition of high and low. By definition price is high at the upper band and low at the lower band.”

The one-sentence version

The bands say “this price is high or low compared with how this thing has been trading for the last month.” That is all the word “high” means here. Not expensive, not overvalued, not about to fall.

Everything else on this page is either how that gets calculated, or a list of the things people load onto it that it cannot carry.

How the bands are built, with the arithmetic shown

You will never compute this by hand, but the formula is short and knowing its shape explains three separate things that confuse people later.

Bollinger Bands — the default constructionUpper / lower band = 20-period SMA ± ( 2 × standard deviation of the same 20 closes )

The middle band is that 20-period simple moving average itself. The standard deviation is measured on exactly the same 20 closing prices the average is built from, and both are recomputed from scratch on every new bar.

Two construction details are worth having. First, the middle band is a simple moving average, not an exponential one, and Bollinger’s Rule 12 gives the reason: “a simple average is used in the standard deviation calculation and we wish to be logically consistent.” Second, his site specifies the population calculation for standard deviation — divide the summed squared deviations by 20, not by 19. That sounds like pedantry until you check it against a spreadsheet, which defaults to the other one.

Worked example — 20 closes, computed line by line

A stock closes at these prices over 20 sessions, drifting up from the mid-40s to the low 50s:

SessionsClosing prices
1–5$46.95 · $47.20 · $47.80 · $48.00 · $47.85
6–10$48.10 · $48.55 · $48.75 · $48.60 · $49.60
11–15$50.40 · $51.25 · $51.40 · $51.90 · $51.45
16–20$52.00 · $52.15 · $52.80 · $52.20 · $53.05

Those 20 closes add to $1,000.00, so the middle band is $1,000.00 ÷ 20 = $50.00. Take each close’s distance from $50.00, square it, add all 20 up, and you get 80.00. Divide by 20 for the population variance: 80.00 ÷ 20 = 4.00. The standard deviation is the square root of that, $2.00. Two of those is $4.00.

Middle band $50.00 · upper band $54.00 · lower band $46.00 — a channel $8.00 wide on a $50 stock.

Now the divide-by-19 problem. A spreadsheet’s standard deviation function divides by 19 instead: 80.00 ÷ 19 = 4.2105, whose square root is $2.05, putting the bands at $54.10 and $45.90. Ten cents off in each direction, from nothing but the denominator. If you ever build this yourself and your numbers disagree with your platform by a hair, look there first.

The third thing the formula shows is that the outer bands have no independent existence. Nobody drew them, and no buyer or seller is watching a price there the way they might watch a round number or a prior high. They are the average plus a number computed from the last 20 bars. When those bars change, the bands move — including moving away from a price that just touched them.

Why it is not 95%, and why the creator says so himself

Here is the claim you will meet within ten minutes of learning what a standard deviation is: two standard deviations covers about 95% of observations, so about 95% of prices should sit inside Bollinger Bands, so a price outside them is a rare event worth acting on.

The intuition is appealing because the first half is genuinely true — for a normal distribution. In a bell-shaped normal distribution, roughly 95% of values do fall within two standard deviations of the mean. That is a real property of a real mathematical object. The problem is every step of getting from there to a stock chart.

Asset returns are not normally distributed. Eugene Fama measured this in 1965 in The Behavior of Stock-Market Prices and found daily stock returns had fatter tails and a taller peak than a normal distribution — too many tiny days and far too many enormous ones for the bell curve to describe. Extreme moves are not as rare as the normal distribution says. They are also the exact moves that push price outside a band, so the assumption breaks precisely where you were leaning on it.

Volatility clusters. Big moves arrive next to other big moves; quiet days next to other quiet days. Robert Engle formalized this in 1982 with ARCH models in Econometrica, and the 2003 Nobel Memorial Prize in Economic Sciences cited him “for methods of analyzing economic time series with time-varying volatility (ARCH).” If volatility is not constant, a single standard deviation figure is not describing a stable spread. It is describing one recent stretch, which the next stretch is under no obligation to match.

And the sample is 20 observations of a moving target. Twenty is a very small sample for saying anything about a distribution’s tails. Worse, the thing being averaged has no fixed center: over the 20 sessions above, price drifted from the mid-$46s to $53. The mean is walking, and a standard deviation measured around a walking mean is partly measuring the walk rather than the noise.

Bollinger’s Rule 14, verbatim

“Make no statistical assumptions based on the use of the standard deviation calculation in the construction of the bands. The distribution of security prices is non-normal and the typical sample size in most deployments of Bollinger Bands is too small for statistical significance. (In practice we typically find 90%, not 95%, of the data inside Bollinger Bands with the default parameters)” — John Bollinger, 22 Bollinger Bands Rules.

That is the single most useful sentence written about this indicator, and it comes from the person with the most to gain from you believing otherwise. The originator’s own instruction is to draw no statistical conclusion from the standard deviation in his own formula.

His parenthetical figure is around 90%. StockCharts’ documentation, describing the same defaults, says the bands “should contain 88-89% of price action.” Neither publishes the dataset, the securities or the period, and they do not agree with each other, so both sit under Unverified in the ledger below. What they agree on is the part that matters: it is not 95%, and the gap is not rounding error. Notice too that in the worked example, none of the 20 closes fell outside the bands. That is what small samples do, and it is evidence of nothing.

What Bollinger says his own bands are not

The most valuable page on bollingerbands.com is the rule list, because most of it is the author narrowing the claims other people make on his behalf. Four rules do the heavy lifting, and they are worth quoting rather than summarizing.

Rule 6 — tags are not signals. “Tags of the bands are just that, tags not signals. A tag of the upper Bollinger Band is NOT in-and-of-itself a sell signal. A tag of the lower Bollinger Band is NOT in-and-of-itself a buy signal.” The capital letters are his. When a chart tutorial teaches you to fade the upper band, it is teaching you something the tool’s author explicitly ruled out.

Rule 8 — a close outside the bands means the opposite of what people assume. “Closes outside the Bollinger Bands are initially continuation signals, not reversal signals.” The instinct on seeing price break out of the channel is that it has gone too far and must snap back. Bollinger’s stated reading is the reverse: the first thing a close outside the band suggests is more of the same.

Rule 2 — the bands are an input, not an output. “That relative definition can be used to compare price action and indicator action to arrive at rigorous buy and sell decisions.” The bands supply the relative context; the decision is supposed to come from combining that with something else. Rule 4 adds that if you use more than one indicator alongside them, they should measure genuinely different things — two momentum tools stacked together repeat one opinion in two fonts. Pair them with something reading volume rather than a second oscillator.

Rule 22 — the honest ceiling on the whole thing. “Bollinger Bands do not provide continuous advice; rather they help identify setups where the odds may be in your favor.” Note “may.” No number follows it, in his rules or on this page, because no named study establishes a hit rate for any Bollinger Band signal and anybody quoting you one got it from somewhere other than the source.

That is an unusual thing for an indicator’s creator to publish, and it is the reason this tool is worth learning while a lot of chart furniture is not. The claims are bounded and the boundaries are written down.

Walking the band

The specific way band-tag trading loses money has a name, and again the name comes from Bollinger. Rule 7: “In trending markets price can, and does, walk up the upper Bollinger Band and down the lower Bollinger Band.”

The arithmetic makes this inevitable rather than surprising. The bands are recomputed on every bar from the most recent 20 closes. In a persistent advance, each new close is higher, so the average rises, so the whole channel rises with it. Price does not have to fall back to the average for the tag to end — the average can come up to meet the price. Nothing in the construction limits how many sessions in a row that can happen. There is no counter, no cap, no accumulating pressure.

TradingView’s own documentation describes the same behavior and states plainly that during a strong trend these breakthroughs “are not actual reversal signals.”

You have seen this failure before

This is the same trap as RSI staying above 70 for months in a strong uptrend, and it fails for the same structural reason: both indicators are bounded descriptions of a recent window, and neither contains a mechanism that forces price back. If you have already read why an RSI of 78 can persist, you already understand why a stock can hug the upper band into next quarter. Learning that lesson twice is cheaper than learning it once with money.

The awkward part — and no honest page can resolve it for you — is that the tag which precedes a genuine turn and the tag which is session three of a two-month walk look identical when they print. TradingView’s documentation concedes the point directly: pinpointing which one you are in “can be a difficult event to pinpoint.” That ambiguity is not a gap in your chart setup. It is a property of the tool.

The squeeze, and the one thing it cannot tell you

The best-known pattern on these bands is the squeeze: the two outer lines drift close together because the standard deviation of the last 20 closes has fallen. Price has been going nowhere in a narrow range, and on the chart the channel looks pinched.

Bollinger measures it with his own derived indicator, BandWidth, described in Rule 19: “BandWidth has many uses. Its most popular use is to identify ‘The Squeeze’.” StockCharts’ reference gives the calculation and describes the squeeze as occurring “when volatility falls to a low level, as evidenced by the narrowing bands,” on the theory that “periods of low volatility are followed by periods of high volatility.”

BandWidthBandWidth = ( ( upper band − lower band ) ÷ middle band ) × 100

On the worked example: ( ( 54.00 − 46.00 ) ÷ 50.00 ) × 100 = 16.0. Dividing by the middle band is what makes the figure comparable between a $9 stock and a $900 one.

Here is the honest reading, and it is narrower than almost anything written about it. A squeeze is a statement about volatility that already happened, plus one tendency about volatility to come. Low realized volatility now; volatility historically does not stay compressed forever. That is the whole claim. There is nothing in it about direction. Narrow bands are equally consistent with the next big move going up and with it going down, because the calculation has no directional term at all — squaring the deviations throws the sign away before the number exists.

You will see the squeeze written up as though it resolves that. StockCharts phrases it as “a new advance starts with a Squeeze and subsequent break above the upper band. A new decline starts with a Squeeze and subsequent break below the lower band.” Read the structure carefully: the direction arrives with the break, not with the squeeze. The squeeze sets up a move whose direction you learn at the moment it happens — which is the moment you no longer needed the squeeze to tell you.

Two more limits. There is no universal BandWidth number that counts as a squeeze: StockCharts says explicitly that BandWidth must be “gauged relative to prior BandWidth values” for that specific security over eight to twelve months, and the figure of 10 that circulates online is an example from one airline chart, not a threshold. And the first break out of a squeeze can be a breakout that fails; the same reference warns that “initial breaks can sometimes fail.” How often, nobody credible has published, so this page will not tell you.

%b and BandWidth — comparing across stocks

Bollinger added two derived measures to solve a problem the bands create. The bands are drawn in dollars, so “price is $1.40 below the upper band” means something completely different on a $12 stock than on a $600 one, and you cannot line up two charts and compare. The fix is to convert position and width into plain numbers.

%b answers “where is price inside the channel.” Rule 15: “%b tells us where we are in relation to the Bollinger Bands. The position within the bands is calculated using an adaptation of the formula for Stochastics.”

%b%b = ( price − lower band ) ÷ ( upper band − lower band )

1.0 sits exactly on the upper band, 0.0 exactly on the lower, 0.5 on the middle band. Above 1.0 or below 0.0 means price closed outside the channel. On the worked example, the final close of $53.05 gives ( 53.05 − 46.00 ) ÷ ( 54.00 − 46.00 ) = 7.05 ÷ 8.00 = 0.881.

BandWidth, from the previous section, answers “how wide is the channel” on the same footing. Together they are the two facts about a chart that survive being moved to another ticker: 0.88 and 16.0 tells another reader that price is high in its channel and the channel is moderately wide, without either of you knowing the share price.

Rule 17 pushes this further and is the cleverest item on his list: “Indicators can be normalized with %b, eliminating fixed thresholds in the process. To do this plot 50-period or longer Bollinger Bands on an indicator and then calculate %b of the indicator.” Wrap the bands around something that is not price — RSI, MACD, volume — and you get a reading of whether that indicator is high or low for itself, instead of arguing over whether the fixed line belongs at 70 or 75. Whether it improves anything is not established by any study this page could find. The idea is his, and it is worth knowing.

Where you’ll see it

Bands are a default overlay on essentially every charting tool, usually labeled “BB” with a length box reading 20 and a deviation box reading 2. Watch them behave alongside breadth readings and a sector heatmap on the free Markets · Technical page. Indicators in depth are Stage 4 of the Technical Analysis course.

What is confirmed, what is not, and what is only convention

This page mixes claims of three very different strengths. Sorted, so you can see which is which instead of taking the whole page at one confidence level.

ClaimStatusWhat stands behind it
The construction: 20-period simple moving average, bands at ±2 population standard deviations of the same closesConfirmedBollinger’s own site, which specifies the simple average, the population calculation and both defaults; matched independently by TradingView and StockCharts.
A band tag is not a buy or sell signal; price walks the bands in trends; closes outside are initially continuation signals; the bands give no continuous adviceConfirmedRules 6, 7, 8 and 22 of his published 22 Bollinger Bands Rules, quoted verbatim above — the author’s own words about his own tool.
The %b and BandWidth formulasConfirmedRules 15 and 18 for what they are; TradingView for %b and StockCharts for BandWidth.
Asset returns are not normally distributed — fat tails, tall peakConfirmedFama, Journal of Business 38(1), 1965, plus Bollinger’s Rule 14 calling security prices non-normal.
Volatility clusters rather than staying constantConfirmedEngle’s ARCH paper, Econometrica 50(4), 1982, and the 2003 Nobel citation on time-varying volatility.
“About 90% of the data falls inside the bands”UnverifiedBollinger’s parenthetical in Rule 14, with no dataset, securities or period published. StockCharts says 88–89% on the same defaults. Two figures that disagree, neither showing the work. Kept because the direction of the correction — below 95% — is the useful part.
The exact year the bands were createdUnverifiedThe 1980s is what he and every secondary source say, and his site states the defaults are unchanged since the beginning. No dated original publication was reachable, so this page gives the decade.
Any success rate for a band tag, a squeeze break, an M-top or a W-bottomUnverifiedNothing found. No named study, and Bollinger writes only that the bands identify setups where the odds “may” be in your favor. Any percentage came from somewhere else.
20 periods and 2 standard deviationsConventionRule 9: “just that, defaults.” Universally shipped, and no derivation published for either number.
Widening to 2.1 standard deviations at 50 periodsConventionRule 11 is Bollinger’s own suggestion for keeping containment consistent as the average lengthens — a preference, offered without a derivation.
“BandWidth below 10 is a squeeze”Convention, and a weak oneStockCharts uses 10 as an example on one airline chart, and its own text says to judge BandWidth against that security’s prior eight to twelve months. No universal threshold exists.
A simple rather than exponential average for the middle bandConventionRule 12 gives a consistency reason: the standard deviation uses a simple average, so the middle band matches. An argument from tidiness, not evidence of better performance.

The pattern there is worth naming. The mechanics are solid and the interpretations are not. How the lines get drawn can be sourced to the author and checked against two platforms. What a drawn line predicts is either explicitly disclaimed by the author or unsourced entirely.

What trips people up

Frequently asked questions

What are Bollinger Bands?

Bollinger Bands are three lines drawn over a price chart. The middle line is a moving average of closing prices, normally over 20 periods. The upper and lower lines sit a set number of standard deviations away from that average, normally two, measured on the same 20 closes. Because the standard deviation reflects how much price has been moving lately, the channel widens in volatile stretches and narrows in quiet ones. John Bollinger developed them in the 1980s and publishes a list of 22 rules for using them on bollingerbands.com.

Is touching the upper Bollinger Band a sell signal?

No, and the answer comes from the person who created the indicator. Bollinger's Rule 6 states: "Tags of the bands are just that, tags not signals. A tag of the upper Bollinger Band is NOT in-and-of-itself a sell signal. A tag of the lower Bollinger Band is NOT in-and-of-itself a buy signal." The capitals are his. Rule 8 goes further and says closes outside the bands are initially continuation signals rather than reversal signals, which is the opposite of what most people assume when they see price break out of the channel.

Do 95% of prices fall inside Bollinger Bands?

No. Two standard deviations covers about 95% of observations in a normal distribution, but asset prices are not normally distributed. Fama documented the fat tails in 1965, Engle formalized volatility clustering in 1982, and the standard deviation here is measured on only 20 observations of a series whose average is drifting. Bollinger's Rule 14 says to make no statistical assumptions from the calculation, and adds that in practice roughly 90%, not 95%, of the data falls inside. StockCharts, on the same settings, says 88 to 89%. Neither publishes the underlying data.

What is a Bollinger Band squeeze?

A squeeze is when the two outer bands drift close together because the standard deviation of recent closes has fallen, meaning price has been moving in a narrow range. It is measured with BandWidth, which is the upper band minus the lower band, divided by the middle band, times 100. The important limit is that a squeeze says nothing about direction. The calculation squares the price deviations, which throws away whether they were up or down, so narrow bands are equally consistent with the next large move going either way.

What are the best Bollinger Band settings?

There is no established best setting. The documented default is 20 periods for the average with the bands at two standard deviations, and Bollinger's Rule 9 describes those numbers as "just that, defaults." No derivation is published for either. His Rule 11 suggests widening the multiplier when the average is lengthened, to keep price containment consistent, going from 2 at 20 periods to 2.1 at 50. Shortening the settings produces more band tags, which is arithmetic rather than insight.

What does %b mean on Bollinger Bands?

%b converts price position into a comparable number. It is price minus the lower band, divided by the upper band minus the lower band. A reading of 1.0 means price is exactly on the upper band, 0.0 on the lower band, and 0.5 on the middle band. Above 1.0 or below 0.0 means price closed outside the channel. Its purpose is comparison across securities, since a gap of one dollar to the upper band means something entirely different on a 12 dollar stock than on a 600 dollar one.

Why does price stay on the upper band instead of falling back?

Because the bands are recalculated on every new bar. In a sustained advance each new close is higher, so the 20-period average rises, so the whole channel rises with it. Price never has to fall back to the average for the tag to end, because the average can climb to meet the price instead. Bollinger's Rule 7 says price "can, and does, walk up the upper Bollinger Band and down the lower Bollinger Band" in trending markets. Nothing in the construction limits how many sessions in a row that can continue.

Related terms

Where to go next

Sources
  1. John Bollinger, 22 Bollinger Bands Rules — the originator’s own published rule list, and the source for every rule quoted verbatim on this page: Rule 1 (a relative definition of high and low), Rule 2, Rule 4, Rule 6 (tags are not signals), Rule 7 (walking the bands), Rule 8 (closes outside are initially continuation signals), Rule 9 (20 and 2 are defaults), Rule 11 (2.1 at 50 periods), Rule 12 (why a simple average), Rule 14 (make no statistical assumptions; 90% not 95%), Rules 15 and 17 (%b), Rules 18 and 19 (BandWidth and the Squeeze), and Rule 22 (no continuous advice).
  2. John Bollinger, Bollinger Bands — his construction notes: a middle band moving average with upper and lower bands answering whether price is high or low on a relative basis, defaults of 20 periods and plus or minus two standard deviations unchanged since the beginning, explicit use of the population standard deviation calculation, and his account of adding %b and BandWidth afterwards.
  3. TradingView, Bollinger Bands (BB) — official platform documentation confirming the 20-day simple moving average middle line, 20 as the default length and 2 as the default deviation multiplier, the %b formula, and the statement that during strong trends breakthroughs of the bands “are not actual reversal signals” and the genuine turn “can be a difficult event to pinpoint.”
  4. StockCharts.com, ChartSchool: Bollinger Bands — the identical construction (20-day SMA, plus and minus two 20-day standard deviations) and the claim that the bands “should contain 88-89% of price action,” cited here because it disagrees with Bollinger’s own 90% figure and neither publishes its data.
  5. StockCharts.com, ChartSchool: Bollinger BandWidth — the BandWidth formula ( ( upper − lower ) ÷ middle ) × 100, the definition of the Squeeze as volatility falling to a low level, the theory that low-volatility periods are followed by high-volatility periods, the instruction to gauge BandWidth against a security’s own prior eight to twelve months rather than a fixed threshold, and the warning that initial breaks can fail.
  6. Eugene F. Fama, “The Behavior of Stock-Market Prices”, The Journal of Business 38(1), January 1965, pp. 34–105 — the named study behind this page’s statement that daily stock returns have fatter tails and a taller peak than a normal distribution, which is why the two-standard-deviation intuition does not transfer to a price chart.
  7. Robert F. Engle, “Autoregressive Conditional Heteroscedasticity with Estimates of the Variance of United Kingdom Inflation”, Econometrica 50(4), 1982 — the origin of ARCH modeling and the named source for volatility clustering, the second reason a single rolling standard deviation is not describing a stable spread.
  8. The Nobel Prize, Robert F. Engle III — Facts, 2003 Prize in Economic Sciences — the official citation wording quoted on this page, “for methods of analyzing economic time series with time-varying volatility (ARCH).”

The figures on this page are checked against the source that publishes them, and dated. Published rates move after the release named above — the linked source always carries the current number. This page explains a term; it does not recommend a product.