%B and BandWidth are two numbers calculated from Bollinger Bands. %B says where price sits inside the bands: 1 is on the upper band, 0 is on the lower band and 0.5 is on the middle line. BandWidth says how wide the bands are compared with the middle line, which makes it a volatility gauge. Together they replace "price looks near the top" with a figure you can test and compare. For a strategy built on the same bands, see the Bollinger band bounce.
The formulas
%B = (price - lower band) / (upper band - lower band)
A reading above 1 means price is above the upper band. A reading below 0 means price is under the lower band. Values between 0 and 1 mean price is inside the bands.
BandWidth = (upper band - lower band) / middle band x 100
It is expressed as a percentage of the middle line, so it scales with the price level. A higher number means wider bands and more volatility.

A worked calculation
Suppose the upper band is 1.1050, the middle is 1.1000 and the lower band is 1.0950. Price is 1.1030.
- %B = (1.1030 - 1.0950) / (1.1050 - 1.0950) = 0.0080 / 0.0100 = 0.80
- BandWidth = (1.1050 - 1.0950) / 1.1000 x 100 = 0.91%
Price sits in the upper part of the bands, 80% of the way from bottom to top, and the bands are fairly narrow.

What each reading means
Reading %B
- Near 1 or above: price is at or beyond the upper band. In a range, that can be a stretch. In a strong trend, it can be normal.
- Near 0.5: price is on the average.
- Near 0 or below: price is at or beyond the lower band.
The value of %B is that it can be compared with price itself. A classic use is divergence: price makes a new high, but %B makes a lower high. That means the second push finished less far toward the upper band, which can suggest the momentum behind the move is fading. It is a clue, not a signal.
Reading BandWidth
BandWidth is best read against its own history on the same pair and timeframe. A reading that is low compared with the last several months is a squeeze: volatility has contracted. Quiet periods are often followed by larger moves, but the direction is not known in advance. Never compare BandWidth across different pairs or timeframes, because their normal ranges differ.
How to turn the readings into a plan
There is no single rule, but a simple structure works:
- Add both indicators under the chart with the default settings (20 periods, two standard deviations).
- Classify the market. Low and flat BandWidth with price oscillating suggests a range. Rising BandWidth with price staying above 0.8 suggests a trend.
- In a range, a %B near 0 or 1 followed by a close back inside can be a fade setup, with the stop beyond the extreme and the target at the middle line.
- In a trend, a %B holding above 0.5 on pullbacks supports a trend-following entry; a close below 0.5 is a first warning.
- Before a squeeze breaks, do not guess the direction. Wait for a close beyond the bands, or a clear reaction at a level.
- Place the stop beyond the swing that invalidates the idea, and size the trade from it with the position size calculator.

When these measures mislead
- A %B above 1 in a strong trend is not an automatic sell. Price can stay outside the bands for many bars, as described in the Bollinger band walk.
- Low BandWidth shows contraction but gives no direction, and a quiet market can stay quiet longer than expected.
- Both measures use the same 20-period setting, so they lag. They describe what has happened, and they do not forecast.
Two illustrative examples
Both are illustrative examples with invented prices on a $10,000 account risking 0.5%, which is $50.
Illustrative example 1: a winning range fade using %B
On the one-hour EUR/USD chart, BandWidth has been low for several days and the middle line is flat. Price spikes so that %B reaches 1.05, then a bar closes back inside with %B at 0.92. The trader sells at 1.0915, with a stop at 1.0942 (27 pips) and a target at 1.0861 (54 pips) near the middle line.
With a $10,000 account risking 0.5% ($50), the position size is $50 / (27 pips x $10 per pip per lot) = about 0.19 lot. A win of 54 pips pays about $103; a loss costs about $50.
Price returns to the middle line and the target is hit. The trade earns about $103, or about 1% of the account.
Illustrative example 2: a losing fade when BandWidth was rising
On the GBP/USD one-hour chart, %B drops to -0.05 and the trader buys when a bar closes back inside at 0.08. The entry is 1.2705, with a stop at 1.2671 (34 pips) and a target at 1.2773 (68 pips).
With a $10,000 account risking 0.5% ($50), the position size is $50 / (34 pips x $10 per pip per lot) = about 0.15 lot. A win of 68 pips pays about $102; a loss costs about $50.
BandWidth had been rising for a few hours before the entry, which hinted that volatility was expanding and the market was starting to trend. Price falls through the stop and the trade loses about $50, or 0.5% of the account. The indicator had given a warning, and checking BandWidth first would have called for a smaller size or no trade. The risk-reward calculator can help you see how often a 2R plan must win to break even.
Common mistakes
- Selling every time %B passes 1 in an uptrend. In a trend, a high %B is normal. Check BandWidth and the slope of the middle line first.
- Comparing BandWidth across pairs. A reading that is low for one pair can be normal for another. Compare each pair with its own history.
- Assuming a squeeze shows direction. Contraction means a bigger move may come, not which way. Wait for a close beyond the bands.
- Using default settings without testing. The 20-period, two-deviation setting is a convention. Test it on your pair and timeframe before relying on any threshold.
- Skipping a stop. An indicator reading is not protection. Every trade needs a stop at a level that proves the idea wrong.
%B and BandWidth checklist
- Are both indicators on the chart with settings I have tested?
- Is BandWidth low, flat or rising compared with its own history?
- Is the market a range or a trend?
- Where is %B, and did price close back inside after an extreme?
- Is the stop beyond the invalidating swing?
- Is the size calculated from that stop at a fixed risk?
Frequently asked questions
What does %B show?
It shows where price sits relative to the Bollinger Bands. A value of 1 is at the upper band, 0 is at the lower band and 0.5 is at the middle line.
What does BandWidth show?
It shows how wide the bands are as a percentage of the middle line. It is a measure of volatility, and a low reading compared with history is called a squeeze.
Does a %B above 1 mean I should sell?
Not automatically. In strong trends, price can stay above the upper band for a long time. Use the context of the range or trend and a stop.
Can BandWidth predict direction?
No. A low BandWidth hints that a larger move may come, but it does not say whether it will be up or down.
This is educational only, not financial advice. Trading carries risk of loss, and the examples above are illustrative with invented prices. No indicator predicts the market, so only risk money you can afford to lose.



