Donate vs Discount: When to Give Away vs Mark Down
At what discount percentage does donation become more profitable? The IRS Section 170(e)(3) math, liability protection, and the break-even calculation.
Every evening at 8 PM, the bakery section has the same problem
Tom runs a 9,400-square-foot grocery store in central Pennsylvania. He employs 22 people, does about $52,000 in weekly revenue, and has been operating the store for fourteen years. His bakery section -- a modest counter with bread, rolls, muffins, croissants, cookies, and a small selection of cakes -- generates roughly $4,200 per week. It is not his highest-margin department (that is deli), but it is consistent and customers expect it to be stocked.
Every evening around 8 PM, Tom's bakery closer surveys what is left. On a typical night: 6-8 bread loaves, 4-5 packages of rolls, 3-4 muffin packs, a handful of cookies, and maybe a cake that did not sell. Total retail value: somewhere between $45 and $75. Total cost to Tom: $22-$38, depending on the mix. None of it will sell tomorrow because tomorrow morning the bakery delivery truck arrives with fresh product, and no customer reaches past today's bread to grab yesterday's.
For the first eleven years of operation, Tom threw it all away. Every night. That is 365 nights per year times an average of $30 in cost-basis waste, which comes to $10,950 per year in product cost going into the dumpster. (The retail value of the discarded product was roughly $21,900 per year, but retail value is not what Tom lost -- he lost the wholesale cost, because those sales were never going to happen.)
Then Tom's accountant, during their annual review, asked a question that changed the math: "Why aren't you donating that food?"
Tom's answer was what most store operators say: it seemed like a hassle, he was not sure about the liability, and he did not think the tax benefit was worth the paperwork. His accountant pulled up a calculator and showed him that he was wrong on every count.
Not sure how much you're losing to expiry?
Run a free inventory waste audit — find your bleeding SKUs in 60 seconds. No sign-up required.
Run free auditThe markdown math: where discounting stops working
Before we get to donation, we need to understand why discounting is not always the answer, because the instinct for most store operators is to mark down near-expiry product rather than give it away. That instinct is correct -- up to a point. The point is more precise than most people realize.
Take a loaf of artisan bread. Tom's cost: $2.80. Retail price: $5.49. Gross margin: $2.69, or 49%.
Scenario A: Full-price sale. Revenue $5.49, cost $2.80, gross profit $2.69. This is the ideal outcome that happens for roughly 85% of bakery units.
Scenario B: 30% markdown. Reduced price $3.84. Revenue $3.84, cost $2.80, gross profit $1.04. Tom recovers his cost plus a dollar. This works well and is the right move when you have 4-6 hours of selling time remaining and the product is still presentable. The problem: at 30% off, bakery items move slowly. Customers buying bread at 8 PM already have bread at home. The discount has to overcome both price resistance and need resistance.
Scenario C: 50% markdown. Reduced price $2.75. Revenue $2.75, cost $2.80, gross profit: negative $0.05. Tom is now selling below cost. He is literally paying five cents per loaf for the privilege of not throwing it away. At 50% off, more units move -- maybe he sells 3 out of 7 remaining loaves instead of 1 out of 7 at 30% off. His recovery on those 3 loaves is $8.25. His loss on the 4 unsold loaves is $11.20. Net position: negative $2.95 plus the labor cost of someone managing the markdown stickers, which is another $3-$5 in time.
Scenario D: Discard. Revenue $0, cost $2.80 per loaf times 7 loaves = $19.60 total loss. This is the baseline against which everything else is measured.
The break-even discount percentage -- the markdown at which Tom recovers exactly his cost and nothing more -- is 49% for a product with 49% gross margin. Every percentage point beyond that is a subsidy Tom pays to the customer out of his own margin. And the critical question is: at what discount level does the number of units that actually sell generate more recovery than the tax benefit of donating the entire batch?
This is where the math gets interesting and where most store operators have never done the calculation.
IRS Section 170(e)(3): the tax deduction most grocery operators do not know exists
The standard charitable deduction for donated inventory is straightforward and underwhelming: you deduct the cost basis (what you paid for the product). Tom donates 7 loaves at $2.80 each, deducts $19.60, and at a 25% marginal tax rate saves $4.90 in taxes. That is better than throwing the bread away ($0 tax benefit) but worse than a 30% markdown that actually sells 2-3 loaves.
But there is a second, more generous rule. IRS Section 170(e)(3) provides an enhanced deduction for donations of "apparently wholesome food" to qualified nonprofits that serve the ill, needy, or infants. Under this provision, the deduction is not limited to cost basis. Instead, you can deduct the lesser of:
- Cost basis plus half of the unrealized profit (i.e., cost + 50% of the margin), or
- Twice the cost basis.
For Tom's bread: cost basis is $2.80 per loaf. Unrealized profit (margin) is $2.69 per loaf. Half of the unrealized profit is $1.345. So the enhanced deduction is $2.80 + $1.345 = $4.145 per loaf. The cap of twice cost basis is $5.60, which is higher, so the $4.145 applies.
At a 25% marginal tax rate, Tom saves $1.04 per donated loaf. For 7 loaves, that is $7.26 per night in tax savings. For 365 nights, that is $2,650 per year.
Compare this to the discard scenario: $0 tax benefit and $10,950 in annual product cost lost. Donating instead of discarding recovers $2,650 in tax savings, reducing the net annual loss from $10,950 to $8,300.
Now compare it to the aggressive markdown scenario (50% off, selling 3 of 7 loaves and discarding 4): annual recovery of approximately $3,000 from sales, minus $1,800 in labor costs for markdown management, net recovery $1,200 -- and you still discard 4 loaves per night with no tax benefit on the discards.
The donation path recovers $2,650 annually with near-zero labor (the food bank sends a truck -- more on this below). The markdown path recovers $1,200 annually and requires daily labor. Donation wins by $1,450 per year.
But here is the part that gets missed: Tom does not have to choose one or the other for the entire batch. The optimal strategy is to markdown some units and donate the rest, and the crossover point depends on the time remaining and the product category.
The crossover calculation: when to stop discounting and start donating
The question is: at what discount percentage does the tax benefit of donating one more unit exceed the net recovery from selling it at a discount?
The tax benefit of donating one unit of a product is:
Tax savings = (Cost + 50% of margin) x marginal tax rate
For Tom's bread: ($2.80 + $1.345) x 0.25 = $1.04 per unit.
The net recovery from selling one unit at a discount is:
Net recovery = Discounted price - Cost
At 30% off: $3.84 - $2.80 = $1.04 per unit.
At 40% off: $3.29 - $2.80 = $0.49 per unit.
At 50% off: $2.75 - $2.80 = negative $0.05 per unit.
The crossover point is where Tax savings = Net recovery. For Tom's bread, that happens at almost exactly 30% off. At any discount steeper than 30%, Tom makes more money donating the unit than selling it.
This does not mean Tom should stop discounting at 30% and donate everything. It means he should discount at 30% first, sell whatever units he can in the window he has, and then donate everything that remains rather than discounting further. The 30% markdown is worth trying because it costs nothing to attempt (the product was going to be donated or discarded anyway). But the second markdown to 50% off is value-destructive -- he would literally recover more per unit by giving the food to a food bank.
The crossover percentage varies by product margin:
| Product | Cost | Retail | Margin % | Crossover discount % (at 25% tax rate) |
|---|---|---|---|---|
| Artisan bread | $2.80 | $5.49 | 49% | 30% |
| Muffin 4-pack | $3.20 | $6.99 | 54% | 28% |
| Deli sandwich | $2.50 | $5.99 | 58% | 25% |
| Rotisserie chicken | $3.80 | $7.99 | 52% | 27% |
| Pre-cut fruit tray | $4.50 | $9.99 | 55% | 27% |
| Bagged salad kit | $1.80 | $3.49 | 48% | 31% |
For most prepared and bakery items with margins in the 45-60% range, the crossover sits between 25% and 32%. Once you go past that first markdown and the units do not move, the rational economic decision is donation.
The Bill Emerson Good Samaritan Food Donation Act: liability is not the problem you think it is
The number-one reason store operators give for not donating food is fear of liability. "What if someone gets sick? They will sue me." This fear is understandable. It is also almost entirely unfounded, thanks to a federal law that most grocery operators have never heard of.
The Bill Emerson Good Samaritan Food Donation Act, signed in 1996, provides federal liability protection to businesses and nonprofits that donate food in good faith. The protection is broad:
- Covers grocery stores, restaurants, caterers, and any "person" (including corporations) that donates food. Tom's store qualifies.
- Protects against civil and criminal liability for injuries resulting from donated food, as long as the donation was made in good faith and the food was not known to be adulterated or contaminated.
- "Good faith" means you believed the food was safe at the time of donation. Day-old bread that is stale but not moldy qualifies. A deli sandwich within its use-by date qualifies. Product you suspect is contaminated does not qualify, and you should not donate it.
- The only exception is gross negligence or intentional misconduct. If you knowingly donate food that you know is unsafe, the protection does not apply. The bar for "gross negligence" is high -- you would have to do something like donate meat you know has been sitting at room temperature for six hours.
- State-level protections add additional coverage. All 50 states have their own Good Samaritan food donation laws, and most provide the same or broader protection than the federal statute.
In the 30 years since this law was enacted, there has been no reported case of a food donor being held liable for injuries from donated food under this statute. Zero. The fear of lawsuit that prevents millions of pounds of food donation annually is based on a risk that has not materialized once in three decades.
Tom's concern was not unreasonable when he first had it. But after his accountant explained the law, it took approximately four seconds for liability to drop off Tom's list of objections.
Finding a food bank partner: easier than you expect
The second most common objection: "I don't have time to drive food to a food bank." This is also solved, in most cases by a single phone call.
Feeding America operates a network of roughly 200 food banks and 60,000 food pantries across the United States. Most urban and suburban areas are within the pickup radius of at least one food bank that operates a truck route for retail donors. The process:
- Contact your regional food bank. Go to feedingamerica.org/find-your-local-foodbank, enter your zip code, and call the number that comes up. Tell them you are a grocery store interested in becoming a retail donor.
- They will send a coordinator. The food bank will typically send someone to your store within 1-2 weeks to assess what you can donate, how often, and what their pickup schedule looks like. Most food banks do retail pickups 2-5 times per week, depending on the route.
- You put the donation in a designated area. Tom keeps a rolling cart near his back door. Each evening, the bakery closer puts the unsold items on the cart instead of in the dumpster. The food bank truck comes Tuesday, Thursday, and Saturday mornings and picks up whatever is on the cart. Tom's labor cost for this process: approximately 3 minutes per night to roll the cart to the staging area, plus 5 minutes per pickup for the receiving paperwork. Total: about 36 minutes per week.
- The food bank provides a donation receipt. This receipt is what Tom gives to his accountant for the tax deduction. Most food banks provide monthly or quarterly aggregate receipts showing total pounds donated, which simplifies the bookkeeping.
The elapsed time from Tom's first phone call to his first scheduled pickup was 11 days. The hardest part was remembering to make the phone call.
A complete annual comparison: Tom's bakery numbers
Let us put the full picture together for Tom's bakery section over a year, comparing three strategies.
Strategy 1: Discard everything (Tom's approach for 11 years)
- Daily bakery waste at cost: $30
- Annual product cost lost: $10,950
- Tax benefit: $0
- Annual labor for waste management: ~$500 (bagging, dumpster)
- Net annual cost: $11,450
Strategy 2: Aggressive markdowns (50% off starting at 6 PM)
- Units sold at markdown: ~40% of waste units
- Annual markdown revenue: $4,015
- Annual product cost on unsold units: $6,570
- Tax benefit on unsold discards: $0
- Labor for markdown stickers and management: $1,825 (15 min/day x 365 x $20/hr)
- Net annual cost: $4,380
Strategy 3: One-round 30% markdown at 6 PM, then donate the rest
- Units sold at markdown: ~25% of waste units (fewer sell at 30% vs 50%)
- Annual markdown revenue: $3,525
- Annual product cost on donated units: $8,213
- Enhanced tax deduction on donations: $13,530 in deductible value
- Tax savings at 25% rate: $3,383
- Labor for markdowns + donation staging: $1,400 (12 min/day)
- Net annual cost: $2,705
The donation strategy saves Tom $1,675 per year compared to aggressive markdowns, and $8,745 per year compared to discarding. Over a decade, the difference between discarding and the donation strategy is $87,450 in unnecessary cost.
And these are conservative numbers. Tom's store donates only bakery items. If he expanded the program to deli, dairy approaching its sell-by date, and produce -- departments with higher waste volumes -- the tax savings would roughly triple. His accountant estimated that a full-store donation program would generate $8,000-$12,000 in annual tax savings on food that was otherwise headed for the dumpster.
Documentation: what the IRS actually requires
The enhanced deduction under Section 170(e)(3) requires more documentation than a standard charitable deduction, but it is not onerous. Here is what Tom tracks:
For each donation event:
- Date of donation
- Name of receiving organization (must be a 501(c)(3) that serves the ill, needy, or infants)
- Description of items donated (e.g., "12 loaves assorted bread, 6 muffin packs, 4 cookie packages")
- Your cost basis for the donated items
- The fair market value (retail price) of the donated items
- The enhanced deduction amount (calculated as described above)
Annually:
- A contemporaneous written acknowledgment from the food bank for any single donation or group of donations exceeding $250
- If total annual food donations exceed $5,000 in claimed deduction value, a qualified appraisal may be required (though the IRS has simplified this for food inventory donations -- the "qualified appraisal" requirement is generally waived for food if you maintain adequate records of the fair market value method used)
Tom uses a simple spreadsheet. One row per donation event. Five columns: date, items, cost basis total, retail value total, enhanced deduction total. His bakery closer fills in the first three columns each night. Tom's bookkeeper fills in the retail values weekly from the POS data. The accountant calculates the deduction at year-end. The incremental work is about 2 minutes per donation event.
The most common mistake operators make with donation tax records is not tracking cost basis at the item level. "I donated $50 worth of bakery stuff" is not sufficient. "I donated 8 loaves of bread (cost basis $2.80 each = $22.40), 4 muffin packs (cost basis $3.20 each = $12.80), and 3 cookie packages (cost basis $1.90 each = $5.70), total cost basis $40.90" is what the IRS wants to see. This level of detail sounds painful, but if your POS system tracks product costs (and almost all of them do), you already have the data. It just needs to flow to the donation log.
The non-financial case (which matters more than you think)
The tax math is compelling, but it is not the only reason donation beats discard. There are three soft benefits that do not show up on a P&L but materially affect Tom's business.
Customer perception. Tom put a small sign near his bakery counter: "Unsold bakery items are donated nightly to the Central PA Food Bank." He did not measure the revenue impact with any rigor, but his bakery closer reported that at least 2-3 customers per week comment on the sign positively. In a small-town grocery store where customer loyalty is built on a thousand small signals, this is not nothing.
Employee morale. Before the donation program, Tom's bakery closer threw away food every night. This is not a pleasant task. Several employees over the years mentioned that they found it demoralizing, particularly when they knew people in the community who were food-insecure. After switching to donation, the nightly close became a marginally better experience. Employee retention in grocery is a perpetual challenge, and anything that makes the job feel less wasteful helps at the margins.
Community relationships. The food bank coordinator knows Tom by name. When the food bank held its annual fundraiser gala, Tom got a table. When a local newspaper did a story on food insecurity, the food bank director mentioned Tom's store as an example of a good retail partner. This is advertising that Tom could not buy, and it came free as a byproduct of a program that was already saving him money.
The decision framework, simplified
For any near-expiry item in your store, the decision tree is three steps:
Step 1: Can you sell it at a moderate markdown (25-35% off) in the time remaining? If you have 4+ hours of selling time and the product is still presentable, mark it down and give it a shot. This is always the first move because it recovers the most value per unit.
Step 2: If it did not sell at markdown, or if you have less than 4 hours: is the product still safe and wholesome? If yes, route it to your donation staging area. The enhanced tax deduction almost certainly exceeds what you would recover from a deeper markdown. If the product is damaged, spoiled, or past its safe consumption window, discard it.
Step 3: At what scale does it make sense to formalize a donation program? If you are discarding more than $15-$20 per day in food waste at cost basis (which means more than $5,500-$7,300 per year), the enhanced tax deduction at 25% marginal rate saves you $1,400-$3,600 per year. That is worth 11 days of setup effort and 2 minutes of nightly bookkeeping.
Stores discarding less than $10 per day at cost ($3,650/year) still benefit from donating, but the tax savings ($900-$1,800/year) may not justify the overhead of maintaining detailed records for Section 170(e)(3). In that case, the standard cost-basis deduction (which requires less documentation) still recovers $900-$1,800 per year at a 25% tax rate, which is $900-$1,800 more than you recover by throwing the food in the dumpster.
There is no scenario in which discarding food that could be safely donated is the financially optimal choice. The only question is how much better donation is, and the answer ranges from "modestly better" to "dramatically better" depending on your volume, margins, and tax rate.
Tom's evening bakery problem was never actually a problem. It was a $2,700-per-year opportunity that he threw in the dumpster every night for eleven years because nobody showed him the math. The math is straightforward. The setup is minimal. The hardest part is making the first phone call to the food bank.
The bread does not care whether it feeds a family or feeds a landfill. But your P&L does, and so does your community.
ShelfLifePro tracks donation-eligible inventory and generates the documentation you need for tax deductions. Free plan at [shelflifepro.net](https://shelflifepro.net).
See what batch-level tracking actually looks like
ShelfLifePro tracks expiry by batch, automates FEFO rotation, and sends markdown alerts before stock expires. 14-day free trial, no credit card required.