This free forex hedging calculator works out how many lots of a second instrument you need to offset a position you already hold. It reads the published correlation between the two instruments and adjusts for the pip value of each one. Out come the hedge size, the hedge direction, and the share of risk still left live. That last number is the one traders skip. A correlation hedge never cancels a position outright, and the guide below shows the arithmetic that proves it.
Forex Hedging Calculator
Fills in automatically from our long-run correlation table when you pick both instruments. Type your own value to override it.
Fills in from the instrument you pick. USD-quote pairs are 10 USD. USD-base pairs are not: USDCHF 12.50, USDCAD 7.35, USDJPY 6.80 at our reference rates. Gold is 1 USD on a 100-ounce contract.
Same defaults apply here. USD-base values drift with price, so overwrite them if your hedge runs for weeks. Check your broker if the contract size differs from the standard.
Round-trip cost note.
Direct hedge versus correlation hedge
Two very different trades share the word hedge. Knowing which one you hold matters more than the lot size.
A direct hedge means opening the opposite position in the same instrument. Long one lot of EURUSD, short one lot of EURUSD. Net exposure becomes zero. Price can do anything and your combined result stays frozen. It sounds tidy. It is mostly pointless. You paid a second spread to freeze an open loss that you could have closed for one spread, and your margin stays tied up. Some jurisdictions ban the structure outright. Under NFA first-in-first-out rules, a US broker will simply close the original order instead of opening the offset.
A correlation hedge is a different animal. You keep the original position and open a position in a related instrument that tends to move the other way. Long EURUSD, short GBPUSD is the classic pair. Both share the dollar leg, so a broad dollar move hits both and the two results partly cancel. What survives is the difference between euro strength and pound strength. That residue is the trade you are really left holding. This calculator sizes that second leg.
How to use this forex hedging calculator
- Pick the primary instrument you already trade, then type the position size in lots.
- Set the primary direction to buy or sell. Direction decides which way the hedge points.
- Pick the hedge instrument. The correlation field fills in from our long-run table the moment both selections are set.
- Override the correlation if you measured your own value on your own timeframe. Recent data beats long-run averages when volatility regimes shift.
- Check the pip values. Both fields fill in from the instruments you picked. USD-quote pairs such as EURUSD and GBPUSD are 10 USD per pip per lot. USD-base pairs are not, because the pip pays out in the other currency and has to be converted back. Gold on a 100-ounce contract is 1 USD per pip per lot.
- Read the hedge lots and direction, then read the residual percentage below them. The residual is the part of the trade the hedge cannot touch.
Confirm the margin for both legs before you send the second order. Our margin calculator shows what a two-leg position ties up.
Download the complete indicator database
Watch correlation and exposure on your own charts with tested tools. One email unlocks the full library of 1,380+ indicators with compiled MT4 and MT5 files, plus my TradingView scripts. No paywall, no spam, unsubscribe any time.
Get the complete indicator library
One email unlocks 1,380+ indicators with compiled MT4 and MT5 files, plus my TradingView scripts.
The math behind the hedge ratio
The formula has three inputs and one line:
Hedge lots = primary lots × |correlation| × (primary pip value ÷ hedge pip value)
The absolute value of the correlation sets the strength of the offset. A correlation of 0.85 means the hedge instrument typically travels 85% as far, in matched terms, as the primary. So you need 0.85 lots to face the same money exposure. A correlation of 0.25 means the two barely track each other, so a 0.25 lot hedge does very little work.
The sign of the correlation sets the direction. Positive correlation means the two instruments move together, so the hedge takes the opposite side of your primary trade. Negative correlation means they move apart, so the hedge takes the same side. EURUSD and USDCHF sit at -0.90. If you are long EURUSD, the hedge is long USDCHF, not short.
Why the pip value ratio matters
Lots are not comparable across instruments. One pip on a standard EURUSD lot is worth 10 USD. One pip on a standard gold lot, using a 0.01 price step, is worth 1 USD. Hedging EURUSD with gold at a raw one-to-one lot ratio would leave you almost unhedged.
The ratio fixes that. Divide the primary pip value by the hedge pip value and multiply it in. Gold against EURUSD gives a ratio of ten, so a 0.40 correlation produces four gold lots. Check that number against your margin before you act on it.
USD-base pairs are not 10 USD per pip
Here is the trap that quietly breaks hedge ratios, and it is subtler than the gold case. The 10 USD figure only holds when the dollar is the quote currency. That covers EURUSD, GBPUSD, AUDUSD and NZDUSD. One pip on 100,000 units is 10 units of the quote currency, and the quote currency is already dollars. Nothing needs converting, so 10 is exact.
Flip the pair and the arithmetic changes. On USDCHF, USDCAD and USDJPY the dollar is the base currency. One pip pays out in francs, Canadian dollars or yen, and that amount must be converted back to dollars at the current rate. So the pip value is 10 divided by the price on USDCHF and USDCAD. On USDJPY the pip is 0.01 rather than 0.0001, so one pip is 1,000 yen, and the value is 1,000 divided by the price.
These are the values this calculator fills in, at the reference rates we publish across the site. They match the pip value column on our forex spread comparison page.
| Instrument | Dollar side | Reference rate | Pip value per lot | Ratio against EURUSD |
|---|---|---|---|---|
| EURUSD, GBPUSD, AUDUSD, NZDUSD | Quote | Any | 10.00 USD | 1.00 |
| USDCHF | Base | 0.8000 | 12.50 USD | 0.80 |
| USDCAD | Base | 1.3600 | 7.35 USD | 1.36 |
| USDJPY | Base | 147.00 | 6.80 USD | 1.47 |
| XAUUSD (Gold) | Quote | Any | 1.00 USD | 10.00 |
Read the last column carefully, because it is the whole point. A USD-base hedge is never a one-to-one lot swap. USDCHF needs fewer lots than the raw correlation suggests, since each of its pips pays more. USDCAD and USDJPY need more lots, since each of their pips pays less. Skip the ratio and you are over-hedged on one pair and under-hedged on the other two.
Pip values drift as the price moves
One caveat that matters over time. USD-base pip values drift with the price, because the conversion rate is the price. USDCHF at 0.8000 pays 12.50 USD per pip. Move it to 0.9000 and the same pip pays 11.11 USD, so a hedge sized at the old value is roughly 11% off. Re-read the figure from the pip value calculator and type it in yourself if the position runs for weeks.
A worked example with real numbers
You are long 1.00 lot of EURUSD. Price runs against you and you do not want to close, because your setup is still valid on the higher timeframe. You decide to hedge with GBPUSD, which our table puts at +0.85 against EURUSD.
Both are USD-quote pairs, so both pip values are 10 USD and the ratio is 1.00. The hedge size becomes 1.00 × 0.85 × 1.00 = 0.85 lots. The correlation is positive, so the hedge is a sell. You now hold long 1.00 EURUSD and short 0.85 GBPUSD.
What happens when the dollar rallies
Say the dollar strengthens broadly. EURUSD drops 100 pips, costing 1,000 USD. GBPUSD drops 100 pips too. Your short 0.85 lot leg gains 0.85 × 100 × 10 = 850 USD. Net loss: 150 USD instead of 1,000 USD. The hedge did its job.
Now say the pound gets hit by its own news. EURUSD still drops 100 pips for a 1,000 USD loss, but GBPUSD drops 160 pips. The hedge gains 1,360 USD and the pair of trades ends 360 USD ahead. That is the residual working in your favour. It cuts both ways.
What happens when the hedge fails
Third case. EURUSD drops 100 pips on soft euro data while GBPUSD rises 40 pips on strong UK data. You lose 1,000 USD on the primary and another 340 USD on the hedge. Combined loss: 1,340 USD, worse than the unhedged position. Nothing about the structure prevents this. It is the same 27.75% residual, pointing the wrong way.
The same position hedged with USDCHF
Now run the USD-base case, because the numbers land somewhere unexpected. You still hold long 1.00 lot of EURUSD. This time you hedge with USDCHF, which our table puts at -0.90. The correlation is negative, so the hedge is a buy, not a sell.
The pip values differ. EURUSD is 10 USD per pip per lot. USDCHF at 0.8000 is 12.50 USD, so the ratio is 10 divided by 12.50, which is 0.80. The hedge size becomes 1.00 × 0.90 × 0.80 = 0.72 lots. Not 0.90.
Check it in money. The dollar rallies, EURUSD falls 100 pips and you are down 1,000 USD. USDCHF moves 90 pips your way, which is what a -0.90 relationship implies. Your long 0.72 lot leg gains 0.72 × 90 × 12.50 = 810 USD. Net loss: 190 USD. That 810 covered is exactly 81% of the 1,000, which is r-squared, and the 190 left over is the 19% residual the tool reports.
Now see what the naive version does. Size it at 0.90 lots because the correlation is 0.90 and both look like majors. The hedge then gains 0.90 × 90 × 12.50 = 1,012.50 USD against a 1,000 USD loss. You are 25% over-hedged, and the combined position is quietly net short EURUSD rather than flat. Move the market the other way and that overshoot becomes a loss you never signed up for. USDCAD and USDJPY fail in the opposite direction: their pips pay less, so a one-to-one lot ratio leaves you under-hedged.
Why r-squared is the honest number
Here is where most hedging content quietly misleads people. A correlation of 0.85 does not remove 85% of your risk. Correlation is not a percentage of anything.
Square it and you get the coefficient of determination. That number does describe a share: the fraction of one instrument's variance explained by the other. At r = 0.85, r-squared is 0.7225. So about 72% of the shared movement is accounted for, and roughly 28% of the variance is not. Your calculator reports 27.75% residual because that is 1 minus 0.7225.
The gap between 85 and 72 is where accounts get hurt. A trader who believes the hedge removed 85% of the risk sizes the next position as if only 15% remained live. The real figure is nearly double that. At r = 0.60, the picture is far worse: r-squared is 0.36, so a hedge that sounds respectable leaves 64% of the variance untouched.
Only very high correlations do meaningful work. At 0.90 you cover 81%. At 0.95 you cover 90%. Below 0.70 you are mostly paying spreads to feel safer. The residual column in the table below makes the point faster than any paragraph.
Hedge sizes for one standard lot
Pre-computed values for a long 1.00 lot EURUSD position, using our published long-run correlations and the pip values listed above. Watch the ratio column. The four USD-quote rows sit at 1.00, so their hedge size equals the correlation. The three USD-base rows do not, so their hedge size is the correlation multiplied by the ratio. Flip every direction if your primary trade is a sell.
| Hedge instrument | Correlation | Pip value ratio | Hedge size | Hedge direction | Residual risk |
|---|---|---|---|---|---|
| USDCHF | -0.90 | 0.80 | 0.72 lots | Buy | 19.00% |
| GBPUSD | +0.85 | 1.00 | 0.85 lots | Sell | 27.75% |
| AUDUSD | +0.60 | 1.00 | 0.60 lots | Sell | 64.00% |
| USDCAD | -0.55 | 1.36 | 0.75 lots | Buy | 69.75% |
| NZDUSD | +0.55 | 1.00 | 0.55 lots | Sell | 69.75% |
| XAUUSD (Gold) | +0.40 | 10.00 | 4.00 lots | Sell | 84.00% |
| USDJPY | -0.25 | 1.47 | 0.37 lots | Buy | 93.75% |
The gold row shows the pip value ratio at its most extreme. Four lots of gold sounds alarming, and it should. That is a 400-ounce notional carrying its own volatility, hedging 16% of your variance. The USD-base rows make the same point more quietly. USDCHF needs 0.72 lots against a 0.90 correlation, while USDJPY needs 0.37 against a 0.25 correlation. Read the correlation column alone and you would have got both wrong, in opposite directions. The full grid sits on our forex correlation matrix, and the pip values come from the pip value calculator.
Why a hedge is never free
Every hedge carries four costs. Count them before you decide the structure is cheaper than closing.
First, the spread. You pay it opening the hedge and again closing it. Two spreads, minimum. On a wide pair or during thin hours, that alone can exceed the loss you were trying to manage.
Second, the swap. Both legs sit overnight and both get charged or credited. Rate differentials drive that number. In July 2026 the Bank of England sits at 3.75% and the ECB deposit rate at 2.25%. A long EURUSD plus short GBPUSD structure faces that 1.50 point gap. Hold it for weeks and the carry becomes the dominant cost. Our interest rate tracker lists the current policy rates behind those swaps.
Third, margin. Two positions tie up more of your account than one, so your free margin shrinks exactly when you least want it to.
Fourth, attention. A hedged pair of trades needs two exits, in the right order, at the right time. Unwind the hedge first and you are suddenly fully exposed again. Unwind the primary first and you are holding a naked position in an instrument you never intended to trade.
Correlation drift breaks hedges when they matter most
The number in the correlation field is a long-run average. It is not a constant. Correlations move with the news cycle, and they move fastest during stress.
EURUSD and GBPUSD usually track each other closely because both are dollar trades. Then a UK budget lands, or a Bank of England meeting surprises, and the pound decouples for a week. The measured correlation slides from 0.85 toward 0.40 while your position is open. Your hedge ratio was built for 0.85 and is now badly wrong.
Stress makes this worse in a specific way. In a risk-off panic, most pairs collapse toward the dollar together and correlations spike toward 1.00. That sounds helpful. It is not, because the same panic widens spreads and gaps prices. A hedge sized on calm-market data meets an unrecognisable market.
Re-measure before you rely on a value. Compute the correlation on the timeframe you actually trade, over a window that matches your holding period. Then check it again on the correlation matrix and update the field. A stale correlation is worse than no hedge, because it convinces you that you are covered.
The simpler alternative: size smaller
Here is the honest conclusion after all that arithmetic. For most retail traders, most of the time, hedging is the wrong tool.
Look at what a correlation hedge actually delivers.
- It costs two spreads plus ongoing swap.
- Your margin requirement doubles.
- A residual stays live that you cannot control.
- Correlation monitoring never stops.
- Also, a clean single-instrument trade becomes a spread trade you never planned.
Halving the original position achieves something close to the same exposure reduction.
- It costs one spread.
- Margin frees up instead of getting eaten.
- Nothing needs monitoring.
- There is no residual and no drift risk.
Use the position size calculator to work out the smaller lot size, and check total exposure across every open trade with the portfolio heat calculator.
Hedging earns its place in narrower cases. Tax or accounting reasons for keeping a position open. A short scheduled event where you want the exposure back afterwards. A genuine spread view, where the euro-versus-pound leg is the trade you wanted all along. If none of those apply, trade smaller. Model the drawdown paths with the drawdown calculator before you decide.
What this hedging calculator cannot tell you
This tool is arithmetic, not advice. It answers one narrow question: given a correlation and two pip values, how many lots balance the exposure. Everything below sits outside its reach.
- Whether the correlation still holds. The table ships long-run averages. Your live market may sit far from them.
- Your broker's real costs. Spreads, commissions and swap rates vary by broker, account type and hour. None of them enter the formula.
- Whether hedging is allowed. FIFO rules, no-hedging account settings and prop-firm rulebooks all restrict the structure.
- The direction of the residual. The tool sizes the residual. It cannot say which way it will move.
- Non-linear behaviour. Correlation measures a linear relationship. Gaps, spikes and news jumps are not linear.
- Whether the trade is worth keeping. Hedging a bad position preserves a bad position at a cost.
Every calculator in the forex tools collection is built and checked the same way, under our Editorial and Testing Policy. Log the hedges you place in a trade journal and review whether they actually improved your outcomes. Most traders find the answer surprising.
Want the full toolkit? Get the complete database.
FAQ
Does a hedge remove my risk?
No. A direct hedge in the same instrument freezes the open result and costs a second spread. A correlation hedge only offsets the shared movement. At r = 0.85, about 28% of the variance stays live.
Why does the calculator sometimes tell me to buy the hedge?
Because the correlation is negative. EURUSD and USDCHF sit near -0.90, so they already move in opposite directions. To offset a long EURUSD position you buy USDCHF. The opposite side would double your exposure.
Why is the hedge size so large when I pick gold?
Pip values differ. A standard EURUSD lot is worth 10 USD per pip. A 100-ounce gold lot is worth 1 USD per 0.01 move. The calculator applies that ten-to-one ratio, so a 0.40 correlation returns 4.00 gold lots. The same adjustment runs on USDCHF, USDCAD and USDJPY, where the dollar is the base currency and one pip is worth 12.50, 7.35 and 6.80 USD at our reference rates rather than a flat 10.
Can I use my own correlation instead of yours?
Yes, and you often should. Type any value between -1.00 and +1.00 and the tool recalculates. Measure it on your own timeframe, over a window that matches your holding period. Long-run averages hide regime changes.
Is hedging better than cutting my position size?
Usually not. Halving the position gives similar exposure reduction for one spread, frees margin, and leaves no residual to monitor. Hedging fits scheduled events, account restrictions, or a genuine spread view. Test any approach on a demo account first, because outcomes vary with market conditions. Results are not guaranteed; past performance is not indicative of future results.
External references