Maximum Favorable Excursion Calculator
Analyze MFE to optimize take profit placement based on historical trade data. Enter values for instant results with step-by-step formulas.
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer
Maximum Favorable Excursion Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: Capture Ratio = Take Profit / Mean MFE x 100%
Worked example โ Current 80-pip TP has negative EV (-4 pips). Reduce to 58 pips (median MFE) for positive EV of 9 pips per trade.
Formula
Capture Ratio = Take Profit / Mean MFE x 100%
The capture ratio measures how much of the average peak favorable movement your take profit captures. Expected Value at each TP level is calculated as (hit rate times reward) minus (miss rate times risk), providing the mathematically optimal take profit placement for your specific trade data.
Worked Examples
Example 1: Day Trader Take Profit Optimization
Problem:A day trader records MFE (pips) for 20 trades: 60, 45, 90, 35, 75, 50, 80, 40, 100, 30, 70, 55, 85, 25, 95, 42, 78, 48, 65, 38. Current TP is 80 pips, SL is 40 pips.
Solution:Mean MFE = 60.3 pips | Median = 57.5 pips Std Dev = 22.0 pips Current TP hit rate: 6/20 = 30% Capture ratio = 80/60.3 = 132.7% (too aggressive) At median TP (58 pips): hit rate = 50%, RR = 1.45:1 At 75th percentile (78 pips): hit rate = 30%, RR = 1.95:1 EV at 58 pips = 0.5 x 58 - 0.5 x 40 = 9 pips EV at 80 pips = 0.3 x 80 - 0.7 x 40 = -4 pips
Result:Current 80-pip TP has negative EV (-4 pips). Reduce to 58 pips (median MFE) for positive EV of 9 pips per trade.
Example 2: Swing Trader MFE Analysis
Problem:Swing trader MFE data (pips): 120, 85, 200, 70, 150, 100, 180, 90, 160, 75, 140, 110, 170, 60, 190, 95, 155, 80, 135, 105. TP: 150, SL: 60.
Solution:Mean MFE = 123.5 pips | Median = 122.5 pips Current TP hit rate: 8/20 = 40% Capture ratio = 150/123.5 = 121.5% At median (123 pips): hit rate = 50%, RR = 2.05:1 EV at 123 = 0.5 x 123 - 0.5 x 60 = 31.5 pips EV at 150 = 0.4 x 150 - 0.6 x 60 = 24 pips
Result:Reducing TP from 150 to 123 pips improves EV from 24 to 31.5 pips per trade (+31% improvement) while maintaining 2:1 RR.
Frequently Asked Questions
What is Maximum Favorable Excursion (MFE) in trading?
Maximum Favorable Excursion (MFE) is the largest unrealized profit a trade achieves before it closes, either by hitting the take profit, stop loss, or being manually exited. Developed alongside MAE (Maximum Adverse Excursion) by John Sweeney, MFE measures the peak potential profit of each trade during its lifetime. For a long trade entered at 1.1000, if price reaches a high of 1.1080 before retracing and closing at 1.1050, the MFE is 80 pips even though only 50 pips of profit were captured. MFE analysis reveals how much profit your trades generate and how effectively your take profit placement captures that potential profit.
How does MFE analysis help optimize take profit placement?
MFE analysis shows the distribution of maximum favorable price movement across your trades, enabling data-driven take profit optimization. If most of your trades reach 60 pips of favorable excursion but your take profit is set at 100 pips, many trades will reverse before hitting your target, turning potential winners into break-even or losing trades. By analyzing MFE percentiles, you can set take profit levels at points where a high percentage of trades actually reach. Setting your TP at the median MFE ensures approximately 50% of trades hit the target. A more conservative approach uses the 25th percentile for higher hit rates, while an aggressive approach uses the 75th percentile for larger individual wins but fewer of them.
What is the capture ratio and why does it matter?
The capture ratio measures what percentage of the average maximum favorable excursion your take profit setting actually captures. It is calculated as your take profit distance divided by the mean MFE, expressed as a percentage. A capture ratio of 80% means your TP is set at 80% of the average peak favorable movement. A ratio above 100% means your TP is set beyond the average peak, and many trades will reverse before reaching it. A ratio below 50% means you are leaving significant profit on the table. The optimal capture ratio depends on your trading style, but most successful traders find a sweet spot between 60-90%. This metric helps balance between capturing available profit and maintaining a reasonable hit rate on your take profit orders.
How do I balance take profit hit rate versus reward size?
The fundamental trade-off in take profit placement is between hit rate and reward magnitude. A tight take profit produces a high hit rate but small individual gains. A wide take profit produces large gains when hit but a low hit rate. The optimal balance is found by maximizing expected value (EV), which equals (hit rate times reward) minus (miss rate times risk). For example, a 50-pip TP might have 70% hit rate (EV = 0.7 times 50 minus 0.3 times 40 = 23 pips). A 80-pip TP might have 50% hit rate (EV = 0.5 times 80 minus 0.5 times 40 = 20 pips). Despite the higher reward, the 50-pip TP has better expected value. Maximum Favorable Excursion Calculator computes EV at different MFE percentiles to identify the mathematically optimal take profit level.
What is the relationship between MFE and the reward-to-risk ratio?
MFE directly determines the achievable reward-to-risk (RR) ratio for your trading strategy. If your typical MFE is 60 pips and your stop loss is 30 pips, the maximum achievable RR is 2:1. Setting your take profit at the median MFE gives a realistic RR estimate. Many traders set ambitious RR targets like 3:1 without verifying that their MFE distribution supports such targets. If only 20% of your trades achieve an MFE of 3 times your stop loss, targeting 3:1 RR will produce a low win rate that may not compensate for the larger per-win profits. MFE analysis grounds your RR expectations in actual data rather than wishful thinking, leading to more realistic and ultimately more profitable trading plans.
Should I use fixed take profit or trailing stops based on MFE data?
MFE analysis can inform both approaches. If your MFE distribution shows a clear clustering (most trades peak around a similar level), fixed take profit works well because the favorable excursion is predictable. However, if the MFE distribution is widely spread with some trades showing dramatically higher MFE than others, a trailing stop captures more profit from outlier moves. A hybrid approach often works best: use a fixed take profit for the first portion of the position (say 50-75%) at the median MFE level, then trail the remaining position to capture potential extended moves. This guarantees capturing profit on most trades while leaving room for outsized gains on the exceptional trades that run significantly further.
How do different market conditions affect MFE distributions?
Market conditions significantly impact MFE distributions. During trending markets, MFE values tend to be higher and more widely distributed, as trades move further in the favorable direction. During ranging or choppy markets, MFE values compress and cluster in a tighter range. High-volatility environments produce larger MFE values but also larger MAE values, so the net benefit requires careful analysis. Seasonal patterns also matter because certain currency pairs show different MFE characteristics during different market sessions or times of year. For robust take profit optimization, analyze MFE separately for different market regimes. Consider maintaining two TP strategies: one for trending conditions with wider targets and one for ranging conditions with tighter targets.
How many trades do I need for reliable MFE analysis?
Reliable MFE analysis requires a sufficient sample size to produce statistically meaningful percentile calculations. A minimum of 30 trades provides basic insight, but 50-100 trades gives much more reliable percentile estimates. For optimal take profit analysis, 100-200+ trades across various market conditions produces the most actionable results. The sample should include trades from trending markets, ranging markets, high-volatility events, and low-volatility periods to avoid bias toward one condition. If you have limited data, focus on the median and mean rather than extreme percentiles like the 90th or 95th, which require larger samples for stability. Recalculate MFE statistics every 50-100 new trades to capture changes in market behavior and improvements in your entry technique.
What is the difference between gross MFE and net MFE?
Gross MFE measures the maximum favorable price movement from entry without considering trading costs, while net MFE subtracts spread, commission, and slippage from the favorable excursion. For example, if price moves 50 pips in your favor (gross MFE = 50) but you pay 2 pips in spread and 1 pip in commission, the net MFE is 47 pips. This distinction matters significantly for short-term traders where costs represent a larger percentage of the trade. A scalper with 15-pip average gross MFE paying 3 pips in total costs has a net MFE of only 12 pips, which is a 20% reduction. For take profit optimization, use net MFE because that is the actual profit available. For longer-term traders, the difference between gross and net MFE is proportionally smaller and may not materially change the analysis.
References
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Related Calculators
๐งฎMaximum Adverse Excursion Calculator
Analyze MAE to optimize stop loss placement based on historical trade data.
๐งฎProp Firm Challenge Calculator
Calculate required daily profit targets and maximum daily/total drawdown for FTMO, MFF, and others.
๐งฎProp Firm Daily Loss Calculator
Track daily P&L against prop firm maximum daily loss limits in real time.
๐งฎPip Calculator
Calculate pip with inputs, formulas, and instant results.
๐งฎForex Margin Calculator
Calculate forex margin with inputs, formulas, and instant results.
๐งฎForex Profit Calculator
Calculate forex profit with inputs, formulas, and instant results.
๐งฎSpread Cost Calculator
Calculate spread cost with inputs, formulas, and instant results.
๐งฎForex Commission Calculator
Calculate forex commission with inputs, formulas, and instant results.