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.
Calculator
Adjust values & calculateTP Level Analysis
MFE Distribution
Formula
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.
Last reviewed: December 2025
Worked Examples
Example 1: Day Trader Take Profit Optimization
Example 2: Swing Trader MFE Analysis
Background & Theory
The Maximum Favorable Excursion Calculator applies the following established principles and formulas. Foreign exchange markets facilitate the conversion of one currency into another and serve as the largest and most liquid financial markets in the world, with daily turnover exceeding seven trillion US dollars. Exchange rates are quoted as currency pairs, expressing the price of one unit of a base currency in terms of a quote currency. For example, a EUR/USD rate of 1.0850 means one euro buys 1.0850 US dollars. The smallest standardized price movement in most pairs is the pip, typically the fourth decimal place, with a value of 0.0001 per unit for USD-denominated pairs. The bid price is the rate at which a dealer will buy the base currency, while the ask price is the rate at which it will sell. The spread between bid and ask represents the dealer's compensation and varies with liquidity and volatility. Leverage amplifies both gains and losses by allowing traders to control positions larger than their deposited margin. A 100:1 leverage ratio means a one-percent adverse move eliminates the entire margin, making position sizing and risk management critical. Two parity conditions from international economics anchor exchange rate theory. Purchasing Power Parity (PPP) holds that exchange rates should adjust over time so that identical goods trade at equivalent prices across countries: S = P_d / P_f, where S is the spot rate and P_d and P_f are domestic and foreign price levels. PPP performs well over long horizons but poorly in the short run due to trade barriers, non-tradable goods, and capital flows. Covered Interest Rate Parity (CIRP) is a near-arbitrage condition stating that forward exchange rate premiums or discounts exactly offset interest rate differentials between two currencies: F/S = (1 + r_d) / (1 + r_f). Deviations from CIRP create riskless arbitrage opportunities that traders rapidly eliminate. Uncovered Interest Rate Parity posits that high-yielding currencies should depreciate to offset their interest advantage, though empirical evidence is mixed and the carry trade โ borrowing in low-rate currencies to invest in high-rate ones โ has generated persistent returns.
History
The history behind the Maximum Favorable Excursion Calculator traces back through the following developments. For much of the nineteenth century and early twentieth century, the international monetary system operated under the classical gold standard, under which each participating currency was fixed to a defined weight of gold, making bilateral exchange rates effectively constant. The system provided price stability and facilitated global trade but constrained governments' ability to respond to economic downturns. World War One shattered the gold standard as nations suspended convertibility to finance wartime expenditures. The interwar period saw attempts to restore gold convertibility, most notably the British return to the gold standard in 1925 at the pre-war parity, a decision criticized by John Maynard Keynes as deflationary. The Great Depression forced widespread currency devaluations and the effective collapse of the international gold standard by the early 1930s. The Bretton Woods Conference of July 1944 established a new order in which member currencies were pegged to the US dollar, while the dollar alone was convertible into gold at 35 dollars per troy ounce. The International Monetary Fund and World Bank were created at the same conference to oversee the system. Bretton Woods delivered exchange rate stability during the postwar growth era but came under strain as US deficits and European dollar accumulation outpaced American gold reserves. On August 15, 1971, President Nixon announced the suspension of dollar-gold convertibility โ the so-called Nixon Shock โ effectively ending the Bretton Woods system. By 1973, major currencies had transitioned to floating exchange rates determined by market supply and demand, a regime that has persisted. On September 16, 1992, hedge fund manager George Soros shorted the British pound against the European Exchange Rate Mechanism constraints, forcing the UK's withdrawal in what became known as Black Wednesday. Electronic trading platforms emerged in the 1990s and 2000s, replacing voice-brokered interbank markets and dramatically reducing transaction costs for institutional and retail participants alike.
Frequently Asked Questions
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\nStd Dev = 22.0 pips\nCurrent TP hit rate: 6/20 = 30%\nCapture ratio = 80/60.3 = 132.7% (too aggressive)\nAt median TP (58 pips): hit rate = 50%, RR = 1.45:1\nAt 75th percentile (78 pips): hit rate = 30%, RR = 1.95:1\nEV at 58 pips = 0.5 x 58 - 0.5 x 40 = 9 pips\nEV 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\nCurrent TP hit rate: 8/20 = 40%\nCapture ratio = 150/123.5 = 121.5%\nAt median (123 pips): hit rate = 50%, RR = 2.05:1\nEV at 123 = 0.5 x 123 - 0.5 x 60 = 31.5 pips\nEV 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 accurate are the results from Maximum Favorable Excursion Calculator?
All calculations use established mathematical formulas and are performed with high-precision arithmetic. Results are accurate to the precision shown. For critical decisions in finance, medicine, or engineering, always verify results with a qualified professional.
Is my data stored or sent to a server?
No. All calculations run entirely in your browser using JavaScript. No data you enter is ever transmitted to any server or stored anywhere. Your inputs remain completely private.
How do I interpret the result?
Results are displayed with a label and unit to help you understand the output. Many calculators include a short explanation or classification below the result (for example, a BMI category or risk level). Refer to the worked examples section on this page for real-world context.
Can I use the results for professional or academic purposes?
You may use the results for reference and educational purposes. For professional reports, academic papers, or critical decisions, we recommend verifying outputs against peer-reviewed sources or consulting a qualified expert in the relevant field.
How do I get the most accurate result?
Enter values as precisely as possible using the correct units for each field. Check that you have selected the right unit (e.g. kilograms vs pounds, meters vs feet) before calculating. Rounding inputs early can reduce output precision.
References
Reviewed by Daniel Agrici, Founder & Lead Developer ยท Editorial policy