How the credit is computed
The research credit rewards spending above your own historic base — it is not a flat rebate on every research dollar. This tool models the branch most small filers use, the Alternative Simplified Credit of §41(c)(4), exactly as Form 6765 Section C determines it:
- Aggregate the year's QRE — researcher wages for qualified work, supplies consumed by that work, and 65% of qualifying contract research.
- Halve the prior-three-year average. Average annual QRE over the 3 preceding taxable years (sum ÷ 3), times 50% — that is the base your current spending must exceed.
- Multiply the excess by 14%. No excess, no credit — the increment floors at zero, it never goes negative.
One special rule overrides the formula: if you had no QRE in any of the 3 preceding taxable years — §41(c)(4)(B), heading and all — the credit is a flat 6% of current-year QRE. That is literally a zero prior average, and it covers two very different taxpayers: a company incurring research costs for the first time, and a company returning to research after a gap of three or more years. Once any of the three preceding years has QRE, the 14%-over-base formula applies, with the average simply summing those three years (zeros included).
After the credit is determined it becomes a general business credit: it cannot exceed the §38(c) ceiling on your return — net income tax, less the greater of tentative minimum tax or 25% of net regular tax liability above $25,000 (§38(c)(1)(B)). Corporations face the same 25%-over-$25,000 cap through §38(c)(6)(E) — there is no corporate exemption (the IRS Form 3800 instructions state it verbatim); this tool assumes no AMT and says so. Whatever the ceiling pushes out carries back one year and forward twenty (§39).
The regular method of §41(c)(1) — 20% over a fixed-base percentage of gross receipts, with its own startup ramp — can beat the simplified method for companies with a long, heavy research history and receipts growth that outpaced research growth. It is not modeled here: for a self-employed filer or a young company the simplified method is the defensible default, and the conservative one.
What counts as qualified research — the four-part test
An activity is qualified research only if it clears every part of the §41(d)(1) test and its costs are §174/§174A research or experimental expenditures:
- Permitted purpose. The work aims at information useful in developing or improving a business component — a product, process, computer software, technique, formula, or invention. “Information useful” is doing real work in that sentence: the activity must generate knowledge, not just a result.
- Technological in nature. The process relies on principles of the physical or biological sciences, engineering, or computer science. Market research and styling decisions are not technology.
- Substantial uncertainty. You did not know — at the start — whether the capability was achievable, how to achieve it, or whether the design was appropriate. If any competent shop in your field could have done it the same way, that is not uncertainty.
- Process of experimentation. A systematic evaluation of alternatives: modeling, simulation, systematic trial and error, prototyping, hypothesis testing. Agile sprints with evaluated outcomes can qualify; “we tried things” does not.
§41(d)(4) then carves out what the test's plain reading might tempt you to include: research conducted after a product is ready for commercial production; adaptation or duplication of an existing business component; surveys, management studies, and efficiency research; anything in the social sciences, arts, or humanities; research conducted outside the United States; and research funded by someone else's money (you were not at risk).
Software gets an extra gate. Software developed for your own internal use must additionally clear the §41(d)(4)(E) three-part test — a high threshold of innovation, significant economic risk, and the software not being commercially available. Software developed to sell, or embedded in a product you sell, does not face the extra gate — but it still has to pass the four-part test like everything else. Most of the inflated “every developer is R&D” pitches die on routine maintenance, bug fixes, and adaptation, which fail it.
What goes into QRE
QRE (§41(b)) is the expense base, and the blending matters as much as the total:
| Expense category | Enters QRE at | Notes |
|---|---|---|
| In-house wages | 100% | Only time actually spent performing qualified services counts (plus qualified first-line supervision and support). A developer's sprint-planning week is not research time. |
| Supplies | 100% | Tangible materials consumed in the research — not depreciable equipment, not overhead. |
| Contract research | 65% | You pay, you hold the rights, you bear the risk (§41(b)(3)(A)). |
| Payments to a qualified research consortium | 75% | A §501(c)(3)/(c)(6) research consortium (§41(b)(3)(C)) — not a general small-business rate. |
| Qualified energy research | 100% | Only when performed by an eligible small business, a college, or a federal laboratory (§41(b)(3)(D)). Note the definition: an eligible small business here averages ≤500 employees and is unrelated to the payor — a completely different test from the §41(h) qualified small business ($5M receipts / 5 years) that gates the payroll election. |
| Cloud / leased computers | (time-adjusted) | Treated as rented research property at the qualified-use share — an IRS FAQ-era position; allocate honestly. |
This tool takes QRE as one aggregate input, so do the blending before you type: a $300,000 payroll of which $180,000 was qualified research time, plus $20,000 of supplies and a $100,000 university contract (at the standard 65%), is $265,000 of QRE — not $420,000.
The base period — and the flat-QRE ramp
The base is half the average of the prior three years — the sum of QRE in those years ÷ 3, zeros included, no adjustments. A single prior year with QRE therefore enters at one-third weight, two years at two-thirds; only in year four does a stable budget face its own full average. Watch what that does to a company whose QRE never changes — $600K every year:
| Year | Prior 3-yr average | Base (50%) | Statutory rate | Credit | Effective rate on QRE |
|---|---|---|---|---|---|
| 1 | $0 (6% rule) | — | 6% of QRE | $36,000 | 6.00% |
| 2 | $200,000 | $100,000 | 14% of increment | $70,000 | 11.67% |
| 3 | $400,000 | $200,000 | 14% of increment | $56,000 | 9.33% |
| 4 | $600,000 | $300,000 | 14% of increment | $42,000 | 7.00% |
| 5 | $600,000 | $300,000 | 14% of increment | $42,000 | 7.00% |
| 6 | $600,000 | $300,000 | 14% of increment | $42,000 | 7.00% |
The pattern is structural, not an artifact of these numbers: with no QRE in any preceding year, §41(c)(4)(B) pays 6% flat; year 2 nearly doubles the effective rate because only a third of year 1 entered the base; then the base fills in — 9.3% in year 3 — and by year 4 the flat budget settles at its permanent level, 7% of QRE (the 14% rate on a 50% increment). A growing research budget never settles: each year's record spend resets the increment upward faster than the trailing average chases it, which is the entire design of the credit. And a three-year gap resets the special rule — the returning company pays 6% again on its first year back.
Five worked examples
Every number is generated by this page's own §41 library — the same functions the widget above runs. The “claimed” figure takes the reduced credit (§280C(c)(2)); the “elected → payroll” column is the §41(h) split, which only a qualified small business can make — non-QSB rows show none, because none is available:
| Scenario | QRE | Prior avg | Gross credit | Elected → payroll | §38(c) ceiling | Income-tax used | Payroll cash |
|---|---|---|---|---|---|---|---|
| First-year startupno prior QRE, QSB, $180k payroll | $300K | $0 (6%) | $18,000 | $18,000 | $6,000 | $0 | $13,770 |
| Year-2 SaaSavg $100k, QSB, $400k payroll | $600K | $100K | $77,000 | $30,600 | $25,000 | $25,000 | $30,600 |
| Profitable consultancyavg $350k, not a QSB, 32% | $400K | $350K | $31,500 | — | $70,000 | $24,885 | — |
| Pre-revenue biotechno tax liability, QSB, $700k payroll | $900K | $200K | $112,000 | $112,000 | $0 | $0 | $53,550 |
| C-corp post-revenuecorporation, 21% rate, not a QSB | $800K | $600K | $70,000 | — | $96,250 | $55,300 | — |
Read the first and fourth rows together — they are the startup story in two acts. The first-year company has only $6,000 of tax, so it elects the whole $18,000 gross credit toward payroll: $13,770 lands as cash against employer FICA this year (the capacity on $180K of wages), with $4,230 queued for later quarters — and the income-tax path shows zero, because those dollars are barred from it. The pre-revenue biotech has zero ceiling and still collects $53,550 of employer-FICA relief on its full $112,000 election, with $58,450 more carried. The year-2 SaaS splits: $30,600 to payroll (exactly its FICA capacity), leaving $46,400 for the income tax — of which the $25,000 ceiling lets it use $25,000 this year.
The §280C election, priced exactly
You cannot keep both the full credit and the full deduction. Without an election, §280C(c)(1) reduces your research-expense deduction by the credit allowed. With the §280C(c)(2) election, you keep the deduction and the credit itself is cut by the maximum corporate rate — 21% since 2018 — leaving 79% of it. (Pre-2018, at a 35% top rate, the kept share was 65% — older articles saying “the credit is cut roughly in half” are describing a rate that no longer exists.)
The arithmetic of choosing, for a credit of size C at a marginal ordinary rate r: full credit nets C(1 − r) — the credit itself minus the tax value of the deduction it cost you — while the reduced credit nets 79%·C flat. The branches cross at exactly r = 21%, which the engine confirms endpoint to endpoint on the consultancy example ($24,885 vs $24,885 at 21%):
- At the consultancy's 32% bracket: full credit nets $21,420; reduced credit nets $24,885 — the election is worth $3,465, which is the gross credit times 11% points exactly.
- Below 21% — a year in the 12% bracket, say — the full credit wins by the same formula: C × (0.21 − r). The election is per-year, so a low-income year and a normal year can choose differently.
- When the §38(c) ceiling binds both branches, the election gives up nothing and only trims carryforward room — electing is the safe side of the trade.
One asymmetry the widget surfaces but cannot price: the full-credit branch reduces your deduction this year, and a pass-through owner feels that in income tax and (for a sole proprietor) self-employment tax too, while the carryforward it preserves is an income-tax asset only. The entered marginal rate is the honest place to encode that judgment.
Why startups take the payroll path
A general business credit with no tax to absorb it is a promissory note, not cash. §41(h) — added in 2015, expanded by the Inflation Reduction Act — lets a qualified small business elect up to $500K of its research credit per year against the employer side of FICA instead: Social Security first (up to $250,000 of employer tax per quarter), then employer Medicare, claimed quarterly on Form 8974 with your Form 941, starting the first quarter after you file the income-tax return that claims the credit. Amounts not absorbed carry forward to later employment-tax returns.
The election splits the credit rather than duplicating it. Per the IRS Form 3800 instructions, no amount elected as a payroll tax credit can offset the current-year income tax or enter the general-business-credit carryforward or carryback — the widget models exactly that: dollars you route to the payroll slider disappear from the income-path ledger, and the worked examples above split a single gross credit between the two destinations.
Eligibility is a youth test (§41(h)(3)(B)): gross receipts of $5M or less in the credit year, and no gross receipts at all in any year before the five-taxable-year period ending with it. Roughly: five years old or younger, and still small. Pass the test and the economics are blunt — the biotech example above has $0 of tax ceiling and still pulls $53,550 of cash out of the same credit, quarter by quarter, sized by the employer FICA on $700K of wages (6.2% + 1.45% = 7.65%).
Two honest footnotes. First, the offset is cash but not free money: employer FICA you no longer pay is no longer deductible, so the net is the offset times (1 − your marginal rate) — that is the “net cash value” figure in the widget. Second, the statute's §280C wording speaks of the credit determined under §41 without addressing payroll-elected amounts head-on; how (and whether) the reduced-credit election interacts with Form 8974 offsets is governed by current IRS guidance — confirm it with your preparer rather than with a brochure.
§174 / §174A status in 2025
The credit and the deduction are different sections with entangled history. From 2022 through 2024, TCJA-era §174 forced every business to capitalize and amortize research costs — domestic over 5 years (10%/20%/20%/20%/20%/10% under half-year conventions), foreign over 15 — a cash-tax shock that hit exactly the young companies this page is about. The One Big Beautiful Bill Act (P.L. 119-21, July 2025) created §174A, restoring immediate expensing of domestic research expenditures for tax years beginning after December 31, 2024, permanently; foreign research still amortizes over 15 years. For balances already capitalized from 2022–2024, the catch-up deduction is a statutory election under §174A(c), administered as an automatic accounting-method change through the procedures in Rev. Proc. 2025-28.
None of that changes any number this tool computes — the §41(c)(4) formula, the §280C branches, and the §41(h) cap are all indifferent to how §174A times the deduction. What it changes is the deduction side of the §280C trade (what a full deduction is worth), and the general arithmetic of running a research budget. For 2022–2024 tax years still open on your books, the capitalization rules still apply. As with everything statutory on this page: the current IRS guidance governs — Forms 6765 and 8974 instructions and the IRS §174/§174A pages are the operative text.
Red flags — how the credit gets oversold
The §41 credit is real, monetizable, and — with the four-part test honestly applied — defensible. The pitches around it are frequently none of those things. Warning signs, ranked by how much money they can cost you:
- “Every software company qualifies.” Routine development — maintenance, bug fixes, ports to new platforms, adaptation of an existing product — fails the four-part test on uncertainty alone, and internal-use software faces the additional §41(d)(4)(E) gate. The honest base is usually a fraction of engineering payroll.
- “Up to $500K — refundable.” The credit is not refundable. The payroll election is a real $500K-per-year cash path, but only for qualified small businesses, only against employer FICA actually payable, only after the return is filed — and every dollar elected there is a dollar that no longer offsets income tax.
- Contingency-fee studies that reclassify history. A study that “finds” three years of QRE you never tracked has to restate your prior returns — and the statute's consistency requirement (§41(c)(5)(A): expenses must be treated as QRE on a consistent basis across years, even where refund periods have expired) pushes the newly classified costs into the base periods of the same years. The windfall is systematically smaller than the pitch, and the amended-return footprint is audit surface.
- Quoting gross, banking net. A $100,000 credit with the §280C(c)(2) election is $79,000; without it, it is $100,000 minus the tax value of $100,000 of lost deduction. A quote that never mentions §280C at all was not a quote.
- “No documentation needed.” Contemporaneous evidence — technical records, personnel-time allocation, gate reviews — is what survives an exam. Reconstructed after the fact under contingency pressure, it is exactly what examiners are trained to discount.
- Forgetting the states exist. Most states with an R&D credit conform to some version of federal §41 — many still conform to pre-TCJA §174 — and a state election can have its own §280C analogue. State math is out of scope here entirely.
Caveats & scope
What this model is, stated plainly: a federal-only, tax-year-2025 computation of the §41(c)(4) simplified credit for one trade or business, with the §280C(c) branches and the §41(h) payroll election evaluated from aggregate inputs. What it deliberately is not:
- The §41(c)(1) regular method — often better for decades-old, receipt-heavy programs.
- Past-service wage allocation, the three IRS time-allocation methods, or controlled-group apportionment (§41(f)(1)).
- The alternative minimum tax inside the §38(c) ceiling (assumed zero, stated in the UI), or GBC carryback/carryforward valuation beyond flagging it.
- The per-employee Social Security wage base ($176,100 for 2025) in the payroll capacity — top-heavy payrolls overstate it slightly.
- State credits, state §280C analogues, and state §174 conformity.
- A determination that your activities are qualified research. That is a facts-and- circumstances judgment this page arms you for, not one it makes.
Glossary
- QRE — qualified research expenses
- The §41(b) expense base: in-house wages for qualified services, supplies, 65% of qualifying contract research, 75% for qualified research consortium payments, and 100% for qualified energy research performed by an eligible small business, college, or federal laboratory.
- ASC — alternative simplified credit
- §41(c)(4): 14% of QRE above 50% of the prior-three-year average; a flat 6% when there was no QRE in any of the 3 preceding years — first research year or a return after a multi-year gap alike.
- Base period
- The three taxable years preceding the credit year; average is sum ÷ 3 with zeros included.
- GBC — general business credit
- The §38 bucket the research credit sits in, capped at net income tax less the greater of tentative minimum tax or 25% of net regular tax liability above $25,000 — corporations face the same 25%-over-$25,000 cap (§38(c)(1)(B), §38(c)(6)(E)).
- QSB — qualified small business
- §41(h)(3)(B): gross receipts ≤ $5M in the credit year and none before the five-year period ending with it — the payroll-election gate.
- Eligible small business
- A different §41 concept from the QSB: ≤500 employees on average and unrelated to the payor (§41(b)(3)(D)) — relevant only to the 100% rate for qualified energy research performed for you.
- §280C(c)(2) reduced credit
- The election to keep 79% of the credit and the full research deduction, instead of the full credit and a reduced deduction.
- Form 6765
- Where the credit is computed and both elections (reduced credit, payroll) are made.
- Form 8974
- Where the payroll-elected amount is applied quarterly against employer FICA, attached to Form 941.
- §174A
- The OBBBA section restoring immediate domestic research expensing for tax years beginning after December 31, 2024.
Frequently asked questions
My company has a loss this year — is the credit worthless?
Not worthless, but not cash either. The §38(c) ceiling is zero with no tax liability, so the credit carries back one year and forward twenty as general business credit. If you qualify as a QSB (≤ $5M receipts, ≤ five years), the §41(h) election short-circuits the wait: up to $500,000 per year applies against employer FICA instead. The biotech example above pulls $53,550 out of a zero-ceiling year.
Why did my credit change so much in year two?
The base period fills in. Year 1 pays 6% of QRE flat; year 2 subtracts only one-sixth of year 1 (half of a ÷3 average), so the same spend yields 11.7% effective on a flat $600k budget; by year 4 a flat budget settles at 7%. Growing budgets never settle — each record year resets the increment upward.
I had research expenses years ago, then stopped for a while. Which rate applies now?
The 6% special rule turns on having no QRE in any of the 3 preceding taxable years (§41(c)(4)(B)) — not on this being your first research year ever. A company returning to research after a gap of three or more years pays the flat 6% again on its first year back; once any of the three preceding years has QRE, the 14%-over-base formula applies with that history averaged in.
Is all software development qualified research?
No. It must pass the same four-part test as anything else, and software for your own internal use must additionally clear §41(d)(4)(E)'s high threshold of innovation, significant economic risk, and non-availability commercially. Maintenance, bug fixes, platform ports, and routine feature work generally fail — this is where inflated studies do their damage.
Should I always take the §280C(c)(2) reduced credit?
Above a 21% marginal rate, yes — the election is worth the gross credit times (rate − 21%), $3,465 at the 32%-bracket consultancy above. Below 21% the full credit wins by the same formula; with a binding §38(c) ceiling the election costs nothing. It is a per-year, irrevocable election made on the return.
Can I take the payroll offset and still use the credit against income tax?
On the same dollars, no. The §41(h) election splits the credit — per the Form 3800 instructions, amounts elected as payroll tax credits cannot offset the current-year income tax or enter the GBC carryforward or carryback. The widget reflects that: raising the payroll-election slider removes those dollars from the income-path ledger.
How does the R&D credit interact with the QBI deduction?
Through the deduction, not the credit: a §280C(c)(1) reduction of your research deduction increases business income, which increases QBI (and, for a sole proprietor, the self-employment base) — one more reason high-bracket owners lean toward the reduced-credit election. The QBI deduction calculator prices that side.
Can I claim the credit on amended returns for years I missed it?
Generally yes, within the refund-statute window — but the statute requires consistent treatment of expenses as QRE across years (§41(c)(5)(A), expressly including years whose refund periods have expired), so the reclassified expenses raise the base periods of the very years you are amending toward. Expect a smaller number than the pitch, and expect the amended footprint to be read closely.
Does the §41(h) payroll offset reduce my employees’ paychecks?
No — it offsets the employer share of FICA only (6.2% Social Security first, then 1.45% Medicare), never the employee withholding or the employee-side tax. Your team's W-2s are untouched.
Is this 2025 model valid for my 2026 return?
The structure is — every rate here (14%, 6%, 79%, $500k, 7.65%) is statutory and not inflation-indexed — but 2026 brings new brackets, a new Social Security wage base, and continued IRS rulemaking around §174A and Form 6765's redesigned sections. Re-run the numbers with the current year's parameters before filing.