Donate Stock to Charity Calculator

Compare donating appreciated shares directly against selling and giving cash — the gains tax avoided, the 2026 deduction rules, and what the charity actually receives either way.

How to use this calculator

  1. 1Enter the position’s market value and cost basis — the gap between them is what the whole strategy monetises.
  2. 2Check the holding period first. Under one year, the answer is almost always to wait, and the calculator shows exactly what donating early forfeits.
  3. 3Watch the 30%-of-AGI line on large gifts: the excess is not lost, but it waits in the carryforward, where each year’s floor takes another bite.
  4. 4If the position shows a loss, follow the inverted advice: sell, keep the loss, give cash.

How the calculation works

Donate shares: charity gets FMV, deduction = FMV (long-term) within 30% of AGI, and the embedded gain is never taxed. Sell first: gains tax comes out of the gift, deduction = the net cash within 60% of AGI. Both: minus the 0.5% AGI floor, valued at 35 cents per dollar in the top bracket
Section 170(e)(1)
Short-term shares deduct at basis, not market value — the one-year line decides most of the outcome
30% / 60% AGI ceilings
Appreciated property deducts up to 30% of AGI per year, cash to 60%; the excess carries forward five years
0.5% AGI floor
From 2026 itemizers lose the benefit of the first 0.5% of AGI of the year’s giving — once per year, not per gift
Section 68 haircut
From 2026, deductions above the 37% threshold are trimmed by 2/37, capping their value at exactly 35 cents per dollar

Gains are priced at the top long-term rate plus NIIT plus state; short-term shares would face ordinary rates, which is part of why donating them early is doubly wrong.

Carryforward value assumes full use within five years at the current rate, and each carryforward year bears its own floor.

The comparison holds the shares constant: the same position is either transferred or sold, so the difference is pure tax.

Worked example

A $100,000 position with $20,000 of basis, top bracket

  1. 1.Donating the shares sends the full $100,000 to the charity and avoids tax on $80,000 of gain — $19,040 at 23.8%.
  2. 2.The deduction is $100,000, less the $2,000 floor, worth 35 cents on the dollar under the new section 68 cap: $34,300.
  3. 3.Selling first pays the $19,040 itself, so the charity receives $80,960 and the deduction shrinks to match.
  4. 4.Same shares, $19,040 more to the charity and $6,664 less out of pocket — $25,704 of combined difference.

Result: Donating the shares beats selling first by $25,704 in total

The same shares held eleven months

  1. 1.Nothing changes except the holding period — and the deduction collapses from $100,000 to the $20,000 basis.
  2. 2.Section 170(e)(1) limits gifts of short-term property to basis, so the $80,000 of appreciation deducts nothing.
  3. 3.One more month of holding restores the full market-value deduction.
  4. 4.Unless the charity’s need genuinely cannot wait, the calendar is the whole decision here.

Result: Donating a month early forfeits an $80,000 slice of the deduction

Why the double benefit is not folklore

Most tax strategies move one number. Donating appreciated securities moves two at once, and both movements are statutory rather than clever. First, the capital gain vanishes: the shares leave your hands by gift, so no sale ever happens on your return, and the charity — exempt under section 501 — sells them without tax. Second, the deduction is the fair market value of long-term appreciated shares, not their cost, under the general rule of section 170.

The alternative most donors actually follow — sell the position, give the proceeds — funds the same charity with smaller numbers on every line. The gains tax comes out of the gift itself, so the charity receives less; the deduction is measured by the smaller cash gift, so the tax saving shrinks in proportion. On a $100,000 position carrying $80,000 of gain, the round trip through a sale costs roughly $19,000 of charity money and several thousand dollars of donor money, for no benefit to anyone but the Treasury.

The strategy scales with the gain share, not the gift size. A position that has doubled monetises modestly; a founder position with near-zero basis monetises the full long-term rate on almost every dollar. It is the standard reason donor-advised funds are stuffed with single-stock positions in December.

What 2026 changed for every itemizing donor

Two provisions of the 2025 Act reshaped the value of every charitable deduction from 2026, and most published guidance still ignores both.

The first is a floor: itemizers now lose the benefit of the first 0.5% of AGI of the year’s charitable giving. At $400,000 of AGI the first $2,000 of gifts deducts nothing. The floor applies annually rather than per gift, which quietly rewrites the bunching arithmetic — ten years of modest gifts pay the floor ten times, one large year pays it once. A large stock gift into a donor-advised fund is the cleanest way to concentrate a decade of giving into a single floor.

The second is a cap on the top bracket’s benefit. The rewritten section 68 trims itemized deductions by 2/37 of the amount above the 37% bracket threshold — arithmetic that lands exactly on 35 cents of benefit per deducted dollar for a top-bracket taxpayer. The old Pease limitation phased out with AGI and was repealed in 2018; this replacement is flat, permanent, and aimed precisely at the people making six-figure stock gifts. Every figure on this page prices the deduction at 35 cents where it applies, not the 37 the bracket implies.

The two positions you should never donate

Shares held one year or less. Section 170(e)(1) reduces the deduction for what it calls ordinary income property — including any stock that would not yet produce long-term gain — to its basis. The appreciation deducts nothing, and the forfeited deduction does not come back later. Eleven months and three weeks of holding followed by a donation is the most expensive impatience in charitable planning; the cure is a calendar.

Shares showing a loss. A donated losing position takes its loss to the grave: the charity has no use for it, and you cannot claim a loss on property you gave away. Sell the position yourself — the capital loss lands on your return, offsetting gains at up to the top rate — and donate the cash, which deducts identically. The gift is the same; the loss is saved. Any adviser who sees appreciated-stock instructions applied to a depreciated position should stop the transfer.

Between those two poles sits the ideal donation: long-term, low-basis, publicly traded — the last property class exempt from the qualified-appraisal requirement, which is its own quiet advantage over gifts of real estate or private shares.

The ceilings, the carryforward, and the DAF wrapper

Gifts of appreciated property deduct against at most 30% of AGI in a year, against 60% for cash. A $300,000 stock gift on a $400,000 AGI deducts $120,000 now; the remaining $180,000 carries forward for up to five years, deducting against the same 30% ceiling each year, with each year’s 0.5% floor taking its bite first. The carryforward is genuinely valuable but not free money — a donor whose income is about to fall, or who may stop itemizing, can strand part of it.

There is an election worth knowing at the margin: a donor may choose to deduct appreciated property at BASIS instead of market value, in exchange for the 50%-of-AGI ceiling rather than 30%. For low-gain positions and high gift-to-income ratios the election occasionally wins; for the low-basis positions this page is really about, it almost never does. It exists, it is irrevocable for the year, and it is a question for the preparer rather than a default.

The donor-advised fund is the operational wrapper for all of this: transfer the shares once, take this year’s deduction on this year’s terms, and grant to working charities on any schedule afterwards. It solves the real frictions — charities that cannot accept stock, gifts meant for many recipients, a deduction wanted now with decisions wanted later — at the cost of an administrative fee and the loss of direct ownership. What it does not change is a single number on this page: the fund is a conduit, and the arithmetic of the gift is settled the day the shares move.

What this assumes, and where it stops

Assumptions

  • The recipient is a public charity or donor-advised fund, taking the 30% and 60% AGI ceilings — private foundations face 20% and different valuation rules.
  • The donor itemizes, and the gift modelled is the year’s only charitable giving, so the 0.5% floor falls entirely on it.
  • Long-term gains are priced at the top federal rate plus NIIT; the donor’s income supports both, as six-figure gifts imply.
  • Carryforward is valued at the current deduction rate and assumed fully used within five years.
  • State tax, where entered, applies to both the gains avoided and the deduction.
  • 2026 rules throughout: the 0.5% floor and the section 68 haircut both apply to tax years beginning after 31 December 2025.

Limitations

  • The basis election — deducting at basis for the 50% ceiling instead of 30% — is described but not computed.
  • Alternative minimum tax interactions are not modelled.
  • Each carryforward year’s own 0.5% floor is noted but not projected year by year.
  • Gifts of private company stock, real estate or crypto follow the same skeleton with appraisal requirements and further limits not handled here.
  • Donor-advised fund administrative fees, and the growth of granted-but-uninvested balances, are outside the comparison.
  • The wash-sale-adjacent tactic of donating shares and immediately repurchasing — which resets basis without any waiting period — is legitimate and mentioned here only.
  • State charitable deduction rules diverge; several states allow no charitable deduction at all.

Common questions

Is it better to donate stock or sell it and donate cash?

For long-term appreciated shares, donate the stock — it wins twice. The embedded gain is never taxed, because the gift is not a sale and the charity sells tax-free; and the deduction is the full market value rather than the after-tax proceeds. Selling first sends the gains tax to the Treasury out of money that would otherwise reach the charity. The advice inverts for shares held under a year (deduction drops to basis — wait) and for losing positions (sell, keep the loss, give cash).

How much can I deduct for donated stock in 2026?

Fair market value for long-term shares given to a public charity, up to 30% of AGI in the year, with a five-year carryforward for the excess. Two 2026 rules then adjust the value: itemizers lose the benefit of the first 0.5% of AGI of the year’s giving, and top-bracket taxpayers have deductions trimmed by 2/37 above the 37% threshold — making each deducted dollar worth exactly 35 cents federally. Shares held one year or less deduct only at basis.

Do I pay capital gains tax on stock I donate to charity?

No. A charitable gift is not a sale or exchange, so no gain is realised on your return, and the charity’s own sale is exempt. This is the core of the strategy: on a position with $80,000 of long-term gain, roughly $19,000 of tax at top federal rates simply never happens. The one nuance is short-term stock — the gain still is not taxed, but the deduction falls to basis, which usually makes waiting for the one-year mark the better answer.

What happens if my stock gift exceeds 30% of my AGI?

The excess carries forward for up to five tax years, deducting against the same 30% ceiling each year in order. The carryforward is real value but not guaranteed value: each later year applies its own 0.5% floor first, the deduction depends on continuing to itemize, and anything unused after five years lapses. Donors expecting an income drop — retirement, a sabbatical — should size the gift against future AGI, not just this year’s.

Should I donate the stock to a donor-advised fund instead of directly?

The tax arithmetic is identical — a donor-advised fund is a public charity, so the same market-value deduction, 30% ceiling and gains avoidance apply on the day the shares transfer. What the fund adds is separation of timing: this year’s deduction, any later schedule of grants, and the ability to give one large position to many charities including ones that cannot accept stock. What it costs is an administrative fee on the balance. For bunching several years of giving into one floor and one deduction, it is the standard vehicle.

Sources

Formula and content last reviewed on .

Verified figuresThe 2 statutory data sets behind this page were last checked against US Internal Revenue Service between 14 August 2026 and 22 August 2026, effective through 31 December 2026. Every figure, source and date

Results are estimates for information only, not professional advice.

Report an error

Tools people commonly use alongside the donate stock to charity calculator.

See all finance calculators →