Selling Stock to Cover a Margin Call: Why the Math Sometimes Fails

By Tyler Singletary · · in Risk & drawdown

Every explanation of a securities-backed line of credit ends at the same place: if you get a collateral call, you can deposit cash, transfer in securities, or sell some stock to pay it down. Three options, listed as though they were interchangeable, with a note that the third one is the least attractive because it crystallizes gains.

That framing understates the problem considerably. Selling pledged stock to cure a call is not a worse version of depositing cash. It is a structurally different operation, and under conditions that are not exotic, it does not work at all — not "works but hurts," but cannot be done at any size.

This post works through why, and where the failure point sits.

The Two-Sided Problem

When you deposit outside cash to cure a call, one number moves. Your loan balance drops by the amount you deposit; your collateral is untouched. A $100,000 deposit reduces your loan by $100,000.

When you sell pledged stock, two numbers move in the same direction, and not by the same amount.

Sell $100,000 of pledged stock and your collateral falls by the full $100,000 — those shares were securing the line, and now they are gone. But your loan only falls by what is left after tax. If a third of the sale is taxable gain at a combined 29.7% rate, you net about $90,000, and that is all that reaches the loan balance.

So you removed $100,000 from the denominator and $90,000 from the numerator. Whether that helps depends entirely on the ratio you started from — and once you are in a call, that ratio is bad by definition. This is the part the three-options framing hides: paying down a loan-to-value ratio by selling the collateral is not obviously a move in the right direction.

The Equation

The maintenance threshold is the LTV at which the lender issues a call. Write it as m — commonly around 75% for diversified equity collateral, though it varies by lender and by what you have pledged. Call your loan L, your collateral value V, your combined federal-plus-state capital gains rate t, and the fraction of the position's current value that is unrealized gain g.

You want to sell some gross amount S such that after the sale you land exactly back on the threshold:

L − S(1 − g·t)  =  m(V − S)

The left side is the loan after the after-tax proceeds pay it down. The right side is the threshold applied to the collateral that remains. Solving for S:

S  =  (L − mV) / (1 − g·t − m)

The numerator is just the shortfall — how far past the threshold you are. The denominator is where everything interesting happens.

The Multiplier

Note what the denominator is not: it is not 1. Every dollar of shortfall requires more than a dollar of stock, always, even with zero embedded gain.

At a 75% threshold with no unrealized gain at all, the denominator is 0.25 and the multiplier is 4x. A $50,000 shortfall needs a $200,000 sale. That is the floor — the best case, available only to someone selling at or below their cost basis.

Add embedded gain and it climbs:

Embedded gain (g)DenominatorSale per $1 of shortfall
0%0.250$4.00
25%0.176$5.69
50%0.102$9.85
75%0.027$36.70
84%+≤ 0No sale cures it

75% maintenance threshold, 29.7% combined capital gains rate (15% federal + 14.7% state).

The curve is not linear. It is a hyperbola with a vertical asymptote, and the asymptote is close enough to reach.

A Call That Can Be Cured

Take a $1M pledged portfolio with a $300,000 basis, and a $500,000 line drawn against it. That is a 50% initial LTV — aggressive, but not absurd, and well inside a 70% advance rate.

The line can absorb a 33.3% decline before the 75% threshold is breached. Suppose the market delivers 40%.

  • Collateral falls to $600,000
  • The threshold allows a loan of $450,000
  • Shortfall: $50,000

Now the cure. Half the remaining value is unrealized gain (g = 0.50), so g·t = 0.1485 and the denominator is 0.1015.

  • Required gross sale: $492,611
  • Capital gains tax crystallized: $73,153
  • Net reaching the loan: $419,458

Check it: the loan lands at $80,542 against $107,389 of remaining collateral. That is exactly 75%. The math is correct, and the outcome is that a $50,000 shortfall consumed $493,000 of stock — 82% of what survived the crash — and generated a $73,000 tax bill in a year when the portfolio was down 40%.

The call is cured. Almost nothing is left.

A Call That Cannot

Now change one input. Same $1M portfolio, same 75% threshold, but the basis is $100,000 — a position held for fifteen years, or founder stock, or RSUs that vested when the share price was a fraction of today's. And the line is drawn to a 70% advance rate: $700,000.

At that draw, a 7% decline is enough to breach the threshold. Take the mild case — a 25% decline, shallower than 2022.

  • Collateral falls to $750,000
  • The threshold allows $562,500
  • Shortfall: $137,500

Embedded gain is now 86.7% of remaining value. g·t = 0.2574. And the denominator:

1 − 0.2574 − 0.75  =  −0.0074

Negative. The equation has no useful solution, and the reason is not a rounding artifact — it is the actual behavior of the position. Each dollar of stock sold removes a full dollar of collateral while delivering only 74 cents to the loan. At a 75% threshold, 75 cents is the break-even. You are three cents short on every dollar, so selling raises your LTV rather than lowering it. There is no sale size that fixes this. Liquidating the entire portfolio would not fix it.

The threshold condition is compact:

Selling can cure a call only when g × t < 1 − m.

At a 75% maintenance threshold and California-level rates, that means embedded gain below roughly 84%. At an 80% threshold it tightens to 67%. Raise the tax rate or the threshold and the door closes further.

Why Deep Crashes Invert the Problem

There is a genuine paradox here. If the drawdown is severe enough to put the position below its cost basis, the embedded gain goes to zero, the tax leak disappears, and the multiplier drops to its 4x floor. Per dollar of shortfall, a deep decline can be easier to sell out of than a mild one.

Hold everything constant from the curable example above except the basis. Same $1M portfolio, same $500,000 line, same 40% decline — but the position was built at a $700,000 basis rather than $300,000. The drop to $600,000 now puts it underwater, so:

  • Shortfall is unchanged: $50,000
  • Embedded gain is zero, so the multiplier is the 4x floor
  • Required sale: $200,000, against $492,611 for the identical position with a low basis
  • Tax crystallized: nothing

Same portfolio, same draw, same crash. Basis alone moved the cure from $493K to $200K.

The relief has a limit, though, because a deeper drawdown produces a larger shortfall, and the binding constraint moves from the tax rate to whether the sale you need is smaller than the collateral you have left. Push that same high-basis portfolio to a 60% decline: collateral falls to $400,000, the shortfall grows to $200,000, and curing it requires an $800,000 sale from a $400,000 account. Uncurable again — this time on size rather than on tax.

Both failure modes end in the same place: outside cash, or the lender liquidates on its own schedule.

What This Changes

The practical conclusions are narrower than "SBLOCs are dangerous," which is not the lesson.

External liquidity is the cure, not a nice-to-have. Cash from outside the pledged account moves one number instead of two — every dollar counts as a full dollar. The gap between a dollar of outside cash and a dollar of pledged stock is 4x at best and unbounded at worst. Borrowers who plan to "just sell something" are relying on the weakest of the three cures.

Low basis and high draw are the dangerous combination, not either alone. A concentrated, long-held, near-zero-basis position is exactly the collateral most likely to be pledged and exactly the collateral you cannot sell your way out of. Pair it with a draw near the advance rate and the line has almost no headroom and no self-cure. Either factor on its own is survivable.

The draw size does the real work. This entire equation only matters once you are in a call, and whether you get there is decided almost entirely on day one. A 20% initial draw against a 75% threshold absorbs a 73% decline — deeper than any S&P 500 drawdown on record. A 70% draw is called by a 7% decline. That is the difference between a tool you carry for a decade and one that has to be actively managed through every correction.

Ask what your lender's threshold actually is, and what it is on your specific collateral. Advance rates and maintenance requirements are set by the lender, vary by what is pledged, and can be revised. The FINRA investor alert on securities-backed lines makes the point that these agreements commonly permit the lender to liquidate collateral without advance notice — the cure window is a courtesy in many contracts, not a right.

Run It On Your Own Numbers

The calculator's SBLOC scenario now models all of this. It reports how far your portfolio can fall before a collateral call, replays the dot-com bust, 2008, COVID and 2022 against your actual balance, and — when a call would have triggered — shows the sale required to cure it, the tax that sale crystallizes, and whether the cure is possible at all.

If it tells you a call cannot be cured by selling, that is not a modeling edge case. It is the position you would be in.

For the mechanics of how calls are issued and what the cure window looks like in practice, see SBLOC margin calls: triggers and how to avoid them. For how three different initial draws would have behaved through 2007–2009, see the 2008 stress test.

Frequently asked questions

Can I always sell stock to cover an SBLOC margin call?

No. Selling pledged stock does two things at once: it reduces your loan balance by the after-tax proceeds, but it reduces your collateral by the full sale amount. When the embedded gain is large enough, the capital gains tax leaking out of the proceeds means each sale raises your loan-to-value instead of lowering it, and no sale of any size cures the call. At a 75% maintenance threshold and a combined 29.7% capital gains rate, that failure point arrives when roughly 84% of the position's value is unrealized gain — founder stock, long-vested RSUs, or any position held long enough that basis is a rounding error.

How much stock do I have to sell to cure a margin call?

Far more than the shortfall. The required gross sale is the shortfall divided by (1 − g×t − m), where g is the embedded gain fraction, t is your combined capital gains rate, and m is the maintenance threshold. At a 75% threshold with a 50% embedded gain and a 29.7% combined rate, the multiplier is about 9.9x: a $50,000 shortfall requires a $493,000 sale. Even at zero embedded gain the multiplier is 4x, because paying down the loan by a dollar only helps if the collateral does not fall by a dollar at the same time.

Why is a deeper crash sometimes easier to cure than a shallow one?

Because a deep enough drawdown puts the position below its cost basis, and a sale below basis triggers no capital gains tax. With the tax leak gone, the multiplier drops to its floor of 1/(1 − m) — 4x at a 75% threshold. The catch is that the shortfall itself is much larger in a deep drawdown, so the binding constraint shifts from the tax rate to the sheer size of the sale relative to what collateral remains. Easier per dollar, harder in total.

What actually cures a collateral call if selling will not?

Outside cash or fresh collateral. Depositing cash from outside the pledged account reduces the loan without touching the collateral base, so every dollar counts as a full dollar. Transferring in additional eligible securities raises the denominator without a taxable event. Both avoid the two-sided problem entirely, which is why external liquidity is the thing that determines whether a call is an inconvenience or a forced restructuring of your portfolio.

Does a lower initial draw fix this problem?

It prevents you from reaching the failure point rather than fixing the math, which is the same thing in practice. The cure multiplier only matters once you are actually in a call, and the drawdown required to put you there is determined almost entirely by how much you drew on day one. A line drawn at 20% of portfolio value can absorb a 73% decline before a 75% threshold is breached — deeper than any S&P 500 drawdown on record. A line drawn to a 70% advance rate is called by a 7% decline.

Ready to run the numbers on your situation?

Open the calculator →

Related posts