Home › Calculators › Maximum Drawdown Calculator

Maximum Drawdown Calculator

Find the worst peak-to-trough loss in any price or account history. Paste your values and see the maximum drawdown, when the peak and the bottom happened, how long it took to recover, and every other big drawdown along the way.

Last updated:

Price or account values

Use closing prices, fund NAVs or account balances. "Date, value" lines, spreadsheet columns or a CSV with a header row all work. Oldest or newest first.

Chart

Largest drawdowns

How it was calculated

    Advertisement
    Advertisement

    How to use the Maximum Drawdown Calculator

    1. Paste prices or account values, one per line, ideally with a date before each value.
    2. Pick the value column if your data has several (Auto chooses Adj Close, Close, Price or Value from the header).
    3. Read the maximum drawdown and the peak, trough and recovery dates in the summary.
    4. Switch to the underwater chart to see how deep and how long every decline was.
    5. Review the ranked drawdowns table and download the CSV for your own spreadsheet.

    Drawdown formulas

    • Running peak: Peakt = max(V1, V2, …, Vt)
    • Drawdown: DDt = Vt ÷ Peakt − 1 (zero at a new high, negative below it)
    • Maximum drawdown: MDD = min(DDt) over the whole period
    • Gain to recover = 1 ÷ (1 + MDD) − 1
    • Calmar ratio = CAGR ÷ |MDD|  ·  Ulcer index = √( Σ (DDt × 100)² ÷ n )

    Loss vs. gain needed to break even

    DrawdownGain needed to recoverYears to recover at 7% a year
    −10%+11.1%1.6
    −20%+25.0%3.3
    −30%+42.9%5.3
    −40%+66.7%7.6
    −50%+100.0%10.2
    −60%+150.0%13.5
    −75%+300.0%20.5

    Years to recover = ln(1 + gain needed) ÷ ln(1.07), assuming a steady 7% annual return after the trough.

    Using drawdown in practice

    • Stress-test your plan. Ask whether you could have held on through the maximum drawdown without selling. If not, the strategy may be too risky for you.
    • Look at duration, not only depth. A −25% drop that recovers in six months feels very different from one that stays underwater for five years.
    • Use long histories. A short window that misses a bear market understates the real risk.
    • Combine measures. Volatility shows typical swings, maximum drawdown shows the worst case, and the Sharpe ratio relates return to risk.

    Frequently asked questions

    What is maximum drawdown?

    Maximum drawdown (MDD) is the largest percentage drop from a peak to a later low before a new peak is reached. It shows the worst loss an investor would have suffered by buying at the top and selling at the bottom during the period you analyze.

    How do you calculate max drawdown?

    Track the highest value reached so far (the running peak). For every period, divide the current value by that running peak and subtract 1 to get the drawdown. The most negative of those numbers is the maximum drawdown. For example, a peak of 120 followed by a low of 84 is 84 ÷ 120 − 1 = −30%.

    Why does a 50% loss need a 100% gain to recover?

    After a loss the base is smaller, so the same percentage gain adds back less money. The gain needed to recover is 1 ÷ (1 − loss) − 1: a 20% drawdown needs +25%, a 33% drawdown needs +50% and a 50% drawdown needs +100%.

    What is recovery time?

    Recovery time is how long it took after the trough for the value to climb back to the previous peak. The calculator shows it in periods (rows) and, when dates are included, calendar days. If the value has not regained its peak by the end of your data, the drawdown is marked as not yet recovered.

    What is the Calmar ratio?

    The Calmar ratio divides the compound annual growth rate (CAGR) by the absolute maximum drawdown. A higher number means more return for each unit of worst-case loss. It is traditionally measured over 36 months, but here it uses the whole period you paste.

    What is the Ulcer index?

    The Ulcer index is the square root of the average squared drawdown in percent. Unlike the maximum drawdown, it accounts for how deep and how long all declines were, so a portfolio that stays underwater for a long time scores worse.

    Does the data frequency change the result?

    Yes. Daily data catches intraday-to-day lows that monthly closing prices miss, so daily data usually shows a deeper maximum drawdown than monthly data for the same investment. Compare investments using the same frequency.

    Are all the tools on FreeToolCabin tested for quality and accuracy?

    Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

    Related tools

    Historical Volatility CalculatorPaste prices to get log returns, standard deviation and annualized historical volatility.Stock Beta CalculatorPaste stock and market prices or returns to get beta, correlation, R-squared and a regression chart.Sharpe Ratio CalculatorSharpe and Sortino ratios from a return and volatility, or from a list of returns.CAGR CalculatorCompound annual growth rate, or solve for a target end value.Profit Margin CalculatorGross margin, markup, cost or price: solve for any one, single or bulk.Receipt MakerFill in a receipt template with items and tax, then print or save PDF.Car Depreciation CalculatorEstimate your car's value over time and its projected resale price.CTR CalculatorCalculate click-through rate and compare it with industry benchmarks.Conversion Rate CalculatorCalculate e-commerce conversion rate, revenue per visitor and goals.CPM CalculatorSolve CPM, cost, impressions, CTR and CPC for ad campaigns.Quote Estimate GeneratorCreate a quote or estimate with line items and tax, then save as PDF.ROAS Calculator (Return on Ad Spend)Calculate ROAS, break-even ROAS and profit for each ad channel.Customer Lifetime Value CalculatorCalculate customer lifetime value, LTV:CAC ratio and CAC payback from ARPU and churn.Churn Rate CalculatorCalculate customer churn and retention rates and convert monthly churn to annual.YouTube Money CalculatorEstimate YouTube earnings per day, month and year from views and RPM by niche.Instagram Engagement Rate CalculatorCalculate Instagram engagement rate by followers or reach and compare it to benchmarks.Ecommerce Profit CalculatorNet profit, margin, markup and break-even ROAS per order after fees, ads and returns.Amazon FBA CalculatorEstimate Amazon FBA fees, profit per unit, margin, ROI and break-even price.Etsy Fee CalculatorEtsy listing, transaction, processing and Offsite Ads fees, payout and net profit.eBay Fee CalculatoreBay final value fee, per-order fee, ad fees, payout and net profit on any sale.Stock Profit CalculatorStock trade profit and % return after commissions, plus the break-even sell price.Dollar Cost Averaging CalculatorSee units bought, average cost, value and profit for regular buys at your own price list.Startup Runway CalculatorProject cash, burn rate and runway month by month, with growth, break-even and zero-cash date.Break Even CalculatorFind break-even units and revenue, contribution margin, margin of safety and a cost-volume chart.SaaS Pricing CalculatorModel flat, per-seat, tiered and volume plans with annual discounts to get MRR, ARR and ARPU.Employee Cost CalculatorWork out the true cost of an employee: payroll taxes, benefits, overhead and real hourly cost.Inventory Turnover CalculatorInventory turnover ratio and days inventory outstanding from COGS or sales and average stock.Markup CalculatorFind the selling price from cost and markup, or the markup and margin from cost and price.Unit Price CalculatorCompare up to 4 products by price per ounce, pound, liter or item and find the best deal.Cap Rate CalculatorCalculate a rental property's NOI, cap rate and optional cash-on-cash return.Depreciation CalculatorStraight-line, declining balance, double declining and sum-of-years depreciation schedules.Crypto Profit CalculatorCalculate crypto trade profit, ROI and break-even price after buy and sell fees.PayPal Fee CalculatorWork out PayPal fees, what you receive, and how much to ask for to get an exact amount.Stripe Fee CalculatorCalculate Stripe fees and payouts, or how much to charge to receive an exact amount.Net Promoter Score CalculatorCalculate NPS from promoter, passive and detractor counts or pasted 0–10 survey scores.CPC CalculatorCalculate cost per click from ad spend and clicks, plus CPM, CTR, CPA and ROAS.P/E Ratio CalculatorPrice-to-earnings ratio, earnings yield and PEG ratio from share price, EPS and growth.WACC CalculatorWeighted average cost of capital from equity, debt, their costs and the tax rate.YouTube Sponsorship Rate CalculatorPrice a sponsored YouTube integration from views × CPM, niche, integration length and add-ons.Payback Period CalculatorPayback and discounted payback period for an investment with even or uneven cash flows.Contribution Margin CalculatorContribution margin per unit, CM ratio, operating profit and break-even point.Customer Acquisition Cost CalculatorCAC from marketing and sales spend, plus LTV:CAC ratio and payback months.CPA CalculatorCost per acquisition from ad spend, plus break-even and target CPA from your margin.Safety Stock CalculatorSafety stock by days of cover, max − average, or service level (Z × σ × √lead time).Dimensional Weight CalculatorDIM weight and billable weight for a box in inches or cm with 139, 166, 5000 or 6000 divisors.RPM CalculatorRevenue per 1,000 views from earnings, estimated earnings from RPM, and views for a goal.Customer Retention Rate CalculatorCustomer retention rate and churn from start, end and new customer counts.Margin to Markup CalculatorConvert gross margin % to markup % and back, with price multiplier and conversion table.Airbnb Income CalculatorShort-term rental net income from nightly rate, occupancy, cleaning, fees and expenses.Golden Ratio CalculatorSplit a length into golden sections, find a from b, and get a φ scale of design sizes.3D Printing Cost CalculatorCost and selling price of a 3D print: filament, power, machine wear, failures and labor.Billable Hours Utilization CalculatorUtilization rate, billable revenue and the hours needed to reach your target.Break Even ROAS CalculatorMargin, break-even ROAS and CPA, and the target ROAS for your profit goal per order.Business Valuation CalculatorValue a business with SDE, EBITDA or revenue multiples you choose: low, mid and high range.CAC Payback Period CalculatorMonths to recover customer acquisition cost from gross profit, with churn and benchmarks.Cash App Fee CalculatorCash App instant deposit, business and credit card fees, with a reverse mode.Cash Conversion Cycle CalculatorDIO, DSO, DPO and the cash conversion cycle in days from inventory, receivables and payables.Cost of Goods Sold CalculatorCOGS from beginning inventory, purchases, direct costs and ending inventory, plus gross margin.Commercial Rent CalculatorMonthly and annual commercial rent from price per sq ft, NNN/CAM and yearly escalations.1099 vs W-2 CalculatorCompare a W-2 salary with benefits to a 1099 contract rate and find the break-even hourly rate.Cost Per Lead CalculatorCPL from spend and leads or clicks, max budget for a target CPL and a channel comparison.Car Cost Per Mile CalculatorWork out what your car really costs per mile and per year, from fuel to depreciation.Cost Per Use CalculatorFind the true cost per use of an item, including upkeep and resale, and compare up to 3.Days Sales Outstanding CalculatorDSO, receivables turnover and average collection period from AR and credit sales.Debt to Equity Ratio CalculatorD/E ratio, debt ratio and equity multiplier from liabilities or debt and equity, explained.DCF CalculatorDiscounted cash flow model: projected FCF, terminal value and intrinsic value per share.Stacked Discount CalculatorFind the final price of stacked discounts like 20% + 10% off, with coupon and sales tax.Debt Service Coverage Ratio CalculatorDSCR from NOI and loan payments, max loan for a target ratio and lender pass/fail check.
    See all 209 Business & Marketing Calculators →