Compare giving appreciated stock to a charity with selling it first and giving the cash.
Model and assumptions. Giving stock held more than a year transfers its full market value to the charity and you skip the capital gains tax on the appreciation. Selling first leaves the charity the market value less that tax. Each gift is deducted at your marginal rate, and the net cost is the market value less the deduction savings. The model assumes you itemize and that the stock was held more than one year. It leaves out the limit of 30% of adjusted gross income on gifts of appreciated stock to public charities, the 3.8% net investment income tax and state tax. Stock that is worth less than you paid for it should be sold first so the loss is not wasted.