Parabolic SAR Calculator
Technical indicators
- Inputs: prior SAR is 142.35, the extreme point is 148.90 and the acceleration factor is 0.02.
- Gap: 148.90 - 142.35 = 6.55.
- New SAR: 142.35 + 0.02 x 6.55 = 142.48.
- Parabolic SAR result: 142.48 - long (extreme point above prior SAR).
J. Welles Wilder published the parabolic SAR in 1978, in the same book that introduced the RSI and the ADX, and it remains the most literal trading indicator ever designed: it does not describe the market, it tells you where your stop is. SAR stands for stop and reverse. While a trend runs, a dot trails below price in an uptrend or above it in a downtrend, accelerating toward price as the trend ages; when price crosses the dot, the trade is closed and, in Wilder's original system, reversed.
The whole state of the indicator is three numbers - the prior SAR, the extreme point of the current trend leg, and the acceleration factor - which makes a single-bar calculator exact rather than approximate. Enter those three values and this page returns the new SAR, the gap it was computed from, the size of the acceleration adjustment and the factor the next bar will use if the trend makes another extreme. The examples show a fresh long trend, a short trend and a mature long trend deep into its acceleration staircase.
Worked examples
SAR at a fresh long leg
(142.35 · 148.9 · 0.02)
| Parabolic SAR | 142.48 |
| Extreme point minus prior SAR | 6.55 |
| Acceleration adjustment | 0.13 |
| Next acceleration factor if the trend extends | 0.04 |
| Trend side | Long (extreme point above prior SAR) |
SAR on a short leg
(88.2 · 79.45 · 0.06)
| Parabolic SAR | 87.68 |
| Extreme point minus prior SAR | -8.75 |
| Acceleration adjustment | -0.53 |
| Next acceleration factor if the trend extends | 0.08 |
| Trend side | Short (extreme point below prior SAR) |
SAR deep into a mature long leg
(214.6 · 231.75 · 0.14)
| Parabolic SAR | 217.00 |
| Extreme point minus prior SAR | 17.15 |
| Acceleration adjustment | 2.40 |
| Next acceleration factor if the trend extends | 0.16 |
| Trend side | Long (extreme point above prior SAR) |
Wilder's stop-and-reverse idea
The parabolic shape is the point. A fixed trailing stop either sits too close early, when a young trend needs room to breathe, or too far late, when an old trend has profit to protect. Wilder's SAR starts far from price and curves toward it: the stop moves slowly at first, then faster and faster, tracing the parabola the indicator is named for. The mechanism is the acceleration factor, which grows every time the trend leg makes a new extreme point.
One bar of the calculation is a single blend. The new SAR is the prior SAR plus the factor times the gap between the extreme point and the prior SAR. In the first worked example the prior SAR is 142.35, the extreme point is 148.90 and the factor is the starting 0.02: the gap is 6.55, the adjustment is 0.13, and the new SAR is 142.48. A young trend's stop barely moves - exactly as Wilder intended.
The extreme point is the trend leg's memory. In a long trend it is the highest high since the leg began; it only ever moves in the trend's favour, and each time it does, the factor steps up and the parabola steepens. When price finally crosses the SAR, the leg ends: the extreme point becomes the first SAR of the opposite leg and the factor resets to its starting value.
- New SAR = prior SAR + acceleration factor x (extreme point - prior SAR).
- The factor starts at 0.02 and steps up by 0.02 at each new extreme.
- The factor is capped at 0.20, so the staircase has ten steps at most.
- A cross of price through the SAR ends the leg and reverses the system.
The acceleration factor's staircase
The three worked examples are three altitudes on the same staircase. The first, at the starting factor of 0.02, moves its stop by 0.13 - the trend is young and the SAR is nearly stationary. The second example is a short trend a few steps up: prior SAR 88.20, extreme point 79.45, factor 0.06. The gap is -8.75, the adjustment -0.53, and the new SAR of 87.68 has closed noticeably on price from above.
The third example is a mature long trend: prior SAR 214.60, extreme point 231.75, factor 0.14. The gap of 17.15 produces an adjustment of 2.40 and a new SAR of 217.00, and if the trend makes another extreme the factor steps to 0.16 - three more steps and it reaches the 0.20 cap, where the SAR advances at a fifth of the remaining gap every bar and a reversal becomes a matter of time.
This is why the SAR behaves so differently at the start and end of trends. Early, it is patient to a fault, and whipsaw markets shake it out repeatedly as legs reverse before the factor has climbed. Late, it is ruthless: the cap guarantees the stop converges on price even if the trend merely goes sideways, because a leg that stops making extremes still sees its SAR advance at the old factor.
| Trend stage | Factor | Behaviour of the stop |
|---|---|---|
| Fresh leg | 0.02 | Barely moves; the trend gets room to breathe |
| Established leg | 0.06 to 0.10 | Advances steadily at each new extreme |
| Mature leg | 0.14 to 0.20 | Converges fast; reversal becomes likely even sideways |
Worked examples
Example 1: Prior SAR 142.35; Extreme point (EP) 148.9; Acceleration factor 0.02. Parabolic SAR = 142.48. Supporting values: Extreme point minus prior SAR 6.55; Acceleration adjustment 0.13; Next acceleration factor if the trend extends 0.04; Trend side Long (extreme point above prior SAR). Inputs: prior SAR is 142.35, the extreme point is 148.90 and the acceleration factor is 0.02. Gap: 148.90 - 142.35 = 6.55. New SAR: 142.35 + 0.02 x 6.55 = 142.48. Parabolic SAR result: 142.48 - long (extreme point above prior SAR).
Example 2: Prior SAR 88.2; Extreme point (EP) 79.45; Acceleration factor 0.06. Parabolic SAR = 87.68. Supporting values: Extreme point minus prior SAR -8.75; Acceleration adjustment -0.53; Next acceleration factor if the trend extends 0.08; Trend side Short (extreme point below prior SAR). Inputs: prior SAR is 88.20, the extreme point is 79.45 and the acceleration factor is 0.06. Gap: 79.45 - 88.20 = -8.75. New SAR: 88.20 + 0.06 x -8.75 = 87.68. Parabolic SAR result: 87.68 - short (extreme point below prior SAR).
Example 3: Prior SAR 214.6; Extreme point (EP) 231.75; Acceleration factor 0.14. Parabolic SAR = 217.00. Supporting values: Extreme point minus prior SAR 17.15; Acceleration adjustment 2.40; Next acceleration factor if the trend extends 0.16; Trend side Long (extreme point above prior SAR). Inputs: prior SAR is 214.60, the extreme point is 231.75 and the acceleration factor is 0.14. Gap: 231.75 - 214.60 = 17.15. New SAR: 214.60 + 0.14 x 17.15 = 217.00. Parabolic SAR result: 217.00 - long (extreme point above prior SAR).
Using the SAR as a stop, not a signal
Modern usage usually demotes the SAR from a full stop-and-reverse system to a trailing stop under a position entered for other reasons, and the demotion suits it. As an entry signal its reversals arrive late by construction - the factor must climb before the stop tightens - and in ranging markets it generates a metronome of small losses. As a stop, its one job is the one it is shaped for: giving a young trend room and an old trend none.
Used that way, the three numbers this page asks for are the position's vital signs. The gap between the extreme point and the SAR is the room the trend still has; the factor tells you how quickly that room is being withdrawn. A trader watching the third example's factor reach 0.16 knows the stop will be at the cap within three more extremes and can plan the exit rather than be surprised by it.
Where the textbook SAR and your platform differ
Wilder's original adds two refinements most summaries omit. On the first bar of a new leg, the SAR starts at the previous leg's extreme point, not at a blended value; and the raw computed SAR is then clamped so it never sits inside the range of the last two bars - if it would, it is held at the nearer of their extremes. Platforms implement the clamping with small variations, which is why a platform's dot can differ by a hair from the pure formula on bars after a reversal.
This page computes the pure blend, the step every implementation shares, and reports the next factor so you can chain bars manually. If your platform's value differs, the difference will be the clamping rule or a leg boundary, not the arithmetic - check whether the bar you are testing follows a reversal before suspecting the formula.
Chaining bars by hand
To extend the calculation beyond one bar, carry three numbers forward: the new SAR becomes the prior SAR, the factor becomes the next factor this page reports if the trend made a new extreme (and stays put if it did not), and the extreme point updates only when price exceeds it in the trend's direction. Worked through a trend leg bar by bar, this reproduces a platform's dots exactly, clamping aside.
The discipline the exercise teaches is worth the effort once: you feel how little of the SAR's motion comes from ordinary bars. Only extremes move the staircase. A leg can drift for days with the factor frozen, the SAR creeping at its old rate - and then two strong bars climb three steps and the stop is suddenly under the market's throat.
FAQs
What does SAR stand for and what does the indicator do?
Stop and reverse. The parabolic SAR trails a stop that accelerates toward price as a trend leg ages; when price crosses it, the leg ends and Wilder's original system reverses position. This page computes one bar of it exactly.
What SAR does the first worked example produce?
Prior SAR 142.35, extreme point 148.90, factor 0.02: the gap is 6.55, the adjustment 0.13, and the new SAR is 142.48. The tiny move is correct - a fresh leg's stop is meant to be nearly stationary.
How does the acceleration factor evolve?
It starts at 0.02, steps up by 0.02 each time the trend leg makes a new extreme, and caps at 0.20. The third example, at 0.14, steps to 0.16 on its next extreme; the second example's short trend steps from 0.06 to 0.08.
What does the mature third example show?
A long leg with prior SAR 214.60 and extreme point 231.75: the gap of 17.15 at a factor of 0.14 gives an adjustment of 2.40 and a new SAR of 217.00. Late in a leg the stop converges quickly even if price only goes sideways.
Why do platforms' SAR dots sometimes differ from the formula?
Wilder's full method clamps the computed SAR outside the last two bars' range and seeds each new leg at the previous leg's extreme point. Implementations vary slightly there. The blend this page computes is the shared core.
How do I continue the calculation to the next bar?
Carry the new SAR forward as the prior SAR, update the extreme point only if price exceeded it, and use the next factor reported here if a new extreme was made - otherwise keep the current factor. Repeat per bar.