1. Calculators
  2. Trading & Risk Management

Trailing Stop Calculator

Paste the closing prices after your entry and see a trailing stop at work: the stop level after each close, the close that triggers the exit, the profit or loss, and how much of the best gain the trade gave back. Compare trail widths on the same prices.

Updated Oct 16, 2026Free · no sign-upFormulas tested

Your inputs

Paste the closing prices after your entry. The stop follows the highest close and the first close at or below it ends the trade.

Replays the last three months: entry at the close three months ago, then each daily close. You can change any value afterwards.
Trail by
$
%
How far below the highest close the stop follows.
shares
One per line or separated by commas. A spreadsheet column pastes directly. The example has 20 closes.

Results

Exit price$56.10Close #19 fell to $56.10, at or below the $56.58 stop
Profit per share
$6.10
12.20% on the $50.00 entry
Total profit
$610.00
100 shares
Highest close
$61.50
23.00% above the entry
Given back from the peak
$5.40
8.78% below the highest close
Share of the best gain kept
53%
Profit at exit ÷ profit at the highest close

The stop climbed with the price to $56.58 and was hit on close #19, ending the trade at $56.10, a profit of $6.10 per share. The trade gave back $5.40 from its $61.50 high: that give-back is the price of letting the trend run.

Closing price and trailing stop

CloseTrailing stop (8%)
$45$50$55$60$65Entry#3#6#9#12#15#18EntryExit

The stop only moves up. It rises when the price makes a new high and stays put when the price falls.

Close by close

ClosePriceHighest closeStopvs entryStatus
#1$50.80$50.80$46.74+1.60%New high, stop raised
#2$51.60$51.60$47.47+3.20%New high, stop raised
#3$51.10$51.60$47.47+2.20%Holding
#4$52.90$52.90$48.67+5.80%New high, stop raised
#5$54.20$54.20$49.86+8.40%New high, stop raised
#6$52.40$54.20$49.86+4.80%Holding
#7$53.90$54.20$49.86+7.80%Holding
#8$55.80$55.80$51.34+11.60%New high, stop raised
#9$57.10$57.10$52.53+14.20%New high, stop raised
#10$56.40$57.10$52.53+12.80%Holding
#11$58.90$58.90$54.19+17.80%New high, stop raised
#12$60.20$60.20$55.38+20.40%New high, stop raised

Different trail distances on the same prices

A tight trail exits early on small dips; a loose one gives back more before it exits.

TrailExitExit pricePer shareReturn
3%Close #6$52.40$2.40+4.80%
5%Close #18$57.20$7.20+14.40%
8%Close #19$56.10$6.10+12.20%
10%Close #20$54.30$4.30+8.60%
15%Not hit (last close)$54.30$4.30+8.60%

Results are estimates from the numbers you enter. They are not financial, tax or legal advice.

How to use the trailing stop calculator

  1. Choose the trail type. A percentage trail keeps the stop a fixed share below the high, so it widens in dollars as the price rises. A dollar trail keeps the same distance in dollars all the way.
  2. Enter the entry price and the trail distance. The starting stop is the entry minus the trail.
  3. Paste the closing prices after the entry, oldest first. They can be daily, weekly or any other interval. The example holds 20 closes that rise to a high and then fall back.
  4. Add the number of shares if you want the total profit or loss.

The chart draws the price and the stop together, with the exit marked. Below it, the close-by-close table shows the highest close and the stop level after each period, and a second table runs several trail widths over the same prices.

How the trailing stop is calculated

Highest closet = max(Entry, Close1, …, Closet)
Percentage trail: Stopt = Highest closet × (1 − Trail %)
Dollar trail: Stopt = Highest closet − Trail amountThe stop never moves down. The first close at or below the stop in force ends the trade, and the exit price is that close.
Profit per share = Exit price − Entry
Give-back = Highest close − Exit price
Share of the best gain kept = (Exit − Entry) ÷ (Highest close − Entry)

A worked example

You buy at $50 with an 8% trailing stop, so the first stop is $46.00. Over the next weeks the stock climbs, and each new high pulls the stop up. At the highest close of $61.50, the stop reaches $56.58.

The stock then drifts lower. Close #19 comes in at $56.10, below the stop, and the trade ends there. The profit is $6.10 per share, or $610.00 on 100 shares, a return of +12.20%.

Selling at the top would have made more. The trade gave back $5.40 from the high, 8.78%, and kept 53% of the best gain. The close also landed $0.48 below the stop level, the cost of checking the stop only at the close.

Choosing the trail distance

The trail distance is a trade-off between staying in a trend and keeping the gains it produces. The same 20 closes with different trails:

Trail Exit Exit price Profit per share
3% Close #6 $52.40 $2.40
5% Close #18 $57.20 $7.20
8% Close #19 $56.10 $6.10
10% Close #20 $54.30 $4.30
12% Not hit stop at $54.12 $4.12 locked in

The 3% trail is shaken out by a small dip early in the advance and misses most of the move. The wider trails ride the trend, but the widest ones give back more on the way down, and the 12% trail has still not been hit when the series ends. The best width here is a product of this particular price path; on another stock, or another month, the ranking can change. A trail that sits just beyond the stock’s typical pullback is the usual aim, which is why many traders size it from the ATR with the stop-loss calculator.

Percentage or dollar trail

A percentage trail grows in dollar terms as the price rises: 8% of $50 is $4.00, 8% of $61.50 is $4.92. A dollar trail stays fixed, so it tightens relative to the price as the stock climbs. With a $4 trail on the example prices, the trade exits at $57.20 on close #18 for a profit of $7.20 per share. Percentage trails suit longer trends and higher-priced stocks; dollar trails are common for short-term trades sized from a fixed risk.

Trailing stops and risk-reward

A trailing stop has no fixed target, so the reward is open-ended while the risk at entry is known: the distance from the entry to the first stop. Once the stop rises above the entry, the planned exit is at a profit, although a sharp drop or a gap can still fill below the entry. Measuring the result in multiples of that first risk makes trailing-stop trades comparable with fixed-target trades; the risk-reward calculator shows the break-even win rate for any multiple.

What this calculator does not include

  • Intraday prices. The calculator checks the stop at each close. A broker’s trailing stop order reacts during the session, so it can exit earlier, at a price nearer the stop.
  • Gaps. A stock that opens far below the stop fills far below it, with either method.
  • Short positions. The calculation is for longs; a short trailing stop mirrors it above the lowest price.
  • Commissions, dividends and taxes, which change the net result. The stock profit calculator adds commissions to a trade.
  • Hindsight. A trail width that looks best on past prices is not a forecast; test it on many trades before relying on it.

Frequently asked questions

How does a trailing stop work?
A trailing stop sits a fixed percentage or dollar amount below the highest price since you entered. When the price makes a new high, the stop moves up by the same amount; when the price falls, the stop stays where it is. The trade ends when the price falls back to the stop.
How do I calculate a trailing stop price?
For a percentage trail, multiply the highest price since entry by one minus the trail percentage. With a high of $61.50 and an 8% trail, the stop is $56.58. For a dollar trail, subtract the amount from the high: a $4 trail gives $57.50.
What is a good trailing stop percentage?
It depends on how much the stock normally moves. A trail narrower than the stock's usual pullbacks will be hit by noise; a much wider one gives back a large share of the gain. In the example, a 3% trail exits after $2.40 per share, while 5% keeps $7.20. Many traders scale the trail to volatility, for example two or three times the ATR.
Should a trailing stop use closing prices or intraday prices?
Both are used. A trailing stop order at a broker follows the price during the session and triggers as soon as the price touches the stop. A close-based stop, which this calculator models, ignores intraday spikes but can exit below the stop if the stock closes well beneath it.
Does a trailing stop work for short positions?
Yes, as a mirror image. The stop sits above the lowest price since entry, moves down when the price makes new lows, and triggers when the price rises back to it. This calculator models long positions; for a short, apply the same steps upside down.

Related calculators

All calculators →

Check the numbers for real companies

All stocks →

This calculator is for education and planning. It uses the formulas described above and the inputs you provide; real results depend on fees, taxes, timing and other details that a general tool cannot know. PromtFinance does not give personal financial advice. Check important decisions with your provider or a qualified professional.