Calmar ratio in trading: formula and what a good value is
The Calmar ratio formula with a worked example, how to work it out from an MT5 backtest, why the Recovery Factor isn't the same thing, and what a good value is.

The Calmar ratio is a strategy's annual return divided by its maximum drawdown, usually both taken over the last 36 months. A Calmar ratio of 2 means the strategy made twice its worst fall each year on average. As a rough guide, a Calmar ratio above 1 over three years is good and above 2 is strong. A figure from a single year, or from settings tuned on the same data, usually comes out too high.
The MT5 Strategy Tester doesn't report it, but its report has both numbers you need. The Recovery Factor it does show is a close relative that isn't scaled to a year, so it can't stand in for the Calmar ratio.
The Calmar ratio formula
Calmar ratio = annual return ÷ maximum drawdown
- Annual return: the compound growth per year over the period, (ending balance ÷ starting balance) to the power of (1 ÷ years), minus 1.
- Maximum drawdown: the largest fall from a high to a later low, as a percentage of that high. If the strategy holds trades open, take it from equity, not balance.
Both are percentages, so the result has no unit.
The ratio was created by Terry W. Young, first published in 1991 in the trade journal Futures, and its name comes from his newsletter, California Managed Accounts Reports; according to Wikipedia's Calmar ratio article, it uses 36 months of monthly data. The MAR ratio does the same division over the whole history since the account started. The two names get used loosely, so check which period a published figure covers.
A worked example
Take the same 12 monthly returns as in our Sharpe ratio and Sortino ratio guides: 3, −1, 2, 4, −2, 1, 2, −3, 5, 1, 0 and 2 percent. Start at 100 and compound them.
- Annual return: the account ends the year at 114.59, so 14.59%.
- Maximum drawdown: the highest point before the worst fall is 109.21 after month 7. Month 8 loses 3% and takes it to 105.93, a fall of 3.00%. The other dips are smaller.
- Calmar ratio: 14.59 ÷ 3.00 = 4.86.

That looks excellent, and the short period is most of the reason. One year with a single 3% dip says little about how deep the next bad stretch could go, which is why the usual version takes 36 months.
In Excel or Google Sheets, put the balance at each month end in column B, starting with the opening balance in B2 and ending in B14. In C2 enter =B2/MAX($B$2:B2)-1 and copy it down. The annual return is =(B14/B2)^(12/(ROWS(B2:B14)-1))-1, which works for any number of months. The maximum drawdown is =-MIN(C2:C14). Divide the first by the second.
How to get the Calmar ratio from an MT5 backtest
The MT5 testing report help lists what the Backtest tab shows. Four of those numbers are enough:
- Note the test length in years from the dates you set.
- Take Initial Deposit and Total Net Profit, and work out the annual return: ((deposit + net profit) ÷ deposit) to the power of (1 ÷ years), minus 1.
- Take Equity Drawdown Relative, the largest fall in percent from an equity high to the next low.
- Divide the annual return by that drawdown.
Here's a made-up three-year test: a 10,000 deposit and 5,000 net profit give (15,000 ÷ 10,000) to the power of 1/3, minus 1, which is 14.47% a year. With an Equity Drawdown Relative of 9.6%, the Calmar ratio is 14.47 ÷ 9.6 = 1.51.

MT5 shows each drawdown twice: Maximal is the largest fall in money, Relative the largest fall in percent, and each line shows both units. They can come from different falls, because a small fall late in a test can cost more money than a deeper fall early on, when the account was smaller. Use the percentage from the Relative line for the Calmar ratio.
Recovery Factor isn't the Calmar ratio
The help page describes the Recovery Factor as the ratio of gained profit to the maximum drawdown. Both are amounts of money, and the MQL5 testing statistics reference shows it uses the balance drawdown. In the example, if the largest balance drawdown cost 1,300, the Recovery Factor is 5,000 ÷ 1,300 = 3.85.
It isn't scaled to a year. Run the same EA over six years instead of three and the net profit keeps adding up, while the worst drawdown may stay where it was, so the Recovery Factor climbs with the length of the test. Compare it only between tests over the same dates. The Calmar ratio divides a yearly figure, so tests of different lengths stay closer to comparable.

Ranking optimisation passes by the Calmar ratio
MT5 has no Calmar criterion. The Custom max criterion ranks the passes by the value the EA returns from its OnTester() function, as the MT5 optimisation help describes. Inside OnTester(), the EA can read TesterStatistics(STAT_INITIAL_DEPOSIT), TesterStatistics(STAT_PROFIT) and TesterStatistics(STAT_EQUITY_DDREL_PERCENT), which the MQL5 testing statistics reference lists, work out the test length from the time it saved in OnInit(), and return the annual return divided by the drawdown. If we build an EA for you, we can add that (custom EA development).
What is a good Calmar ratio?
There's no official scale. This is how we read an annual Calmar ratio from at least three years of a real-tick EA test with realistic spread and commission, using the equity drawdown:
- Below 0: the strategy lost money over the test.
- 0 to 0.5: the drawdowns are large for what it earns. One bad stretch would take years to make back.
- 0.5 to 1: can work, if the drawdown itself is one you could sit through.
- 1 to 2: good.
- Above 2: strong. Check it against the traps below before you believe it.
The ratio doesn't tell you how deep the drawdown was. A strategy making 30% a year with a 15% drawdown and one making 6% with a 3% drawdown both score 2. Decide first how deep a fall you could live with, then compare Calmar ratios among the strategies that stay inside it.
When the Calmar ratio misleads
It rests on one bad stretch
The Sharpe and Sortino ratios use every month. The Calmar ratio uses only the single worst fall, so one month can move it a long way. Change the −3% month in the worked example to −6% and the Calmar ratio drops from 4.86 to 1.84. A test that happened to miss a rough market period will look much better than the strategy is. A Monte Carlo simulation of the trades shows how much deeper the drawdown could have been with the same trades in a different order. Work the Calmar ratio out again with that deeper figure.
Short tests
A longer test gives the strategy more chances to hit a bad run, so the maximum drawdown usually grows with the test while the annual return doesn't. That's why one year's Calmar ratio tends to sit above a three-year one. Compare only figures over the same length of time.
Balance instead of equity
A grid or martingale EA closes its winners and holds its losers open. The balance drawdown stays small and the Calmar ratio looks excellent, while the equity drawdown is many times larger. Always use the equity figure. Our article on grid and martingale EA risks explains how these systems fail.
Settings tuned on the same data
Optimised settings give their best Calmar ratio on the data they were tuned on. Read it from the out-of-sample periods of a walk-forward optimization instead.
Calmar, Sharpe, Sortino and profit factor
The Sharpe ratio divides by all the swings in the returns, and the Sortino ratio only by the falls below a target. The Calmar ratio divides by the single worst fall. Profit factor leaves time out and compares what the winning trades made with what the losing trades cost.
Each answers a different question, so read them together with the drawdown in money and the number of trades. For an EA you're thinking of buying, our guide on how to judge an Expert Advisor lists the other checks.
FAQ
What is a good Calmar ratio?
Over three years of results, with the equity drawdown and realistic costs, above 1 is good and above 2 is strong. A higher figure from one year of data or from optimised settings needs checking before you rely on it.
Is the Calmar ratio the same as the MAR ratio?
They divide the same two things. The Calmar ratio usually covers the last 36 months, while the MAR ratio covers the whole history from the start. Over a three-year backtest they come out the same.
What is the difference between the Calmar ratio and the Sharpe ratio?
The Sharpe ratio divides the return by how much the returns swing from month to month. The Calmar ratio divides it by the deepest fall. A strategy with small, steady swings and one large crash can have a decent Sharpe ratio and a poor Calmar ratio.
Can the Calmar ratio be negative?
Yes. If the strategy lost money over the period, the annual return is negative and so is the ratio. A test with no drawdown at all gives no Calmar ratio, because it divides by zero.
Keep reading: the Sharpe ratio, the Sortino ratio, drawdowns and losing streaks and the MT5 Strategy Tester guide.
Risk note: trading forex carries a high level of risk and may not be suitable for everyone. This article is for education only and is not financial advice.
Have a strategy you want automated?
We turn trading rules into tested Expert Advisors for MT4 and MT5. Tell us how you trade and we'll send a specification and a quote.
More articles

Sortino ratio in trading: formula and what a good value is
The Sortino ratio formula with a worked example, the calculation slip that halves it, how it differs from the Sharpe ratio, what a good value is and how to get it out of MT5.
Read article
Trading expectancy: formula, worked example and good values
The expectancy formula with a worked example in R, how spread and commission eat it on tight stops, how many trades you need, where MT5 shows it and what a good value is.
Read article
Sharpe ratio in trading: formula and what a good value is
The Sharpe ratio formula with a worked example, what a good value is, where MT5 shows it and how it rates it, and why smooth grid EAs and short tests can fake a high one.
Read article