Bollinger Bands Calculator

Calculate upper, middle, and lower bands for technical analysis

$
Enter the 20-period or other period simple moving average of the asset price
Enter the standard deviation value measuring price volatility
Enter the number of standard deviations for band distance (typically 2)
Upper Band
Middle Band (SMA)
Lower Band
Band Width
Band Position (%)
What does this mean? The Upper Band and Lower Band represent overbought and oversold levels respectively. The Band Width shows the distance between bands, indicating volatility. Band Position (%) shows where the current price sits relative to the bands, with 0% at the lower band and 100% at the upper band.

Understanding Bollinger Bands

Bollinger Bands are a widely-used technical analysis tool developed by John Bollinger in the 1980s. They consist of three lines plotted on a price chart: an upper band, a middle band (simple moving average), and a lower band. These bands expand and contract based on market volatility, making them invaluable for identifying overbought and oversold conditions, support and resistance levels, and potential breakout opportunities.

How Bollinger Bands Work

The middle band is typically a 20-period simple moving average (SMA) of the closing price. The upper and lower bands are positioned two standard deviations above and below this moving average. Standard deviation measures how much prices deviate from the average, with higher volatility resulting in wider bands and lower volatility producing tighter bands. This dynamic nature makes Bollinger Bands particularly useful in different market conditions, as they automatically adjust to price fluctuations without requiring manual adjustments.

Calculating the Bands

To calculate Bollinger Bands, you need three primary inputs: the Simple Moving Average (SMA), which typically uses a 20-period window; the standard deviation, which quantifies price volatility; and the number of standard deviations, usually set to 2. The Upper Band is calculated by adding the standard deviation multiplied by the number of deviations to the SMA. The Lower Band is calculated by subtracting the same value from the SMA. The Band Width represents the difference between the upper and lower bands, indicating the overall volatility range. The Band Position percentage shows where the current price falls within the band range, helping traders identify potential reversal points.

Interpreting Bollinger Bands Signals

When price touches or crosses the upper band, it may indicate overbought conditions, suggesting a potential sell signal or price pullback. Conversely, when price approaches the lower band, it may indicate oversold conditions, presenting a potential buying opportunity. The Band Position (%) is particularly useful for this analysis—values near 100% suggest the price is near the upper band, while values near 0% indicate proximity to the lower band. Additionally, when the bands squeeze together (narrow band width), it often precedes a significant price move, as volatility typically increases after consolidation periods. Traders often use band 'walks' where price travels along one band while trending, indicating strong momentum in that direction.

Practical Applications in Trading

Bollinger Bands work effectively across multiple timeframes and asset classes, including stocks, cryptocurrencies, commodities, and forex. Day traders use tighter band settings to catch short-term movements, while swing traders prefer the standard 20-period, 2 standard deviation configuration. The bands are most effective when combined with other indicators like RSI (Relative Strength Index) or MACD (Moving Average Convergence Divergence) to confirm signals and reduce false positives. Professional traders often adjust the number of standard deviations based on their risk tolerance—using 1.5 for more sensitive signals or 2.5 for conservative trading. The band width itself serves as a volatility measure, with expanding bands indicating increasing volatility and contracting bands suggesting decreased volatility or potential consolidation.

Advanced Analysis Techniques

The Bollinger Bands calculator enables traders to perform what-if scenarios and optimize their trading parameters. By adjusting the standard deviation multiplier, traders can test how different sensitivity levels would have performed on historical data. The Band Position (%) metric is particularly valuable for algorithmic traders who need quantifiable entry and exit signals. When the Band Position is between 20% and 80%, price is considered neutral. Positions below 20% or above 80% may indicate extreme conditions. Experienced traders also watch for divergences between price movement and band expansion—when price makes a new high but the bands don't expand proportionally, it may signal weakening momentum.

FAQ

What is the difference between Bollinger Bands and moving averages?
While Bollinger Bands include a moving average as their middle band, they add volatility context through upper and lower bands. Moving averages show trend direction, but Bollinger Bands also identify overbought/oversold conditions and volatility levels. The bands automatically adjust to market conditions, making them more dynamic than static moving averages.
What period should I use for the Simple Moving Average?
The standard setting is a 20-period SMA, which works well for medium-term analysis. For shorter timeframes and more responsive bands, use 10-12 periods. For longer-term trends, use 50 or 100 periods. The best period depends on your trading style—day traders typically use 10-period, swing traders use 20-period, and position traders use 50+ periods.
What do narrow Bollinger Bands indicate?
Narrow bands indicate low volatility and often precede significant price movements. This consolidation period suggests the market is preparing for a breakout. Traders should watch for the bands to expand, which typically accompanies the price move. This squeeze-then-breakout pattern is one of the most reliable Bollinger Bands signals.
Can Bollinger Bands be used alone for trading decisions?
While Bollinger Bands are powerful, using them alone can generate false signals. It's best to combine them with other indicators like volume analysis, support/resistance levels, trend lines, or momentum indicators such as RSI. Confirmation from multiple indicators significantly improves trade reliability and reduces risk.
How do I use Band Position (%) in my trading?
Band Position (%) quantifies where price sits within the bands: 0% is at the lower band, 50% is at the middle, and 100% is at the upper band. Prices above 80% may indicate overbought conditions suitable for selling, while below 20% may indicate oversold conditions suitable for buying. This metric helps create objective, rule-based trading systems.

Bookmarks