The tax case for contributing stock instead of cash to a DAF

A couple speaking with a tax advisor
| 7 min read Giving Funds

If you give to charity regularly and hold appreciated stock, you are almost certainly paying taxes you do not have to pay. The mechanics are straightforward. The dollar impact is significant. This article shows exactly how the math works, using a realistic contribution scenario, so you can have an informed conversation with your CPA about whether the strategy applies to your situation.

The core idea is simple: when you sell stock and donate the proceeds, you pay capital gains tax before the money reaches your charity. When you contribute the stock directly to a donor advised fund, the tax event disappears. The charity receives the same amount. You pay thousands less in taxes. The only thing that changes is the order of operations.

How the two scenarios compare — Cash vs. Stock

Consider a donor who wants to contribute $62,000 of appreciated company stock to charity. The stock has a cost basis of $18,000 and a current fair market value of $62,000 — meaning $44,000 of that value is unrealized capital gain.

Scenario A — sell and donate cash. The donor sells the stock on the open market. That sale triggers a $44,000 capital gain. Federal long-term capital gains tax applies at 15%. The Net Investment Income Tax (NIIT) adds 3.8%. The donor’s state — Illinois — taxes capital gains at 4.95%. The combined rate on the gain is approximately 23.75%. The donor owes roughly $10,450 in taxes on the sale. After paying the tax, the donor has approximately $51,550 left to donate. The charitable deduction is based on the amount actually donated: $51,550.

Scenario B — contribute stock directly to a DAF. The donor transfers the shares to a donor advised fund. No sale occurs. No capital gain is realized. No capital gains tax or NIIT is triggered. No state tax is owed on the gain. The DAF sponsor — a tax-exempt entity — sells the shares inside the fund. The full $62,000 is available for future grants. The charitable deduction is based on the fair market value of the shares on the date of contribution: $62,000.

The key distinction: the tax event that would have occurred on sale simply does not exist when shares are contributed directly. The donor gives the same amount to the same charities. The only difference is $10,450 in taxes that Scenario A requires and Scenario B eliminates.

The numbers at the Williams’ scale

David and Katherine Williams are a two-income household with an AGI of approximately $450,000. David is an SVP of Engineering at a publicly traded company. A significant portion of his compensation is in restricted stock units (RSUs). He holds $62,000 in company stock with a cost basis of $18,000 — representing $44,000 in unrealized gain. The Williams give approximately $62,000 per year to six charitable organizations.

Here is the side-by-side comparison at their specific tax rates:

Scenario A: Sell & DonateScenario B: Contribute Stock
Stock fair market value$62,000$62,000
Cost basis$18,000$18,000
Unrealized gain$44,000$44,000
Federal LTCG tax (15%)$6,600$0
NIIT (3.8%)$1,672$0
Illinois state tax (4.95%)$2,178$0
Total tax on gain~$10,450$0
Net amount to charity~$51,550$62,000
Charitable deduction (before floor)$51,550$62,000
0.5% AGI floor$2,250$2,250
Net deductible amount$49,300$59,750

The difference: $10,450 in taxes avoided and $10,450 more reaching the Williams’ charities. The deductible amount is $10,450 higher, which produces additional income tax savings at their 35% marginal rate. Over two years of following the same pattern, the Williams would avoid approximately $21,000 in taxes — money that currently leaves their household and goes to neither them nor their charities.

Under the One Big Beautiful Bill Act (Public Law 119-21), the 0.5% AGI floor ($2,250 for the Williams) applies to all charitable contributions regardless of asset type. This floor reduces the deductible amount in both scenarios equally. It does not change the relative advantage of contributing stock.

The deduction limit for appreciated stock

Cash contributions to public charities are deductible up to 60% of AGI. Appreciated securities held more than one year are deductible up to 30% of AGI at fair market value. At $450,000 AGI, the 30% cap for the Williams is $135,000 — well above their $62,000 contribution.

If a donor’s stock contributions exceed 30% of AGI in a given year, the excess can be carried forward and deducted over the following five tax years. The carryforward contributions remain subject to the 0.5% AGI floor in the year they are deducted (IRS Publication 526).

The deductible amount for contributed stock is the fair market value on the date of contribution — not the cost basis. This is a critical distinction. A donor contributing stock worth $62,000 with an $18,000 cost basis deducts $62,000 (minus the AGI floor), not $18,000. The full appreciation is included in the deduction.

What “holding more than one year” means in practice

The favorable treatment described above — deduction at fair market value, no capital gains tax — applies only to stock held more than 12 months from the acquisition date. This is the same holding period that qualifies a gain for the long-term capital gains rate (15% for the Williams).

Stock held for 12 months or less is treated differently in two ways. First, if sold, the gain is taxed as ordinary income — at the Williams’ marginal rate of 35%, not 15%. Second, if contributed to a DAF, the charitable deduction is limited to cost basis, not fair market value. A share worth $62,000 with an $18,000 basis would generate only an $18,000 deduction if it has been held for less than one year.

For donors whose compensation includes RSU grants that vest on a rolling schedule, the holding period of each tranche matters independently. Shares that vested three months ago are short-term. Shares that vested 14 months ago are long-term. This is a detail to review with a CPA before identifying which specific shares to contribute.

Why this matters beyond the current year

The $10,450 per year in avoided taxes is the direct, visible impact. Two additional effects compound over time.

AGI reduction. Contributing stock instead of selling it and donating cash lowers AGI by the amount of gain that would have been realized. For the Williams, that is $44,000 less in AGI. A lower AGI reduces exposure to income-based Medicare Part B and Part D premium surcharges (IRMAA) and other AGI-sensitive thresholds. This benefit compounds at both federal and state levels.

Portfolio rebalancing. Contributing the most appreciated shares is an efficient way to reduce concentration in a single stock position without triggering a taxable sale event. For David, whose compensation is RSU-heavy, the DAF contribution can serve double duty: funding the Williams’ giving program and managing equity concentration in his company stock simultaneously.

Worked example: Identifying the right shares

David pulls up his brokerage statement. He holds three lots of company stock:

LotHolding PeriodBasis / FMV / Gain
Lot 114 months (long-term)$18K basis | $62K FMV | $44K gain
Lot 28 months (short-term)$22K basis | $31K FMV | $9K gain
Lot 32 years (long-term)$9K basis | $28K FMV | $19K gain

Lot 2 is short-term. If contributed to a DAF, the deduction would be limited to $22,000 (cost basis), not $31,000 (fair market value). The favorable treatment does not apply.

Lots 1 and 3 are both long-term. Lot 1 has the largest unrealized gain — $44,000 — which means it eliminates the most tax. David identifies Lot 1 as the contribution candidate: $62,000 in fair market value, $18,000 cost basis, $44,000 gain, approximately $10,450 in taxes eliminated.

He brings this analysis to his CPA the following week. The CPA confirms the approach and flags one operational detail: the stock transfer should be initiated at least several business days before year-end to ensure the contribution date falls within the current tax year. Brokerage-to-DAF transfers typically take three to five business days to settle.

The question to bring to your CPA is specific: “Which of our appreciated positions would be most efficient to contribute directly to a DAF, and what is the estimated tax savings compared to donating cash?” That conversation takes about 15 minutes and produces a number you can act on.

Article 13 in this series covers the stock transfer process itself — what it involves mechanically and what to expect from your brokerage.

Sources

IRS Publication 526, Charitable Contributions.
https://www.irs.gov/forms-pubs/about-publication-526

One Big Beautiful Bill Act (Public Law 119-21). https://www.irs.gov/newsroom/one-big-beautiful-bill-provisions

IRS Topic No. 506, Charitable Contributions. https://www.irs.gov/taxtopics/tc506

Internal Revenue Code Section 4966. https://www.law.cornell.edu/uscode/text/26/4966

Written by GoFundMe