Skip to main content
Visual Finances

Buy, Borrow, Die Calculator

Compare selling stock to fund your life against borrowing against it until death. See the capital gains tax each path pays, the step-up in basis your heirs get, and the margin-call risk — 2026 federal rules.

Borrowing leaves heirs more

$9,756,464

After 25 years: heirs receive $70,838,778 on the borrow path vs $61,082,314 on the sell path, after debts and federal estate tax.

Capital gains tax (sell)

$4,015,284

Capital gains tax (borrow)

$0

Loan repaid at death

$27,562,905

Gain erased by step-up (borrow)

$106,548,653

Estate tax (sell / borrow)

$3,642,660 / $10,146,970

Break-even borrowing rate

8.76%

View
$0$20M$40M$60M$80MTodayYear 25 (death)
Borrow: portfolio minus loanSell: portfolio after sales and taxLoan balance

Left: the portfolio you sell from, with the capital gains tax it pays piling up in amber. Right: the portfolio you borrow against, with the loan climbing in rose. Dark blue is cost basis, bright blue is untaxed gain — at death the step-up turns it teal and the tax on it disappears. Drag to orbit.

How buy, borrow, die works

The U.S. income tax is a tax on realized income. A share of stock that rises from $10 to $1,000 creates no taxable income until it is sold. Someone whose wealth is mostly appreciated stock therefore has a choice when they need cash: sell shares and pay capital gains tax on the gain, or borrow against the shares and pay interest instead. Borrowed money isn't income, so the second choice triggers no tax at all.

The last step is what makes it permanent. Under IRC §1014, heirs inherit assets with a cost basis "stepped up" to their market value at death. The gain built up over a lifetime is never taxed as income — by anyone. The estate sells a slice of stepped-up shares (tax-free) or uses other assets to repay the loan. For estates above the federal exclusion ($15 million per person in 2026), estate tax still applies, but debts reduce the taxable estate.

What the calculator shows

The default example is a $20 million portfolio with a $2 million cost basis, funding $400,000 a year of spending for 25 years. Selling shares realizes roughly 90 cents of gain for every dollar sold, so the sell path pays capital gains tax every year and shrinks the portfolio faster. The borrow path leaves the whole portfolio compounding at 7% while the loan compounds at 5.5%. As long as returns stay above the borrowing rate and the loan never triggers a margin call, the heirs end up with more.

Push the borrowing rate up, or the return down, and the advantage shrinks, then reverses. The break-even borrowing rate in the results is the rate at which both paths leave the heirs the same amount.

Rules of thumb

  • The spread is everything: borrowing wins when the portfolio's return beats the loan rate by a comfortable margin, and loses when it doesn't.
  • Low basis, long horizon: the strategy is worth most when the embedded gain is large and death is decades away.
  • Leave room for a crash: a loan at 25% of the portfolio becomes 50% if the market halves. Lenders call loans long before the strategy "fails" on paper.
  • The step-up is the part anyone can use: holding appreciated assets until death instead of selling late in life can save heirs a large capital gains bill.

Read the full explainer on buy, borrow, die , or see how it fits with the other strategies in how the ultra-wealthy legally avoid taxes .

FAQ

Frequently asked questions

What is buy, borrow, die?
A three-step strategy used by people with large, highly appreciated portfolios. Buy assets that appreciate. Borrow against them to fund spending instead of selling, since a loan is not taxable income. Die holding the assets, so heirs inherit them with a cost basis stepped up to market value under IRC §1014 — erasing the unrealized gain for good. The estate then repays the loan.
Is buy, borrow, die legal?
Yes. Each step uses ordinary, long-standing rules: unrealized gains are not taxed, loan proceeds are not income, and inherited property receives a stepped-up basis. It is legal tax avoidance, not evasion. It is also widely criticized, and proposals to tax unrealized gains or limit the step-up come up regularly in Congress.
What is the biggest risk of borrowing against a portfolio?
A margin call. Securities-backed loans let the lender demand repayment or force a sale if the loan grows too large relative to the collateral. A market crash shrinks the collateral just as the loan keeps growing — forcing a sale at the worst time and triggering the very tax the strategy was meant to avoid.
Does the step-up in basis apply to everyone?
Yes. Any capital asset held at death — stock, a house, a business — gets a basis equal to its fair market value on the date of death. It is not just for the wealthy; it simply matters most for people who hold large gains until death. Assets inside retirement accounts like 401(k)s and IRAs do not get a step-up.
Can a regular person use buy, borrow, die?
Partly. Holding appreciated investments until death so heirs get the step-up works for anyone. Borrowing to fund living expenses is much riskier at normal portfolio sizes: borrowing rates for small balances are higher, and a margin call on a modest portfolio can force sales at a loss.

Sources

Where these numbers come from

  1. 26 U.S.C. §1014 — Basis of property acquired from a decedent
  2. 26 U.S.C. §1411 — Net investment income tax
  3. 26 U.S.C. §2010 — Unified credit against estate tax
  4. 26 U.S.C. §163 — Interest (investment interest limitation)
  5. IRS Rev. Proc. 2025-32 — 2026 inflation adjustments (brackets, capital gains, estate and gift)
  6. IRS — One Big Beautiful Bill Act provisions (P.L. 119-21)
  7. IRS — Estate tax
  8. ProPublica (2021) — The Secret IRS Files

How this calculator is built, tested and kept current: our methodology.