Tax Strategy
R&D Tax Credit for DTC Brands: The $15K-$40K You're Missing
The federal R&D tax credit (IRC Section 41) reduces tax owed dollar-for-dollar. A DTC brand with $200K to $600K in qualifying research expenses, custom formulation, packaging engineering, or custom Shopify development, typically claims $15,000 to $40,000 per year. Brands under $5M in revenue can offset up to $500,000 of payroll taxes instead.
Key Takeaways
- The federal R&D credit is a dollar-for-dollar reduction of tax owed, not a deduction. A DTC brand with $200K to $600K in qualifying research expenses typically lands a $15,000 to $40,000 credit per year under the Alternative Simplified Credit method.
- Custom formulation, packaging engineering, and custom Shopify app work usually qualify. Off-the-shelf apps, aesthetic packaging redesigns, and marketing creative do not. The test is technical uncertainty resolved by experimentation, not the industry you're in.
- Brands under $5M in revenue can offset payroll taxes instead of income tax. Qualified Small Businesses can apply up to $500,000 per year against employer FICA via Form 8974. The 2022 Inflation Reduction Act doubled that cap from $250,000.
- Contract research counts at 65% of what you pay outside labs and developers. Wages, supplies, and 65% of contractor payments are the three buckets of qualifying research expenses under Section 41(b).
- The credit goes unclaimed because founders never flag development spend to their CPA. Documentation is the whole game: contemporaneous project logs, time allocation, and contractor invoices are what survive an audit.
Most direct-to-consumer founders have never heard of IRC Section 41, and that gap is why, as of 2026, a lot of eligible brands still write off qualifying research as a plain operating expense instead of claiming a dollar-for-dollar tax credit. It matters because the money is real: for a brand doing $5M to $15M in revenue with $200K to $600K of qualifying spend, the federal R&D credit runs roughly $15,000 to $40,000 a year (the full mechanics are covered in our R&D tax credits for ecommerce explainer). This piece gives you the four-part test, a DTC-specific expense map, and the documentation to gather, so you know what to bring to your CPA before your next filing.
The mental model to fix first: you are probably already funding research. Custom formulation trials, a headless Shopify build, packaging that had to survive a drop test. You expense it, you move on. The credit sits on the table.
What the IRS actually means by "research and development"
The word "research" scares founders off. They picture white coats and a patent lawyer. The IRS test is narrower and stranger than that: it is an activity test, not an industry test. You do not need a lab or a PhD on payroll. You need a project that meets all four parts of the test in IRC Section 41(d).
Here they are, in plain language. One, permitted purpose: the work develops or improves a product, process, formula, software, or technique in its function, performance, reliability, or quality. Two, elimination of uncertainty: at the start of the project, there was genuine technical uncertainty about whether you could do it, or how. Three, process of experimentation: you worked through that uncertainty systematically, with testing, iteration, or prototyping. Four, technological in nature: the work relied on the physical or biological sciences, engineering, or computer science, not on marketing, aesthetics, or business judgment.
All four have to be true for a project to qualify. The upside people miss: failed experiments still count. If you spent three months and $40,000 testing a shelf-stable formula that never shipped, that spend can still qualify, because the test is about the activity when it started, not whether it succeeded.
When I talk to founders running a brand this size, the reaction is almost always the same. They assumed R&D meant a formal lab program, so they never told their accountant they'd rebuilt their subscription logic from scratch or run eight rounds of stability testing on a new serum. The activity was qualifying research the whole time. Nobody labeled it.
What qualifies for a DTC brand, and what doesn't
This is the section worth reading twice, because the difference between a $30,000 credit and an audit letter is knowing where the line sits. The pattern: technical, uncertainty-driven work qualifies; subscriptions, aesthetics, and marketing do not.
On the product side, custom formulation qualifies when you are testing for stability, efficacy, or shelf life against a real target. Reformulation qualifies when you are chasing clean-label, allergen-free, or dairy-free performance, not just a different taste. Packaging engineering qualifies when you are solving barrier performance, lightweighting, or drop resistance. Process work at a co-packer qualifies when you are resolving a genuine technical unknown about a fill line, viscosity, or yield. What fails: flavor preference testing, a purely cosmetic packaging refresh, and anything that is branding dressed up as development.
On the software side, custom Shopify app development qualifies when there is novel logic under uncertainty: a subscription engine, advanced bundling, custom checkout with non-standard fraud or payment routing. Headless commerce builds qualify when performance, caching, or rendering create real engineering problems. Custom algorithms for pricing, recommendations, or shipping optimization qualify. What fails: installing an app from the store, routine theme edits, and copy or layout changes.
The chart shows the shape of it, but the checklist below is what you actually work from when you sit down with 12 months of spend.
| Expense category | Typically qualifies | Key condition | What fails |
|---|---|---|---|
| New product formulation wages | Yes | Technical uncertainty plus systematic experimentation | Routine taste testing with no performance spec |
| Contract lab / stability testing | Yes | 65% of payment; must be qualifying research | Regulatory-only testing with no experimentation |
| Custom Shopify app development | Yes | Novel logic, architecture, or algorithm under uncertainty | Routine theme config or copy edits |
| Packaging structural engineering | Yes | Performance targets (barrier, compression, drop test) | Aesthetic or branding-only redesign |
| Process engineering at co-packer | Yes | Technical uncertainty about fill method or yield | Standard changeover with known methods |
| In-house developer wages | Yes | Allocate percentage of time to qualifying projects | Maintenance, support, or off-the-shelf config |
| Off-the-shelf app subscriptions | No | No experimentation | Always excluded |
| Marketing creative / ad spend | No | Not technological | Always excluded |
| Cloud hosting | Sometimes | Only the portion directly supporting qualifying experiments | General production hosting |
The pattern we see again and again: a founder tells us they "have all this development that would almost certainly qualify" but there is "no mechanism for tracking it." The work is real. The record is missing. That gap is fixable, and it is worth more than most people assume.
Returns are quietly eating your margin. See by how much.
Get our Real Cost of Returns calculator: plug in your numbers, see the true hit per return.
Check your inbox. We'll send the Real Cost of Returns calculator shortly.
How much is the credit worth, and the math behind it
There are two ways to calculate the credit. The Regular Credit is 20% of qualifying research expenses above a fixed base amount, but that base period reaches back to 1984 through 1988, which almost no DTC brand can reconstruct. So in practice you use the Alternative Simplified Credit, or ASC. The ASC is 14% of your current-year qualifying research expenses (QREs) above 50% of your average QREs over the prior three years. If you have no prior QRE history, you use a 6% rate on current-year QREs instead.
Your QREs come from three buckets under Section 41(b): wages paid to employees doing qualifying work, supplies used up during qualifying research, and 65% of what you pay outside contractors doing qualifying research for you. That 65% haircut on contractors matters for DTC brands, because so much formulation and app work is outsourced.
The $15K to $40K range is the common case, but the chart shows the two edges. A brand with no prior QRE history sizes the credit at a flat 6% of current spend, which is the lower line. A brand with a small prior-QRE base gets a larger excess to apply the 14% rate against, so it can run higher, past $40K at the top of the spend range. Where you land depends entirely on your prior-year QRE history, which is why the example below is the honest middle, not the ceiling.
Here is a concrete example. Take an $8M skincare brand with a mix of in-house and outside work. Walk it line by line.
| Line item | Amount |
|---|---|
| Qualifying wages (formulation team, 60% of time) | $180,000 |
| Qualifying contract lab (65% of $120,000) | $78,000 |
| Qualifying Shopify app dev wages (70% of $60,000) | $42,000 |
| Qualifying packaging engineer wages (75% of $40,000) | $30,000 |
| Total current-year QREs | $330,000 |
| Prior 3-yr average QREs (assumed $200,000) | $200,000 |
| 50% of prior 3-yr average | $100,000 |
| Excess QREs (current minus base) | $230,000 |
| ASC rate | 14% |
| Estimated gross R&D credit | $32,200 |
That $32,200 is a dollar-for-dollar reduction of federal income tax owed. There is a separate election under Section 280C that reduces the credit by the corporate tax rate but preserves your full expense deduction. Which path is better depends on your entity type and rate. That is a genuine CPA question, so do not let anyone prescribe it to you off a blog post, including this one, and your choice interacts with the average DTC tax rate your structure is already carrying.
The credit is not a deduction and it is not a rebate for buying equipment. It is the government paying you back a slice of what you already spent solving hard technical problems. If your product or your stack required real engineering, some of that spend has a second life as tax you never have to pay.
The payroll tax offset if you're under $5M
For early-stage brands, the highest-value version of this credit is not the income tax offset at all. If you are a Qualified Small Business (QSB), you can point the credit at your employer payroll taxes instead.
You qualify as a QSB if you have under $5M in gross receipts in the credit year and no gross receipts before a five-tax-year lookback window. When you meet that, you can elect on Form 6765 to apply up to $500,000 per year against employer Social Security and Medicare taxes, then claim it quarterly on Form 8974. The 2022 Inflation Reduction Act doubled that cap from the old $250,000. For a pre-profit brand that owes little or no income tax, this turns the credit into actual quarterly cash flow. Brands with no prior QRE history use the 6% version of the ASC to size it.
| Revenue tier | Credit applies to | Annual cap | Notes |
|---|---|---|---|
| Under $5M, under 5 yrs old | Payroll tax offset (FICA) | Up to $500,000/yr | QSB under Section 41(h); claim on Form 8974 |
| Under $5M, over 5 yrs old | Income tax offset | Full credit amount | No longer a QSB for the payroll offset |
| $5M to $50M | Income tax offset plus AMT relief | Full credit | Eligible Small Business AMT waiver |
| Over $50M | Income tax offset only | Full credit | Standard claim via Form 3800 |
Documentation you need before you talk to your CPA
The credit is not won at tax time. It is won across the year, in the records you keep while the work is happening. The IRS standard is contemporaneous documentation, meaning it is created during the project, not reconstructed the week before filing. This is where most claims either hold up or fall apart in an audit.
Four things to gather. First, project logs or technical write-ups: for each qualifying project, the technical uncertainty you faced, the alternatives you tested, and how you resolved it. Second, employee time records showing the percentage of each person's time on qualifying versus non-qualifying work, because payroll records alone will not carry the wage QRE. Third, contractor agreements and invoices, written so the research is at your risk and clearly specified, which is what makes the 65% contractor QRE stand. Fourth, the technical output itself: lab reports, stability results, prototype records, and for software, the commit history and repository that show systematic iteration.
When we've struggled with this, what worked was starting the log the day a project kicks off rather than trying to rebuild it in March. If you are reading this mid-year, that is the move: stand up a simple project tracker now for anything with real technical uncertainty. A one-page write-up per project, updated as you go, is worth more in an audit than a polished retrospective.
Two more things worth knowing. Since 2022, Section 174 requires software development costs to be capitalized and amortized over five years rather than expensed right away. That is a timing change on the deduction and, per IRS Notice 2023-63, it does not touch how the Section 41 credit is calculated. And many states (California, New York, Texas, Massachusetts and others) offer their own R&D credits on top of the federal one, which is out of scope here but worth raising with your CPA once the federal number is in hand.
What to bring to your CPA, and why the credit goes unclaimed
The reason this credit sits unclaimed is almost never that a founder was told no. It is that the question never came up. Development spend does not show up as a line on a standard tax intake questionnaire, so a generalist CPA has no reason to ask, and the founder does not think to mention it.
So mention it. The framing that works is three sentences: "We spent roughly $X on product formulation and custom Shopify development this year. Some of it involved real technical problem-solving, not off-the-shelf tools. Can we run the four-part test on those projects for the R&D credit?" That is enough to start.
One judgment call to make early: a generalist CPA can often claim a clean, modest credit, but a large or aggressive claim usually wants an R&D tax specialist who does the formal study, substantiation, and Form 6765 prep. The bigger the number, the more the substantiation matters. If your qualifying spend is genuinely in the $200K to $600K range, the credit is large enough to justify getting the study done right the first time. This is also the kind of found money a fractional CFO earns back quickly at this revenue level, by catching the credits and elections a year-end filing tends to miss.
Sources and methodology
The federal R&D credit is governed by IRC Section 41 and claimed on Form 6765. The credit rate, the Alternative Simplified Credit calculation, the qualifying-expense definitions, and the payroll-offset election all come directly from the IRS Form 6765 instructions. Dollar figures in this piece are illustrative estimates built from those mechanics, not a published industry benchmark.
The four-part test and disallowed activities come from the IRS's own examiner guidance. The definitions used here follow the IRS Audit Techniques Guide for the research credit, which is the guide field examiners use, so it is the most reliable read on where the line sits.
The payroll tax offset and its $500,000 cap are set out by the IRS and confirmed in dated professional press. The Qualified Small Business rules come from the IRS QSB payroll tax credit page; the Inflation Reduction Act increase from $250,000 to $500,000 is documented in the Journal of Accountancy.
The Section 174 software amortization change is confirmed not to affect the Section 41 credit. This follows IRS Notice 2023-63, the interim guidance on specified research or experimental expenditures.
DTC-specific qualifying activity classifications draw on practitioner guidance. Category-level eligibility for formulation, packaging, and software work is compiled from published R&D credit guides including KBKG and specialist CPG and ecommerce firms. These are practitioner interpretations of the statute, not the statute itself; scope any specific project with a qualified advisor.
Frequently asked questions
does my shopify customization count as r&d for tax purposes?
Custom app development, headless architecture work, and custom algorithms (pricing, bundling, shipping optimization) usually qualify because they involve real technical uncertainty resolved through experimentation. Installing off-the-shelf apps, editing themes, or changing copy does not. The line is whether an engineer had to solve an unknown, not whether you paid a developer.
how much is the r&d tax credit worth for a brand doing $5 million to $15 million in revenue?
For a brand with $200,000 to $600,000 in qualifying research expenses, the credit typically runs $15,000 to $40,000 per year under the Alternative Simplified Credit method. It is a dollar-for-dollar reduction of tax owed, not a deduction, so the cash value is the full number.
can i use the r&d credit to offset payroll taxes instead of income tax?
Yes, if you are a Qualified Small Business: under $5M in gross receipts this year and no gross receipts before a five-year lookback. You can elect to apply up to $500,000 per year against employer FICA payroll taxes on Form 8974. That makes the credit useful even when you're pre-profit and owe no income tax.
what's the difference between an r&d deduction and an r&d tax credit?
A deduction reduces your taxable income, so it saves you your tax rate on the spend. A credit reduces the tax you owe dollar-for-dollar. Most founders already deduct development spend as an operating expense and stop there. The Section 41 credit is a second, separate benefit on the same spend.
can i claim the r&d credit if i use contract labs or outside developers?
Yes. Payments to outside contractors doing qualifying research on your behalf count at 65% of what you pay them, as long as the work is at your financial risk and the contract specifies it. This is one of the biggest buckets for DTC brands that outsource formulation to labs or app builds to agencies.
does the r&d credit apply if we reformulated an existing product instead of creating a new one?
It can. Reformulating for clean-label, allergen-free, or shelf-stability targets involves technical uncertainty and testing, which is exactly what the four-part test looks for. What does not qualify is changing a flavor or scent based on preference alone, with no technical performance target.
we haven't filed for the r&d credit in prior years, can we amend?
Generally yes, you can amend open tax years (typically the last three) to claim credits you missed, provided you can substantiate the qualifying activity with contemporaneous records. The IRS has tightened documentation requirements for refund claims, so this is a conversation to have with a specialist, not a DIY amendment.
how did the section 174 change affect the r&d credit for software development?
Since 2022, software development costs must be capitalized and amortized over five years rather than expensed immediately under Section 174. That is a timing change on the deduction. It does not change how the Section 41 credit is calculated. A single cost can be both a qualifying research expense for the credit and an amortized expenditure. Flag it to your CPA as a timing issue, not a lost credit.
