R&D Credit Fundamentals

How the R&D Tax Credit Study Works: Methodology & Filing Guide

A detailed explanation of how MainStreet identifies qualifying research expenses, calculates your credit, and prepares IRS-ready documentation — from the initial QRE review through Form 6765 filing.

Last reviewed: June 2026Reviewed by: MainStreet's R&D Tax Credit team (licensed CPAs & Enrolled Agents)
Quick answer

How do you calculate and file the R&D tax credit?

You claim the R&D credit on Form 6765, attached to your business tax return. The process has five steps: (1) identify qualifying business components and activities under the four-part test; (2) gather qualified research expenses (QREs) — wages, supplies, cloud costs, and 65% of contract research; (3) calculate the credit using the Alternative Simplified Credit (14% of QREs above 50% of the prior three-year average) or the Regular Credit method; (4) choose your §280C election to coordinate the credit with your R&E deduction; and (5) prepare contemporaneous documentation tying each dollar to a business component.

Qualified small businesses can elect on Form 6765 to apply up to $500,000 per year against employer payroll taxes, claimed on Form 8974 with their quarterly Form 941.

Important: After receiving your R&D tax credit package, you must provide the federal Form 6765 and any applicable state forms to your tax preparer so the credit can be included on your timely filed income tax return. The credit cannot be claimed retroactively on an original return — it must be included at filing (or via amended return for prior years).

I. How MainStreet Calculates Your R&D Credit

MainStreet conducts R&D tax credit analyses in accordance with IRC §41 and §174 of 1986 and related Treasury Regulations. The process includes both federal and state R&D credits where applicable.

1

Present Qualification Criteria

MainStreet provides the company with a summary of the statutory rules under §41, examples of qualifying activities, and informational material — including the four-part test — to assist with the company's understanding of applicable rules.

2

Collect Employee & Payroll Data

MainStreet collects all relevant employee information and payroll data. W-2 Box 1 wages are analyzed by employee. Contractor payments and supply costs are also reviewed for potential inclusion as QREs.

3

Subject Matter Expert (SME) Review

The company's Subject Matter Expert reviews each employee's job duties and identifies the percentage of time spent on qualifying research activities. The SME also identifies and certifies the number of qualifying business components.

4

Calculate QREs & Credit

MainStreet calculates the credit using both the Regular Credit and Alternative Simplified Credit (ASC) methods where possible, then completes Form 6765 using the method that yields the greater credit amount.

5

Deliver IRS-Ready Package

MainStreet delivers a complete R&D tax credit package including Form 6765 (Appendix A) and applicable state forms (Appendix B). This package goes directly to the company's tax preparer for inclusion in the return.

II. R&D Credit Qualification Criteria: The Four-Part Test

Under IRC §41(d)(1), qualifying research activities must satisfy all four of the following requirements. Activities do not need to be successful to qualify — what matters is the intent and process.

01

Permitted Purpose

The activity must aim to create or improve the functionality, quality, reliability, or performance of a product, process, software, technique, formula, or invention. Incremental improvements qualify.

02

Technological in Nature

The activity must be based on chemistry, physics, biology, engineering, or computer science. The information discovered needs to be new to your company — it does not need to exceed the knowledge of skilled professionals.

03

Elimination of Technical Uncertainty

At the outset of the activity, there must be genuine uncertainty about whether or how the result could be achieved — about capability (whether the result is achievable), method (what approach to use), or appropriate design.

04

Process of Experimentation

The taxpayer must evaluate one or more alternatives to resolve the uncertainty through a systematic trial and error process — including evaluating alternative designs, employing iterative testing, modeling, or simulation.

III. Qualified Research Expenses (QREs)

Once qualifying activities are identified, costs fall into four categories under IRC §41(b).

A. Qualified Wages

W-2 Box 1 wages for employees directly conducting, directly supervising, or directly supporting qualifying research. Substantially all rule: if 80%+ of activities are qualified, 100% of wages are included.

100% of qualifying wages

B. Qualified Supplies

Non-depreciable tangible personal property used in the conduct of qualified research — raw materials consumed in testing, prototype components, and lab materials used during experimentation.

100% of qualifying supplies

C. Cloud Computing

Third-party cloud computing costs for software development and testing environments. The computer or cloud resource must be owned and operated by someone other than the taxpayer.

100% of qualifying cloud costs

D. Contract Research

Amounts paid to outside vendors or contractors who conduct or support qualifying research on behalf of the taxpayer. Taxpayer must bear economic risk and retain substantial rights to results. Contract research where results transfer to client does NOT qualify.

65% of qualifying payments

IV. Federal R&D Tax Credit Calculation Methods

MainStreet calculates the credit using both methods where possible and uses whichever produces the larger credit amount.

MethodFormulaWhen Best
Regular Credit20% × (current QREs − base amount). Base amount = fixed-base % × average annual gross receipts for prior 4 years. Minimum base = 50% of current QREs.Companies with significant QRE history relative to gross receipts; typically benefits high R&D-intensity companies
Alternative Simplified Credit (ASC)14% × (current QREs − 50% of average prior 3-year QREs). If no prior-year QRE history exists: 6% of current-year QREs.Most companies — simpler calculation, no historical gross receipts needed; used by the majority of claimants
Result: The federal R&D credit typically equals approximately 6–8% of total Qualified Research Expenses when using the ASC method. For a company with $1 million in qualifying wages, that represents $60,000–$80,000 in direct tax savings.

V. The Section 280C Reduced Credit Election

For tax years beginning after 1988, taxpayers may elect to either: (a) adjust their IRC §174 deductions (reduce deductions by the full credit amount), or (b) take a reduced credit. This election — known as the 280C election — is made by checking Item A at the top of Form 6765.

Critical: The 280C election can only be made on a timely filed tax return (including extensions). The election is irrevocable and applies only to the tax year in which it is made. Failure to timely file Form 6765 forfeits the 280C election for that year.
  • When Item A is checked (280C elected): The taxpayer takes a reduced credit but is NOT required to reduce their §174/§174A deductions by the credit amount. Generally more favorable for companies with significant R&D deductions they want to preserve.
  • When Item A is NOT checked: The taxpayer takes the full credit but must reduce their allowable §174 deductions by the credit amount for that year.

VI. Payroll Tax Credit for Qualified Small Businesses

Qualified Small Businesses (QSBs) may elect to apply up to $500,000 of their annual R&D credit against employer FICA payroll taxes instead of income taxes — a critical benefit for pre-profit companies. A company qualifies as a QSB if it has:

  • Gross receipts of less than $5 million for the current tax year, and
  • No gross receipts for any tax year before the 5-year period ending with the current tax year

The Payroll Offset Flow: Form 6765 → 8974 → 941 → EFTPS

The payroll tax offset moves through four forms and systems. Each step hands off to the next:

StepForm / SystemWhat Happens
1. ElectForm 6765Elect §41(h) on a timely filed original return to apply up to $500,000 of credit to payroll taxes.
2. DetermineForm 8974After the return is filed, calculate the credit available to offset the employer payroll-tax share for the quarter.
3. ApplyForm 941Attach Form 8974 to the quarterly return; the offset reduces the 6.2% Social Security, then 1.45% Medicare share.
4. DepositEFTPSReduce your payroll tax deposits by the offset amount, realizing the cash benefit each quarter.
To activate the payroll tax offset: After your tax preparer files your income tax return with Form 6765, upload a copy of the filed return to your MainStreet dashboard. MainStreet will then generate Form 8974 for your quarterly payroll tax filings. This step is essential — it is how you actually receive the cash benefit.

New to the credit and pre-profit? See the pre-revenue startup checklist for the full eligibility walkthrough.

VII. Supporting Documentation Requirements

The IRS requires documentation showing each R&D project meets all four requirements of the four-part test. Maintain the following for each business component:

Permitted Purpose

  • Project descriptions or briefs
  • Product requirements documents
  • Statements from SMEs about project goals

Technical Uncertainty

  • Meeting notes on technical challenges
  • Design options considered
  • Post-mortem reviews of failed approaches
  • Pull request comments

Process of Experimentation

  • Sprint logs and iteration records
  • Test results and performance benchmarks
  • A/B test documentation
  • Design revision histories

Employee Time & Wages

  • Time tracking records by project
  • Payroll records (W-2 Box 1 wages)
  • Job descriptions and org charts

Contractor & Supply Costs

  • Contracts showing taxpayer bears economic risk
  • Invoices from qualifying contractors
  • Cloud computing invoices for dev/test

VIII. Qualifying vs. Non-Qualifying Activities

✓ Generally Qualifies

  • Understanding general technical requirements of a project
  • Evaluating technical specifications and design alternatives
  • Approving technical specifications (review of drawings, schematics)
  • Quoting — evaluating manufacturing processes to produce to documented specifications
  • Developing requirements or specs
  • Running benchmark programs to improve and experiment
  • Attending technical and design review meetings
  • Project management on R&D projects (developing and tracking schedules)
  • Providing feedback on A/B tests to development teams
  • Adjusting product requirements to meet resource constraints

✗ Generally Does Not Qualify

  • Relationship building or general sales activities
  • Developing advertising or marketing campaigns
  • Planning a trade show or staffing a booth
  • General management or administrative tasks
  • Customer support or client relationship management
  • Research conducted outside the United States
  • Research after commercial production begins
  • Adaptation of existing products to particular customer requirements

Frequently Asked Questions

The Regular Credit uses a fixed-base percentage times average gross receipts over the prior 4 years to compute a base amount. The ASC uses a simpler formula: 14% × (current QREs − 50% of the average of the prior 3 years' QREs). Most companies use the ASC because it requires no historical gross receipts data and is easier to calculate.
Yes. You may calculate your credit using both methods and elect whichever produces the larger credit on Form 6765. MainStreet does this automatically and uses the better result.
If you have no QREs in any of the prior 3 years, the credit is simply 6% of current-year QREs — no averaging required.
Form 8974 is the form used to apply the R&D credit against employer payroll taxes (Form 941). You file it starting in the quarter after your income tax return is filed. MainStreet generates Form 8974 after you upload your filed return to the dashboard.
Direct supervision means overseeing the conduct of qualifying research — for example, a technical lead who reviews code, manages an engineering team's R&D work, or approves architectural decisions. Administrative supervision (HR, general management) does not qualify.
Only to the extent they directly supervise qualifying research. A CTO who spends 30% of their time on direct technical supervision of R&D projects would have 30% of their wages included as QREs. General management time does not qualify.
Book Your Free Discovery Call