A carry trade is one of the oldest ideas in foreign exchange: borrow money in a currency with a low interest rate, convert it into a currency with a higher rate, and pocket the difference. This guide gives you the carry trade explained from first principles — the mechanics, the formulas, a worked yen example with late-2026 numbers, the reasons it sometimes blows up, and the code to measure carry and its risk with a currency API.
You don't have to be a trader for this to matter. Carry flows are a major reason exchange rates trend quietly for months and then move violently in days. If you build pricing, treasury, payments, or analytics software that touches more than one currency, carry trades shape the data you work with.
What Is a Carry Trade?
A currency carry trade has two legs:
- The funding currency — the one you borrow. It has a low interest rate. Historically this has been the Japanese yen (JPY) and often the Swiss franc (CHF).
- The target (investment) currency — the one you buy and hold. It has a higher interest rate. Typical examples are the US dollar (USD), the Australian dollar (AUD), the Mexican peso (MXN), or the Brazilian real (BRL).
The carry is the interest rate differential between the two. If you borrow at 1% and invest at 5%, you earn roughly 4% a year for as long as nothing else changes.
The catch is in "nothing else changes." The position is exposed to the exchange rate. If the target currency falls against the funding currency by more than the interest you collected, the trade loses money. A carry trade is therefore a bet on two things at once: that the rate gap persists, and that the exchange rate stays stable or moves in your favor.
How a Carry Trade Works: Step by Step
- Borrow the funding currency at its low interest rate.
- Convert it into the target currency at the spot rate.
- Invest the proceeds in a deposit, a government bill, or another interest-bearing asset in the target currency.
- Collect the higher interest while the position is open.
- Unwind: convert back into the funding currency and repay the loan plus interest.
In practice, most carry trades never involve a physical loan. They are usually built with derivatives such as FX forwards and swaps, and they typically run for months rather than years. Retail forex accounts get the same exposure through the daily rollover (swap) credit or debit a broker applies to positions held overnight.
The Carry Trade Formula
Let:
S0= spot rate when you open the trade (funding-currency units per one unit of target currency)S1= spot rate when you close itr_target= interest rate on the target currency for the holding periodr_funding= interest rate on the funding currency for the holding period
The return, measured in the funding currency, is:
return = (S1 / S0) × (1 + r_target) − (1 + r_funding)For small numbers this is close to a simpler rule of thumb:
return ≈ (r_target − r_funding) + % change in the target currencySetting the return to zero gives the break-even exchange rate — the level at which currency losses exactly cancel the interest earned:
S_breakeven = S0 × (1 + r_funding) / (1 + r_target)If that expression looks familiar, it should. It is the same formula that prices an FX forward under covered interest parity. The forward rate is the break-even rate, which is why a carry trade hedged with a forward earns essentially nothing: the hedge costs exactly the interest differential. Carry profit exists only if you leave the currency risk open. For more on that relationship, see our guide to the spot rate vs forward rate.
A Worked Example: The Yen Carry Trade in Late 2026
Take real figures from the end of November 2026, as published in MUFG's monthly FX outlook: the Bank of Japan policy rate is 1.25%, the Fed funds target range is 3.75%–4.00% (midpoint 3.88%), and USD/JPY closed the month at 159.66.
Suppose you borrow ¥10,000,000 for one year at 1.25% and invest in dollars at 3.88%. This ignores transaction costs and credit spreads to keep the arithmetic clean.
- Convert: ¥10,000,000 ÷ 159.66 = $62,633
- Dollar interest after one year: $62,633 × 3.88% = $2,430, for a total of $65,063
- Yen owed after one year: ¥10,000,000 × 1.0125 = ¥10,125,000
- Break-even rate: 159.66 × 1.0125 ÷ 1.0388 = 155.62
The dollar can fall about 2.5% against the yen before the trade loses money. Here is the outcome at different closing rates:
| USD/JPY at close | Profit or loss (¥) | Return on ¥10m |
|---|---|---|
| 165.00 | +610,438 | +6.10% |
| 159.66 (unchanged) | +263,000 | +2.63% |
| 155.62 (break-even) | ≈ 0 | 0.00% |
| 150.00 | −365,511 | −3.66% |
| 142.00 | −886,017 | −8.86% |
Now add leverage, which is how carry trades are normally run. At 10× leverage, the 2.63% carry becomes about 26% on your own capital, and the −8.86% scenario becomes a loss of nearly 89%. That asymmetry is why traders describe carry as "picking up nickels in front of a steamroller."
Why Carry Trades Work — and Why Theory Says They Shouldn't
Economic theory has a concept called uncovered interest parity (UIP). It says the high-interest currency should depreciate by just enough to offset its rate advantage, leaving expected carry profit at zero.
In real data, that often fails. High-interest currencies have frequently held their value or even appreciated over long stretches, a pattern known as the forward premium puzzle, documented by Eugene Fama in 1984 and studied ever since. Common explanations are:
- Risk compensation. Carry returns are payment for bearing crash risk. The strategy tends to lose money exactly when investors can least afford it — during global market stress.
- Self-reinforcing flows. Money moving into the high-yield currency pushes it up, which attracts more money, until something breaks.
- Slow adjustment. Central banks change rates gradually, so differentials persist longer than a frictionless model would predict.
The practical summary: carry tends to deliver small, steady gains for long periods and then give a large share of them back quickly.
Carry Trade Risks: How the Unwind Happens
Exchange rate risk
This is the dominant risk, as the table above shows. Interest accrues slowly; exchange rates can move several percent in a day.
Interest rate risk
If the funding currency's central bank raises rates, or the target currency's central bank cuts, the differential shrinks. Markets usually move the exchange rate in anticipation, so both risks arrive together. Our guide on how central bank rate hikes move exchange rates covers the mechanism.
Leverage and liquidity risk
When a leveraged position loses money, margin calls force traders to close. Closing means buying back the funding currency, which pushes it higher, which triggers more margin calls. This feedback loop is the carry trade unwind.
The August 2024 unwind
The clearest recent case came in the summer of 2024. The Bank of Japan had ended its negative-rate policy in March 2024, and on 31 July 2024 it raised its policy rate to around 0.25% and signaled more increases. In the same week, weak US jobs data raised expectations of Fed cuts. The rate gap was suddenly expected to narrow from both sides.
USD/JPY, which had traded near 162 in early July, fell to around 142 by 5 August. On that day Japan's Nikkei 225 fell 12.4%, its largest one-day percentage drop since the 1987 crash, and stock markets worldwide sold off as leveraged positions funded in yen were closed.
Where things stand in December 2026
The yen is still the main funding currency, but the picture has changed. At 1.25%, the BoJ's policy rate is the highest since 1995, and MUFG expects another 25-basis-point increase at the meeting that ends on 18 December. Yet because the Fed is also expected to raise rates at its 9 December meeting, the gap between them has stayed wide, and USD/JPY ended November close to 160. As analysts at GO Markets pointed out, if both central banks move by the same amount, the differential does not change at all. That is the tension to watch: carry remains attractive on paper while the funding currency's central bank is actively tightening. We track the Japanese side of this in our Bank of Japan 2026 rate hikes guide.
Measuring Carry with a Currency API
The useful number for comparing carry opportunities is not the raw differential but the carry-to-risk ratio:
carry-to-risk = interest rate differential / annualized volatility of the pairA 3% differential on a pair that moves 15% a year is far less attractive than 3% on a pair that moves 6%. You need two inputs: policy or deposit rates, which you maintain yourself from central bank announcements, and exchange rate history, which comes from an API.
First, fetch the current spot rate with cURL:
curl "https://api.finexly.com/v1/latest?base=USD&symbols=JPY&apikey=YOUR_API_KEY"Then calculate carry, break-even, and carry-to-risk in Python using the Finexly time-series endpoint:
import math
import statistics
import requests
API_KEY = "YOUR_API_KEY"
# Policy rates as decimals. Update these when central banks announce changes.
POLICY_RATES = {"USD": 0.0388, "JPY": 0.0125, "AUD": 0.0485, "EUR": 0.0250}
def fetch_series(target, funding, start, end):
"""Daily rates: units of `funding` per 1 unit of `target`."""
r = requests.get(
"https://api.finexly.com/v1/timeseries",
params={"base": target, "symbols": funding,
"start_date": start, "end_date": end},
headers={"Authorization": "Bearer " + API_KEY},
timeout=10,
)
r.raise_for_status()
rates = r.json()["rates"]
return [rates[d][funding] for d in sorted(rates)]
def annualized_vol(series, periods=260):
returns = [math.log(b / a) for a, b in zip(series, series[1:])]
return statistics.stdev(returns) * math.sqrt(periods)
def carry_report(target, funding, start, end):
series = fetch_series(target, funding, start, end)
spot = series[-1]
r_t, r_f = POLICY_RATES[target], POLICY_RATES[funding]
vol = annualized_vol(series)
breakeven = spot * (1 + r_f) / (1 + r_t)
return {
"pair": target + "/" + funding,
"spot": round(spot, 4),
"carry_pct": round((r_t - r_f) * 100, 2),
"breakeven_1y": round(breakeven, 4),
"cushion_pct": round((1 - breakeven / spot) * 100, 2),
"annual_vol_pct": round(vol * 100, 2),
"carry_to_risk": round((r_t - r_f) / vol, 2),
}
for target in ("USD", "AUD", "EUR"):
print(carry_report(target, "JPY", "2026-09-01", "2026-11-30"))The cushion_pct field tells you how far the target currency can fall over a year before interest income is wiped out. Comparing it with annual_vol_pct shows at a glance how thin that cushion is. For a deeper treatment of the volatility calculation, see how to calculate currency volatility.
The same break-even logic in JavaScript, for a dashboard or pricing tool:
const API_KEY = "YOUR_API_KEY";
async function carryBreakeven(target, funding, rTarget, rFunding) {
const res = await fetch(
`https://api.finexly.com/v1/latest?base=${target}&symbols=${funding}&apikey=${API_KEY}`
);
const { rates } = await res.json();
const spot = rates[funding];
const breakeven = (spot * (1 + rFunding)) / (1 + rTarget);
return {
spot,
breakeven: Number(breakeven.toFixed(4)),
cushionPct: Number(((1 - breakeven / spot) * 100).toFixed(2)),
};
}
carryBreakeven("USD", "JPY", 0.0388, 0.0125).then(console.log);Full endpoint details are in the Finexly API documentation.
Why Carry Trades Matter If You Don't Trade
- Pricing and billing. If you sell in JPY, CHF, or a high-yield emerging-market currency, carry flows help explain why your converted revenue drifts for months and then jumps. Refresh rates often and avoid hard-coding them.
- Treasury and cash management. Holding balances in a high-yield currency is an implicit carry position. The interest looks free until the exchange rate moves. See our currency hedging guide for ways to limit that exposure.
- Risk alerts. A sharp one-day rise in a funding currency is an early sign of an unwind. A simple monitor that flags daily moves above two or three times recent volatility will catch most of them.
- Trading and analytics products. Rollover estimates, carry rankings, and break-even calculators are all features users of FX apps expect, and all can be built from spot rates, history, and a table of interest rates.
You can check any of the pairs mentioned here with the currency converter.
Frequently Asked Questions
What is a carry trade in simple terms?
A carry trade means borrowing in a currency with a low interest rate and investing in a currency with a higher one. The profit is the difference between the two rates, as long as the exchange rate does not move against you by more than that difference.
Why is the Japanese yen used for carry trades?
Japan kept interest rates at or near zero for most of the period from the 1990s to 2024, making the yen the cheapest major currency to borrow. Even after the Bank of Japan's increases, its 1.25% policy rate in late 2026 remains well below rates in the US, the UK, and Australia.
What is a carry trade unwind?
An unwind is when many traders close carry positions at the same time. They sell the high-yield currency and buy back the funding currency, which makes the funding currency rise sharply. Leverage and margin calls accelerate the move, as happened with the yen in August 2024.
Is a carry trade risk-free if interest rates stay the same?
No. Even with an unchanged rate differential, the exchange rate can move far more than a year of interest income. In the example above, a 2.5% fall in USD/JPY erases the entire year's carry.
How do I calculate the break-even rate for a carry trade?
Multiply the current spot rate by (1 + funding rate) and divide by (1 + target rate), with rates scaled to your holding period. The result is the exchange rate at which currency losses exactly offset the interest earned. It equals the forward rate for the same period.
This article is for educational purposes only and is not investment advice.
Ready to build carry, volatility, and break-even calculations on reliable data? Get your free Finexly API key — no credit card required. Start with 1,000 free requests per month and check the pricing plans when you need more.
Explore More
Vlado Grigirov
Senior Currency Markets Analyst & Financial Strategist
Vlado Grigirov is a senior currency markets analyst and financial strategist with over 14 years of experience in foreign exchange markets, cross-border finance, and currency risk management. He has wo...
View full profile →