Skip to main content
Visual Finances

Donate Stock vs. Cash Calculator

Should you donate appreciated stock or cash? Compare the tax on selling first against giving the shares directly, under the 2026 charitable deduction rules — the 0.5% floor, the 35% cap, and the non-itemizer deduction.

Giving the shares saves you

$3,784

The charity receives $25,000 either way. Net cost to you: $19,888 giving shares vs $23,672 selling first.

Tax triggered by selling

$3,760

Tax saved by deduction (shares)

$5,112

Tax saved by deduction (cash)

$5,088

Carried forward (shares)

$0

View
Sell, give cash: gift $25,000 + tax on sale $3,760 − tax saved $5,088 = net cost $23,672Sell, give cashNet cost $23,672 · tax on sale $3,760 · deduction saves $5,088Give the shares: gift $25,000 + tax on sale $0 − tax saved $5,112 = net cost $19,888Give the sharesNet cost $19,888 · no sale, no gains tax · deduction saves $5,112
Gift (same for the charity either way)Capital gains tax + NIIT from sellingTax saved by the deduction (left edge = net cost)

Each column builds your true cost of the gift: the gift itself (blue), the tax from selling first (amber, cash route only), then a teal glass sleeve slides down by the tax your deduction saves. Whatever sits below the sleeve is your true cost — the lower it ends, the cheaper the gift. Drag to orbit.

Why the wealthy give stock, not cash

Large gifts from wealthy donors are rarely made in cash. They are made in appreciated stock, often through a donor-advised fund or private foundation. The reason is a pair of rules in IRC §170: a gift of shares held more than a year is deductible at full market value, and giving the shares away isn't a sale, so the capital gain is never taxed. The donor gets the deduction a cash gift would earn and skips the capital gains tax a sale would trigger.

In the default example, a $25,000 gift of shares bought for $5,000 avoids tax on a $20,000 gain. At a 15% capital gains rate plus the 3.8% net investment income tax, that's about $3,760 that stays in the donor's pocket — while the charity receives exactly the same $25,000.

Worked example: when stock wins, and the one case it doesn't

Three donors each give to charity in 2026. The first two are single with $90,000 of other income and take the standard deduction; the third is a married couple with $400,000 of income and $30,000 of other itemized deductions. "Net cost" is the gift plus any tax triggered, minus the tax the deduction saves.

Donor and giftCash route net costStock route net costBetter route
Single, $1,000 of shares bought for $900$795$1,000Cash, by $205
Single, $10,000 of shares bought for $2,000$10,980$10,000Stock, by $980
Married itemizers, $10,000 bought for $2,000$10,122$8,608Stock, by $1,514

For non-itemizers, the 2026 rules allow a $1,000 deduction ($2,000 married) for cash gifts only. On a small gift with little gain, that deduction (worth $220 here) beats the $15 of capital gains tax a sale would trigger, so selling and giving cash wins.

Once the gain is large, avoiding the sale matters more: the $1,200 tax on an $8,000 gain outweighs the cash deduction. For the itemizing couple, both routes get a deduction (reduced by the 0.5%-of-AGI floor), and giving the shares saves the $1,504 sale tax on top.

Rules of thumb

  • Give your biggest winners: the lower the cost basis, the more tax a gift of shares avoids.
  • Hold more than a year first: short-term shares are deductible only at what you paid for them.
  • Sell losers, give the cash: a loss is worth more on your return than in the charity's account.
  • Bunch gifts if you're near the standard deduction: giving two or three years' worth at once (often into a donor-advised fund) can push you over the standard deduction and past the new 0.5% floor.

Read the full explainer on donating stock, donor-advised funds, and charitable trusts .

FAQ

Frequently asked questions

Why is donating stock better than donating cash?
If you have held the shares for more than a year, you can deduct their full market value and you never pay capital gains tax on the appreciation, because there is no sale — and the charity, being tax-exempt, pays none when it sells. Selling first and donating the proceeds gets you the same deduction but costs you the capital gains tax.
What changed for charitable deductions in 2026?
Three things, from the One Big Beautiful Bill Act. Itemizers can deduct only the giving above 0.5% of their AGI. Taxpayers in the 37% bracket have itemized deductions trimmed so each dollar saves at most 35 cents. And non-itemizers can deduct up to $1,000 ($2,000 married filing jointly) of cash gifts to public charities — not gifts of stock, and not gifts to donor-advised funds.
How much appreciated stock can I deduct in one year?
Up to 30% of AGI for long-term appreciated property given to a public charity or donor-advised fund (20% for a private foundation). Cash gifts to public charities can be deducted up to 60% of AGI. Anything over the limit carries forward for up to five years.
Should I donate stock that has lost value?
Usually not. Sell it, take the capital loss (which offsets gains and up to $3,000 of ordinary income), then donate the cash. Giving shares that are worth less than you paid wastes the loss.
Can I donate stock and keep my investment?
Yes — a common technique is to give the appreciated shares and use the cash you would have donated to buy the same investment back. You keep the same position, but with a new, higher cost basis, which lowers the tax on a future sale.

Sources

Where these numbers come from

  1. 26 U.S.C. §170 — Charitable contributions and gifts
  2. 26 U.S.C. §68 — Overall limitation on itemized deductions
  3. 26 U.S.C. §1411 — Net investment income tax
  4. IRS Publication 526 — Charitable contributions
  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)

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