Analyst Dojo
Lesson 3 of 4 11–14% of the exam

Repurchase agreements (repos)

In a repo, one party sells a security and agrees to buy it back later at a higher price, so in effect it borrows cash against the security. The cash lender is protected by collateral worth more than the loan (the haircut) and by margin calls. Repos are cheap funding, but very short and easy to withdraw in a crisis.

10 min cram, 40 min full read. Based on the 2027 CFA® Program Level I curriculum, Fixed Income, Learning Module 4. Also part of the 2026 curriculum, so it applies to the November 2026 exam too.

Tailor this to you: take the self-assessment

Before this: How banks fund themselves short term

On the exam

  • Describe repurchase agreements (repos), their uses, and their benefits and risks

Describe repurchase agreements, their uses, benefits and risks. Expect: compute a repurchase price, initial margin or haircut (occasionally variation margin); identify what raises or lowers the repo rate; name the main risks. This is the lesson of the module most likely to carry a calculation.

How deeply to learn each part
Know the idea
Understand it in general. It frames other topics, but you will not calculate with it.
Use it
Understand it well enough to solve a question with it. Recognize when it applies.
Memorize
Learn it by heart. The exam will not give it to you.

You know this one. The full lesson is folded away. The takeaways, formulas and checkpoint below are your quick refresher, and the checkpoint is a fair test of whether you still do.

You tested strong here. The full lesson is folded away. The takeaways, formulas and checkpoint below are your quick refresher, and the checkpoint is a fair test of whether you still know it.

Cram mode: the one-screen version of this lesson. Switch to Full for the explanations, worked examples and interactives.

How does a repo work?

A repurchase agreement (repo) is the sale of a security with a simultaneous agreement by the seller to buy the same (or a similar) security back from the buyer on a future repurchase date , at an agreed repurchase price . The security seller is the cash borrower. The security buyer is the cash lender. Seen from the lender’s side, the same trade is a reverse repurchase agreement (reverse repo).

The difference between what the borrower gets now and what it pays back is interest, quoted as the repo rate . The security is collateral. The seller keeps the economic ownership: coupons and income on the security still belong to it, and the buyer earns the repo rate.

InteractiveA repo: sale now, buyback later

Try this 0 of 3

  • Repo: set the initial margin so the haircut is 5% or more
  • Repo: move the bond's day-10 value until the borrower can ask for collateral back
  • Short sale: make the trade lose money
Loan (purchase price)EUR 34,615,385
Haircut3.85%
InterestEUR 184,615
Repurchase priceEUR 34,800,000
Cash borrowersecurity sellerCash lendersecurity buyert = 0: startBond worth 36,000,000Cash 34,615,385Day 10: margin checkMore collateral 1,132,000bond now worth 34,900,000t = T: day 60Cash 34,800,000loan 34,615,385 + interest 184,615Bond returned

Variation margin on day 10: Borrower posts EUR 1,132,000. The bond (EUR 34,900,000) is now worth less than 104% of the loan with interest (EUR 36,032,000), so the lender calls for more collateral.

The borrower funds EUR 1,384,615 of the bond itself (the haircut) and keeps the bond's coupons: economically it still owns the bond.

Show working

Loan (purchase price) = security price ÷ initial margin = 36,000,000 ÷ 1.04 = EUR 34,615,385

Haircut = (security price − purchase price) ÷ security price = (36,000,000 − 34,615,385) ÷ 36,000,000 = 3.85%

Repurchase price = 34,615,385 × (1 + 3.2% × 60 ÷ 360) = EUR 34,800,000 (interest 184,615)

Day 10: loan with accrued interest = 34,615,385 × (1 + 3.2% × 10 ÷ 360) = 34,646,154. Variation margin = 1.04 × 34,646,154 − 34,900,000 = +EUR 1,132,000. Because 1.04 × loan = 36,000,000, the keystrokes below use 36,000,000 × (1 + rate × days ÷ 360).

On your calculator
  1. 36000000÷1.04=loan 34,615,384.6
  2. ×(0.032×60÷360+1)=repurchase 34,800,000
  3. 1−1.041/x=haircut 0.0385
  4. 0.032×10÷360+1=×36000000=−34900000=variation margin 1,132,000

1/x reciprocal

  1. 36000000ENTER1.04÷loan 34,615,384.6
  2. 0.032ENTER60×360÷1+×repurchase 34,800,000
  3. 1ENTER1.041/x−haircut 0.0385
  4. 0.032ENTER10×360÷1+36000000×34900000−variation margin 1,132,000

ENTER enter (on the HP, puts the number on the stack) · 1/x reciprocal

A repo is a collateralized loan dressed as a sale and buyback.
Repurchase price Memorize
Repurchase price=P0×(1+r×days360)\text{Repurchase price} = P_0 \times \left(1 + r \times \frac{\text{days}}{360}\right)

Here P0P_0 is the purchase price (the cash lent) and rr is the annual repo rate. Money market interest uses a 360-day year.

Why is the loan smaller than the bond?

To protect the lender against a fall in the collateral’s value, the borrower hands over more than it receives. The initial margin is the ratio of the security’s price to the cash lent. At 100% the loan is fully collateralized; above 100% it is over-collateralized. The same idea seen from the collateral side is the haircut : the share of the collateral’s value that is not lent.

Initial margin Memorize
Initial margin=S0P0\text{Initial margin} = \frac{S_0}{P_0}
Haircut Memorize
Haircut=S0−P0S0\text{Haircut} = \frac{S_0 - P_0}{S_0}
Rearrange itRepurchase price: solve for price, repo rate or collateral value
The question asks for
A bond worth 36,000,000 is repoed for 60 days at a 3.20% repo rate (360-day year) with an initial margin of 104.00%. The repurchase price is closest to:

36,000,000 ÷ 1.04 × (1 + 0.032 × 60 ÷ 360) = 34,800,000

Repurchase price34,800,000.00

On your calculator
  1. 0.032×60÷360+1×36000000÷1.04=repurchase price
  1. 0.032ENTER60×360÷1+36000000×1.04÷repurchase price

ENTER enter (on the HP, puts the number on the stack)

Rearrange itHaircut and initial margin: solve for either
The question asks for
A repo uses an initial margin of 104.00%. The haircut is closest to:

1 − 1 ÷ 1.04 = 3.85%

Haircut3.85%

On your calculator
  1. 1−(1÷1.04)=haircut as a decimal
  1. 1.041/xCHS1+haircut as a decimal

1/x reciprocal · CHS change sign

What happens when the collateral moves?

Repos keep the collateral cushion in place through margin calls. Either side may ask for more collateral, or the release of some, so that the cushion stays equal to the original initial margin. This payment is the variation margin .

Variation margin Use it
VMt=(Initial margin×Pt)−St\text{VM}_t = (\text{Initial margin} \times P_t) - S_t

Here PtP_t is the loan plus the interest accrued to date tt, and StS_t is the security’s current price. A positive result means the collateral is too small and the borrower must post more. A negative result means it is over-collateralized, and the borrower may ask for some back.

Rearrange itVariation margin: solve for the margin call or the collateral price
The question asks for
A repo was set up with an initial margin of 104.00% and a loan of 34,615,385 at 3.20% (360-day year). After 10 days the collateral is worth 34,900,000. The variation margin (positive means the borrower must post) is closest to:

1.04 × 34,615,385 × (1 + 0.032 × 10 ÷ 360) − 34,900,000 = 1,132,000

Variation margin (positive: borrower posts)1,132,000.00

On your calculator
  1. 0.032×10÷360+1×34615384.615385×1.04−34900000=positive: borrower posts
  1. 0.032ENTER10×360÷1+34615384.615385×1.04×34900000−positive: borrower posts

ENTER enter (on the HP, puts the number on the stack)

Terms and documents

Repos run from overnight to a term repo , any maturity longer than one day. A repo can name a specific security, or a group of eligible securities, such as government bonds of a given maturity. The second kind is a general collateral repo , done at the general collateral repo rate . A master repurchase agreement or similar document governs all trades between two parties: margining, substitution of collateral and events of default.

Ways to classify a repo
Repurchase agreementsale of a security with an agreement to buy it back
  • By term Use it overnight to a longer period
    • Overnight repo Use it one day
    • Term repo Use it any maturity longer than one day
  • By collateral Use it what is delivered
    • Specific security Use it special collateral rate applies
    • General collateral Use it any security from an agreed basket
  • By who handles it Use it administration of collateral and cash
    • Bilateral repo Use it directly between the two parties
    • Triparty repo Use it third-party agent values and holds collateral

Most repos are very short and use the safest, most liquid collateral, usually sovereign bonds, because cash lenders want safety and liquidity first.

Why do market participants use repos?

Why use repos
Repo usesthree market uses, plus central banks
  • Finance a security position Memorize own cash needed falls to the haircut
  • Earn secured short-term income Memorize lender (reverse repo) holds collateral
  • Borrow a security to short it Memorize reverse repo, sell, buy back later
  • Central bank policy Use it short-term, temporary changes in reserves
  1. Finance a security. A dealer that buys a bond must pay at once, even if it plans to sell later. It repos the bond and borrows most of the price from another bank or an asset manager. Its own funding need shrinks to the haircut.
  2. Earn secured short-term income. Banks, mutual funds and pension funds lend cash against collateral with minimal liquidity or default risk. Overnight repos with high-quality collateral pay the least. Longer terms or weaker collateral pay more. On a bank’s balance sheet these appear as securities purchased under agreements to resell.
  3. Borrow a security to sell it short. A hedge fund that expects a bond to fall does a reverse repo to borrow it, sells it, and later buys it back to return it.
Profit on a short sale through a reverse repo Use it
Profit=P0×(1+r×days360)−buyback price\text{Profit} = P_0 \times \left(1 + r \times \frac{\text{days}}{360}\right) - \text{buyback price}
Rearrange itShort sale through a reverse repo: solve for profit or buyback price
The question asks for
A hedge fund lends 25,000,000 for 30 days at 3.00% (360-day year) against a bond, sells the bond for 25,000,000, and buys it back for 24,600,000 to settle. Ignoring margin and costs, its profit is closest to:

25,000,000 × (1 + 0.03 × 30 ÷ 360) − 24,600,000 = 462,500

Profit before costs462,500.00

On your calculator
  1. 0.03×30÷360+1×25000000−24600000=profit
  1. 0.03ENTER30×360÷1+25000000×24600000−profit

ENTER enter (on the HP, puts the number on the stack)

Central banks also use repos to make short-term, temporary changes to the reserves in the banking system, for example by lending cash and taking securities to raise reserves for a while.

What sets the repo rate?

FactorRepo rate goes…
Short-term money market rates riseUp (repo rates track them)
Weaker collateral (equities, emerging-market bonds)Up
Longer repo termUp (normally)
Collateral in high demand (on-the-run, “special”)Down, possibly below zero
Loan undercollateralized or no collateral deliveredUp

A repo that requires delivery of one particular security, as a short sale does, is a special trade, done at the special collateral rate . When that security is in very high demand, the rate can fall below the general collateral rate, or even below zero. A negative repo rate means the security buyer pays interest on the cash it lends, to get the scarce bond.

Exam tip Riskier, longer or less covered collateral pays more. Scarce collateral is the one thing that pays less.

What can go wrong?

Memorize

Repo risks
Repo riskscollateral reduces risk but does not remove it
  • Default risk Memorize primary exposure, collateral may be hard to sell
  • Collateral risk Memorize illiquid collateral, or correlated with the counterparty
  • Margining risk Memorize late or wrong valuations, margin calls feed forced selling
  • Legal risk Memorize ability to enforce rights under the agreement
  • Netting and settlement risk Memorize offsetting obligations and taking possession
  • Rollover and liquidity risk Use it mostly overnight, lenders can stop rolling

Collateral lowers risk but does not remove it. Default risk remains the main exposure: collateral from a weak counterparty is more likely to be tested, and it may be illiquid, fall in price or be hard to take over legally. Collateral risk means the collateral should be liquid and should not move with the counterparty’s own credit, so it still has value if the counterparty fails. Margining risk is late or wrong collateral valuation. In a market fall, big margin calls can force further selling. Legal risk is whether the rights under the contract can be enforced. Netting and settlement risk is whether obligations can be offset and collateral or cash taken in settlement.

Because most repos are overnight and uncommitted, the lender can simply stop rolling them when confidence drops. Heavy reliance on repo funding has pushed firms into distress when this happened.

Participants often use a third party to manage these risks. In a bilateral repo , the two parties deal directly. In a triparty repo , a custodian or clearinghouse values and holds the collateral and administers cash and securities. The agent brings cost efficiency, access to a larger collateral pool and many counterparties, and specialist valuation and safekeeping. It does not change the credit risk between the parties if one defaults.

Go deeper Why the seller keeps the coupon

The repo is economically a loan, not a sale. The seller still bears the price risk of the bond and still receives its coupons, and pays the repo rate for the cash. The buyer’s return is that repo rate, not the bond’s coupon.

Go deeper Negative special repo rates

When many investors need the same bond, for example to deliver against a short sale, the owner can lend it out very cheaply. Cash lenders accept a repo rate below zero: they pay interest on the cash they lend, in return for getting the scarce bond. The rate moves by security, not by credit quality.

Go deeper Repo and cost of carry

Financing a bond through a repo is the cost-of-carry part of pricing a forward on that bond. The forward price reflects the repo rate paid on the borrowed cash less the coupon income. This returns in the derivatives topic.

Memorize this

MemorizeRepo formulas

QuantityFormula
Repurchase priceP0×(1+r×days/360)P_0 \times (1 + r \times \text{days}/360)
Initial marginS0÷P0S_0 \div P_0 (above 100% = over-collateralized)
Haircut(S0−P0)÷S0=1−1/IM(S_0 - P_0) \div S_0 = 1 - 1/\text{IM}
Variation marginIM×Pt−St\text{IM} \times P_t - S_t (positive: borrower posts)

Memory hook Margin is a ratio over the loan; haircut is a share of the collateral. Haircut = 1 − 1/IM, so IM 110% is 9.09%, not 10%.

Know it cold Always lend S ÷ IM first, then apply interest to the loan, never to the security. 360-day year.

MemorizeWhat moves the repo rate

FactorRepo rate
Short-term interest rates riseup
Weaker collateral (equities, emerging-market bonds)up
Longer termup
Collateral in high demand (on-the-run, special)down, can go below zero
Undercollateralized or no collateral deliveredup

Memory hook Riskier, longer, or less covered costs more. A scarce bond is the lone exception: lenders pay to get it.

Know it cold Special collateral rate can sit below the general collateral rate. Negative: the security buyer pays interest on the cash lent.

Ways to classify a repo
Repurchase agreementsale of a security with an agreement to buy it back
  • By term Use it overnight to a longer period
    • Overnight repo Use it one day
    • Term repo Use it any maturity longer than one day
  • By collateral Use it what is delivered
    • Specific security Use it special collateral rate applies
    • General collateral Use it any security from an agreed basket
  • By who handles it Use it administration of collateral and cash
    • Bilateral repo Use it directly between the two parties
    • Triparty repo Use it third-party agent values and holds collateral
Why use repos
Repo usesthree market uses, plus central banks
  • Finance a security position Memorize own cash needed falls to the haircut
  • Earn secured short-term income Memorize lender (reverse repo) holds collateral
  • Borrow a security to short it Memorize reverse repo, sell, buy back later
  • Central bank policy Use it short-term, temporary changes in reserves
Repo risks
Repo riskscollateral reduces risk but does not remove it
  • Default risk Memorize primary exposure, collateral may be hard to sell
  • Collateral risk Memorize illiquid collateral, or correlated with the counterparty
  • Margining risk Memorize late or wrong valuations, margin calls feed forced selling
  • Legal risk Memorize ability to enforce rights under the agreement
  • Netting and settlement risk Memorize offsetting obligations and taking possession
  • Rollover and liquidity risk Use it mostly overnight, lenders can stop rolling
Repurchase price Memorize
Repurchase price=P0×(1+r×days360)\text{Repurchase price} = P_0 \times \left(1 + r \times \frac{\text{days}}{360}\right)
Quick example

Borrow USD 15,000,000 for 45 days at a 2.40% repo rate. 15,000,000 × (1 + 0.024 × 45 ÷ 360) = USD 15,045,000.

On your calculator
  1. 0.024×45÷360+1×15000000= 15,045,000
  1. 0.024ENTER45×360÷1+15000000× 15,045,000

ENTER enter (on the HP, puts the number on the stack)

Initial margin Memorize
Initial margin=S0P0\text{Initial margin} = \frac{S_0}{P_0}
Quick example

Security worth 55 million, loan of 50 million: 55 ÷ 50 = 110%.

On your calculator
  1. 55÷50= 1.1
  1. 55ENTER50÷ 1.1

ENTER enter (on the HP, puts the number on the stack)

Haircut Memorize
Haircut=S0−P0S0\text{Haircut} = \frac{S_0 - P_0}{S_0}
Quick example

Same trade: (55 − 50) ÷ 55 = 9.09%. Equivalent: 1 − 1 ÷ initial margin.

On your calculator
  1. 55−50=÷55= 0.0909
  1. 55ENTER50−55÷ 0.0909

ENTER enter (on the HP, puts the number on the stack)

Variation margin Use it
VMt=(Initial margin×Pt)−St\text{VM}_t = (\text{Initial margin} \times P_t) - S_t
Quick example

Margin 103%, loan with accrued interest 50,010,000, security now 50,600,000. 1.03 × 50,010,000 − 50,600,000 = +910,300: the borrower posts more collateral.

On your calculator
  1. 1.03×50010000−50600000= 910,300
  1. 1.03ENTER50010000×50600000− 910,300

ENTER enter (on the HP, puts the number on the stack)

Profit on a short sale through a reverse repo Use it
Profit=P0×(1+r×days360)−buyback price\text{Profit} = P_0 \times \left(1 + r \times \frac{\text{days}}{360}\right) - \text{buyback price}
Quick example

Lend 10,000,000 for 90 days at 2.00%, sell the bond for 10,000,000, buy it back at 9,700,000. Repurchase price 10,050,000, so profit 350,000 before costs.

On your calculator
  1. 0.02×90÷360+1×10000000−9700000= 350,000
  1. 0.02ENTER90×360÷1+10000000×9700000− 350,000

ENTER enter (on the HP, puts the number on the stack)

How it is asked

  1. Haircut from margin

    Initial margin 110%. Haircut? (Or the reverse: haircut 6%, initial margin?)

    1 − 1 ÷ 1.10 = 9.09%; 1 ÷ 0.94 = 106.38%. Traps: 10% (divides by the loan); 106% (adds the haircut).

  2. Repurchase price, two steps

    Bond value, margin, repo rate, days. Repurchase price?

    Loan = value ÷ margin, then × (1 + r × days ÷ 360). Traps: no margin; full year rate.

  3. Lowest repo rate

    Which collateral gives the lowest repo rate?

    On-the-run government bond in high demand. Traps: equities; emerging-market bonds.

  4. Triparty agent

    What does a triparty agent add?

    Valuation, custody, efficiency. Trap: a guarantee or a change in credit risk.

Exam traps

  • Computing the haircut on the purchase price instead of the security price. That gives initial margin − 1 (10.00% for 110%), not 9.09%.
  • Forgetting the 360-day convention, or charging interest on the security value instead of the loan.
  • Thinking a triparty agent guarantees the trade. It values and holds collateral but does not change the credit risk.
  • Saying high demand for a specific bond raises its repo rate. It lowers it.
  • Giving the variation margin the wrong sign: positive means the borrower must post more, negative means collateral can be released.

Checkpoint

5 exam-style questions. About 90 seconds each.

  1. 1A cash lender accepts a corporate bond as repo collateral but applies a 4.00% haircut. The initial margin is closest to:

  2. 2A dealer repos a GBP 30,000,000 bond for 20 days at a 4.00% repo rate (360-day year) with 102% initial margin. The repurchase price is closest to:

  3. 3All else equal, the repo rate is most likely lowest when the collateral is:

  4. 4A repo has 105% initial margin, a loan of USD 20,000,000, a 3.60% repo rate and a 360-day year. Five days later the collateral is worth USD 20,400,000. The variation margin is closest to:

  5. 5Compared with a bilateral repo, a triparty repo most likely:

Key takeaways

  • A repo is a secured short-term loan: sell now, buy back later at a higher price. The seller is the cash borrower.
  • Repurchase price = loan × (1 + rate × days ÷ 360). Haircut = (S − P) ÷ S. Initial margin = S ÷ P.
  • Uses: finance positions, earn secured income, borrow securities to short, run monetary policy.
  • Repo rates rise with money market rates, weaker collateral, longer terms and undercollateralization. They fall for scarce, in-demand collateral.
  • Risks: default, collateral, margining, legal, netting and settlement, and sudden loss of funding.
Repurchase price Memorize
Repurchase price=P0×(1+r×days360)\text{Repurchase price} = P_0 \times \left(1 + r \times \frac{\text{days}}{360}\right)
Quick example

Borrow USD 15,000,000 for 45 days at a 2.40% repo rate. 15,000,000 × (1 + 0.024 × 45 ÷ 360) = USD 15,045,000.

On your calculator
  1. 0.024×45÷360+1×15000000= 15,045,000
  1. 0.024ENTER45×360÷1+15000000× 15,045,000

ENTER enter (on the HP, puts the number on the stack)

Initial margin Memorize
Initial margin=S0P0\text{Initial margin} = \frac{S_0}{P_0}
Quick example

Security worth 55 million, loan of 50 million: 55 ÷ 50 = 110%.

On your calculator
  1. 55÷50= 1.1
  1. 55ENTER50÷ 1.1

ENTER enter (on the HP, puts the number on the stack)

Haircut Memorize
Haircut=S0−P0S0\text{Haircut} = \frac{S_0 - P_0}{S_0}
Quick example

Same trade: (55 − 50) ÷ 55 = 9.09%. Equivalent: 1 − 1 ÷ initial margin.

On your calculator
  1. 55−50=÷55= 0.0909
  1. 55ENTER50−55÷ 0.0909

ENTER enter (on the HP, puts the number on the stack)

Variation margin Use it
VMt=(Initial margin×Pt)−St\text{VM}_t = (\text{Initial margin} \times P_t) - S_t
Quick example

Margin 103%, loan with accrued interest 50,010,000, security now 50,600,000. 1.03 × 50,010,000 − 50,600,000 = +910,300: the borrower posts more collateral.

On your calculator
  1. 1.03×50010000−50600000= 910,300
  1. 1.03ENTER50010000×50600000− 910,300

ENTER enter (on the HP, puts the number on the stack)

Profit on a short sale through a reverse repo Use it
Profit=P0×(1+r×days360)−buyback price\text{Profit} = P_0 \times \left(1 + r \times \frac{\text{days}}{360}\right) - \text{buyback price}
Quick example

Lend 10,000,000 for 90 days at 2.00%, sell the bond for 10,000,000, buy it back at 9,700,000. Repurchase price 10,050,000, so profit 350,000 before costs.

On your calculator
  1. 0.02×90÷360+1×10000000−9700000= 350,000
  1. 0.02ENTER90×360÷1+10000000×9700000− 350,000

ENTER enter (on the HP, puts the number on the stack)

All Fixed Income formulas, every lesson

Practice exam-style questions on Fixed-Income Markets for Corporate Issuers

Questions about this lesson?

Where this comes back

Questions candidates ask

How do you calculate a repo repurchase price?

Find the amount lent (security price divided by initial margin), then multiply by one plus the repo rate times the number of days divided by 360.

What is a repo haircut?

The share of the collateral's market value that is not lent: (security price − loan) ÷ security price. An initial margin of 110% means a haircut of 9.09%.

What is the difference between a repo and a reverse repo?

Same trade, two sides. The cash borrower, who sells the security, does a repo. The cash lender, who buys it, does a reverse repo.

Spotted an error? Tell us and we will fix it.

  1. Short-term funding for companies: credit lines, secured loans and commercial paper
  2. How banks fund themselves short term
  3. Repurchase agreements (repos)
  4. Long-term funding: investment-grade vs high-yield issuers

Ask Sensei Listen instead

Questions on Repurchase agreements (repos)

Learn with Sensei, out loud The voice tutor, in early access

Sensei teaches the lesson aloud and stops when you interrupt: "wait, why is the geometric mean lower?" It answers with the lesson's own example, then quizzes you by voice. Every account can try Sensei on one module, with one voice question.

USD 149 a month founding price (regular USD 199), kept for as long as you stay subscribed. Everything in Plus included.

In active development and improving every day. Send feedback · Plans and pricing

Analyst Dojo Plus

Your free review list holds 10 items.

Plus keeps everything you save, for USD 19 a month. To make room on the free plan, remove something from your review list.

See Plus

Lessons, checkpoints and the lesson questions in practice stay free. Compare plans