IRC §41 · SaaS R&D Credits · Section 174 Documentation

R&D Tax Credits for SaaS Companies. Most Are Underclaimed.

Multi-tenant architecture, integration engineering, scalability work, and proprietary algorithm development qualify under IRC Section 41. Vertical SaaS, horizontal platforms, marketplaces, workflow automation, and API-first companies qualify right now. Section 174 amortization makes documenting the credit more important than ever.

How Does the Four-Part Test Apply to SaaS Companies?

The same four criteria that govern every R&D credit claim apply to SaaS companies. Multi-tenant architecture, integration engineering, scalability work, and algorithm development satisfy the test directly when the work involves genuine technical uncertainty. Every qualifying activity must pass all four under IRC Section 41. Select each step to see what it means for your company.

Most SaaS companies that qualify do not think of their engineering work as research. But if your team is engineering multi-tenant data isolation under performance constraints, building integration layers against legacy systems with unknown behavior, designing search or recommendation algorithms where the outcome is uncertain at the start, or scaling architecture under load conditions that have no obvious solution, the R&D credit likely applies right now.

Important: Section 174 Amortization Makes Documentation More Valuable, Not Less

Since 2022, Section 174 requires capitalization and amortization of research and experimental expenditures over 5 years for domestic R&D and 15 years for foreign R&D. This applies to most SaaS engineering costs and significantly increases current-year taxable income. The R&D credit partially offsets this impact by directly reducing tax liability on the same expenses. SaaS companies that previously skipped the credit because the documentation burden seemed disproportionate to the benefit now have a different calculus: the documentation is required for Section 174 anyway, and the credit captures real value from work that would otherwise just create a deferred deduction.

01
Permitted Purpose
02
Technological in Nature
03
Elimination of Uncertainty
04
Process of Experimentation

01. Permitted Purpose

The work must aim to develop or improve the functionality, performance, reliability, or quality of a process, technique, formula, or software component. SaaS companies meet this test through engineering faster query performance, more reliable multi-tenant data isolation, lower-latency real-time sync, more efficient search and recommendation systems, more robust integration architecture, or scalable concurrency under load. Experimental failure counts. Failed scaling approaches, rejected architecture patterns, and integration designs that did not meet performance thresholds all contribute qualifying research expenses.

Industry Example

A vertical SaaS team building a clinical workflow platform engineers a custom multi-tenant data isolation pattern to satisfy HIPAA segregation requirements without sacrificing query performance. Their first approach using row-level security in Postgres meets isolation requirements but creates unacceptable query latency at scale. A second approach using schema-per-tenant fails on cross-tenant analytics. A third approach combining schema isolation with a materialized analytics layer meets both targets after four iterations. All iterations qualify because the intent throughout was to improve technical performance under engineering uncertainty.

This prong is met by any SaaS team developing a technically better architecture, integration layer, algorithm, or platform component. Backend engineers, platform engineers, data engineers, and ML engineers all perform work that satisfies this test as part of their standard scope.

02. Technological in Nature

The work must rely on principles of computer science, mathematics, engineering, or physical science. SaaS engineering is inherently grounded in these disciplines: distributed systems theory, database systems, algorithm design, software architecture, and cryptography all satisfy this prong. Business decisions about pricing, packaging, customer segmentation, and go-to-market strategy do not qualify, but the engineering underlying the platform mechanics does.

Industry Example

A workflow automation platform engineers a novel DAG execution engine drawing on graph theory, distributed systems consensus, and queue scheduling research. A vertical SaaS team designs a custom search ranking algorithm using information retrieval theory and statistical learning principles. Both draw on recognized scientific and mathematical foundations and satisfy the technological prong directly.

The threshold is low for SaaS engineering because the scientific foundation is inherent to the discipline. Distributed systems, databases, algorithms, and software architecture all rest on established computer science principles.

03. Elimination of Uncertainty

The work must aim to eliminate uncertainty about the capability or method of achieving a technical result. SaaS development is dense with this kind of uncertainty: whether a multi-tenant database design will scale to the target tenant count, whether a real-time sync architecture will hold consistency guarantees under partial network failures, whether a recommendation algorithm will achieve the target relevance metric at the target latency, or whether an integration layer can hold throughput against a legacy system with poorly documented behavior.

Industry Example

An API-first platform company develops a novel webhook delivery system and does not know at the start whether their queue architecture and retry logic can achieve the target delivery success rate under load conditions involving customer endpoint flapping. The engineering team runs systematic load tests, adjusts the queueing and retry behavior through multiple iterations, and validates throughput against the defined reliability requirement. The uncertainty about the technical method is eliminated through the experimental process.

SaaS engineering frequently involves uncertainty about both capability (can this scale at all) and method (which architecture will hold the SLA). Either form of uncertainty qualifies.

04. Process of Experimentation

The work must involve a process of evaluating alternatives to eliminate technical uncertainty. This does not require a formal lab or a dedicated research team. In SaaS development, the experimental process is typically the engineering workflow itself: designing candidate architectures, running benchmarks and load tests, evaluating performance against defined criteria, and iterating on the data model, the algorithm, or the system architecture. Contemporaneous documentation of this process is the foundation of a defensible R&D credit study.

Industry Example

A two-sided marketplace team evaluates three different matching algorithm approaches before deploying their production matching engine. Each approach is benchmarked against historical transaction data with defined relevance and latency targets. Results are documented in architecture decision records and benchmark spreadsheets. The systematic evaluation of alternatives is the process of experimentation. The documentation of that process is what makes the credit defensible under examination.

Architecture decision records, benchmark logs, A/B test results against defined performance criteria, and load test comparisons all constitute experimental processes under IRC Section 41.

What SaaS Engineering Activities Qualify for R&D Tax Credits?

The credit rewards genuine technical development work under uncertainty. Routine feature work using established frameworks does not qualify, and overclaiming creates serious audit risk. The qualification standard is defined by the IRS research credit guidelines. Select each activity to see the full qualification requirement.
Documented technical uncertainty about how to isolate tenant data while meeting performance, compliance, or analytics requirements, combined with systematic evaluation of alternative architectural approaches. Qualifying work includes schema-per-tenant versus row-level isolation tradeoffs, custom data routing layers, tenant-aware query optimization, and analytics architectures that span tenant boundaries under technical uncertainty. Routine application of an established multi-tenant framework without architectural exploration is excluded. Backend and platform engineer wages allocated to architecture and implementation hours are the primary qualifying research expense.
Development of integration layers against legacy systems with poorly documented behavior, healthcare standards (FHIR, HL7), education systems (SIS), property management systems, ERP systems, or other complex external systems where the integration architecture itself involves technical uncertainty. Qualifying work includes custom data transformation engines, idempotency and consistency layers, error recovery architecture, and event-driven sync systems engineered under uncertainty about throughput, consistency, or behavior of the upstream system. Standard REST API integration against well-documented modern services is excluded.
Architecture and engineering work to scale the platform under load conditions where the existing approach has reached its limit and the path forward is technically uncertain. Qualifying work includes database sharding strategy development, caching architecture engineering, query optimization research under specific access patterns, async processing pipeline design, and concurrency model engineering. The qualifying activity is the engineering of a new approach under uncertainty, not the application of a textbook scaling pattern. Standard database tuning and routine query optimization using established techniques are excluded.
Development of proprietary algorithms for search ranking, recommendation systems, marketplace matching, fraud detection, content moderation, or other domain-specific decision systems where the algorithmic outcome is uncertain at the start. Qualifying work includes custom relevance models, novel feature engineering pipelines, ML model architecture and training infrastructure under technical uncertainty, and systematic A/B evaluation of alternative algorithmic approaches. Engineers and data scientists building these systems generate qualifying expenses across wages and cloud compute. Standard use of off-the-shelf ranking or recommendation services without novel algorithmic engineering is excluded.
Design and development of real-time collaboration systems, event-driven architectures, streaming data pipelines, webhook delivery infrastructure, and notification systems engineered under technical uncertainty about consistency guarantees, latency targets, or delivery reliability. The systematic evaluation of alternative architectural approaches (operational transform versus CRDT, push versus pull, queue topology choices) satisfies the process of experimentation requirement. Engineers building these systems generate qualifying expenses. Standard configuration of an existing message broker without architectural engineering is excluded.
Engineering of compliance and security architecture under technical uncertainty about how to meet domain-specific requirements. Qualifying work includes HIPAA-compliant audit logging and data isolation engineering, SOC 2 control implementation requiring novel architectural decisions, FERPA-compliant tenant separation, GDPR-compliant data lifecycle architecture, custom RBAC and ABAC engine development, and zero-trust architecture engineering. The qualifying work is the engineering of the technical control system, not the legal analysis underlying it. Standard implementation of vendor-provided compliance modules without architectural engineering is excluded.
Development of custom workflow engines, DAG execution systems, rules engines, low-code runtimes, custom DSLs, and proprietary platform layers engineered under technical uncertainty about correctness, performance, or expressiveness. Qualifying work includes the engineering of the runtime, the execution model, the persistence and recovery architecture, and the domain-specific language parsing and evaluation under uncertainty. Application development on top of an existing rules or workflow engine without engineering the engine itself is excluded.
Routine feature additions that follow established patterns, standard bug fixes against well-understood codebases, and incremental product enhancements that do not involve technical uncertainty about whether the approach will work do not qualify. The distinction is between feature work where the engineering team knew the approach at the start (excluded) and engineering work where the path forward was uncertain and required systematic evaluation of alternatives (qualifying). Most ticket-driven sprint work falls outside the qualifying scope.
Standard CRUD application development using established frameworks, routine wiring of well-documented APIs, and template-driven feature scaffolding do not qualify. Building a customer-facing form, a settings page, or an admin panel with standard framework patterns does not involve technical uncertainty about engineering capability. The same engineering team performing this work may also do qualifying architecture and integration work elsewhere. Only the qualifying work counts toward QREs.
User experience research, visual and product design, front-end styling and layout work, and standard component library application do not qualify under IRC Section 41. The credit applies to engineering work involving technical uncertainty about how to achieve a technological result, not to design work involving uncertainty about user preference or visual outcome. Front-end engineering work involving novel architecture (state management at scale, real-time UI consistency under technical uncertainty) may qualify when the engineering uncertainty is genuine.
Under IRC Section 41, contract research performed outside the United States does not qualify as a qualified research expense. Engineering wages paid to offshore employees and contractors are excluded regardless of the technical merit of the work. Only U.S.-based employee wages and U.S.-based contractor payments (at 65%) qualify. Many SaaS companies have a hybrid engineering structure with U.S. senior engineers and offshore implementation teams. The U.S. spend is what generates the credit.
Configuring commercial third-party platforms per vendor documentation, deploying off-the-shelf SaaS components, and routine cloud infrastructure provisioning using established patterns are excluded. Off-the-shelf platforms deployed using established methodology do not involve technical uncertainty about capability. The distinction is between configuring a commercial system (excluded) and developing novel platform infrastructure, custom architectural layers, or in-house tooling that does not exist in the commercial market (potentially qualifying).
Qualifies Under Specific Conditions
Cloud compute and infrastructure costs: Cloud compute, GPU costs, and managed service expenses qualify when consumed in qualifying engineering work (model training, load testing, integration development) and when those costs are specifically allocable to the qualifying activity. Routine production hosting and customer-serving infrastructure costs are excluded. The allocation methodology is documented in the engagement.
Open-source contributions and library development: Engineering work on open-source projects qualifies when performed by employees or contractors paid by the claiming company under a qualifying arrangement. The open-source nature of the output does not disqualify the research activity. The company must retain rights to the work product during the development period.
Outside contractor and consultant engagements: Qualifying U.S.-based contractor work is included at 65% of amounts paid when the hiring company retains substantial rights to the work product and bears the financial risk of the engagement. Standard outsourced development work where the contractor retains IP rights or where the client does not bear research risk does not qualify.

Which SaaS Sub-Sectors Generate the Strongest Credits?

Vertical SaaS, horizontal SaaS, workflow automation, API-first platforms, and marketplace software all qualify when the engineering work involves genuine technical uncertainty and a systematic evaluation of alternatives. Select your sub-sector to see the specific qualifying activities and typical QRE breakdown for your company type.

Each sub-sector below includes the qualifying activities, the typical expense breakdown, and the primary exclusion. Select your company type.

Vertical SaaS: Healthtech, EdTech, LegalTech, PropTech, HRTech, MarTech, RetailTech, ConstructionTech

  • Multi-tenant architecture engineered to satisfy domain-specific compliance requirements (HIPAA, FERPA, SOC 2, PCI) where standard isolation patterns do not meet the regulatory or performance bar, including custom data segregation, audit logging architecture, and encryption-at-rest strategies developed under technical uncertainty
  • Integration engineering against legacy industry systems with poorly documented behavior, including FHIR/HL7 healthcare integration, SIS education system integration, ERP and property management system integration, and custom data transformation engines built under uncertainty about throughput, consistency, or behavior of the upstream system
  • Domain-specific algorithm and decision system development, including clinical decision support engines, contract intelligence and clause extraction NLP models, property valuation models, and industry-specific search and ranking algorithms developed under technical uncertainty
  • Industry-specific workflow and case management engine engineering, including clinical workflow orchestration, legal matter management, claims processing, and educational assessment platforms designed under uncertainty about correctness, scale, or domain modeling completeness
  • Data pipeline and analytics engineering for vertical-specific datasets, including healthcare data lakes, educational analytics platforms, and regulated-industry reporting pipelines built under uncertainty about consistency, performance, or compliance constraints
Does not qualify: Standard administrative interface development, routine forms and dashboards using established framework patterns, and configuration of vendor-provided compliance modules without architectural engineering.

Horizontal SaaS and Productivity: CRM, Project Management, Collaboration, Productivity, Communication

  • Real-time collaboration architecture engineering, including operational transform versus CRDT architecture decisions, conflict resolution algorithm development, and presence and cursor synchronization systems built under technical uncertainty about consistency at scale
  • Search, filtering, and ranking algorithm development for productivity and CRM data, including custom relevance models, novel feature engineering for predictive scoring, and ML-driven workflow suggestions developed under uncertainty about accuracy and latency
  • Multi-tenant architecture for productivity workloads where standard tenant isolation patterns do not meet performance, customization, or analytics requirements, including tenant-aware query optimization and analytics architectures spanning tenant boundaries
  • Notification, scheduling, and event-driven architecture engineering, including delivery reliability under partial failures, deduplication systems, and complex scheduling and recurrence logic developed under uncertainty about consistency guarantees
  • Permission, access control, and admin architecture engineering, including custom RBAC and ABAC engines, hierarchical permission inheritance models, and audit logging architectures developed under uncertainty about correctness at scale
Does not qualify: Standard form-based feature development using established framework patterns, routine UI work, and configuration of off-the-shelf collaboration components without architectural engineering.

Workflow Automation and Orchestration: BPM, Low-Code/No-Code, RPA-Adjacent, Integration Platforms

  • DAG execution engine and orchestration runtime engineering, including custom scheduling models, parallel execution strategy development, and recovery and idempotency architecture built under technical uncertainty about correctness and throughput
  • Custom DSL and rules engine development, including parser and interpreter engineering for domain-specific languages, expression evaluation systems, and validation engines developed under uncertainty about correctness, performance, or expressiveness
  • Integration framework and connector engineering at scale, including standardized authentication abstractions across heterogeneous APIs, paginated synchronization architectures, and event-driven integration patterns built under uncertainty about consistency and reliability
  • Low-code runtime and visual builder engineering, including model-to-runtime translation, custom component composition systems, and live-preview rendering architectures developed under uncertainty about performance and correctness
  • State machine, retry, and error handling architecture, including durable workflow engines, custom checkpointing systems, and saga or compensation pattern engineering for long-running processes built under uncertainty about correctness under failure conditions
Does not qualify: Building applications on top of an existing workflow or rules engine without engineering the engine itself, standard configuration of an off-the-shelf integration platform, and routine connector wiring against well-documented APIs.

API-First and Platform Software: Headless Platforms, API Products, CPaaS, Infrastructure SaaS, Developer Tools

  • Distributed systems engineering for API platform reliability, including novel sharding strategies, consensus and replication architecture, and multi-region active-active design developed under technical uncertainty about consistency and latency tradeoffs
  • API design and architecture engineering for headless and embedded platforms, including custom GraphQL execution engines, novel webhook delivery systems, and SDK design under uncertainty about developer experience and integration surface area
  • Throughput, latency, and load engineering at scale, including custom load balancing strategies, queue topology development, and rate limiting and quota architecture developed under uncertainty about behavior under burst conditions
  • Observability, telemetry, and reliability tooling engineering, including custom tracing systems, novel metrics aggregation architectures, and reliability instrumentation built under technical uncertainty about overhead, completeness, and signal quality
  • Developer experience and tooling engineering, including SDK code generation systems, novel local-development emulators, and CLI architecture developed under uncertainty about correctness, performance, and ergonomics
Does not qualify: Wrapper libraries that expose existing API endpoints without novel engineering, standard configuration of a commercial API gateway, and routine SDK updates that implement already-specified interface changes.

Marketplace and Network Platforms: Two-Sided Marketplaces, Gig Economy, Network-Effect Businesses

  • Matching algorithm and ranking engine development, including supply-demand matching under multi-objective optimization, time-and-location-aware dispatch algorithms, and ranking systems developed under uncertainty about relevance, fairness, and latency
  • Pricing, surge, and dynamic incentive engine engineering, including real-time price computation under load, novel incentive optimization models, and quota and budget management systems developed under technical uncertainty about behavior at scale
  • Trust, fraud, and risk system engineering, including novel signal aggregation architectures, ML-driven risk scoring under technical uncertainty, custom dispute resolution platforms, and account integrity systems developed under uncertainty about accuracy and adversarial robustness
  • Real-time location, dispatch, and logistics engineering, including custom geospatial indexing, ETA prediction models, and routing optimization architectures developed under uncertainty about latency and accuracy
  • Payment, payout, and split-tender architecture engineering, including custom escrow and split-payment systems, multi-party settlement engines, and reconciliation architectures developed under technical uncertainty about correctness and reliability
Does not qualify: Standard e-commerce platform configuration, routine catalog and listing administration, and integration with off-the-shelf payment providers without novel architectural engineering.

R&D Tax Credit Examples for SaaS Companies

The engineering teams who qualified without knowing they were doing R&D. The following scenarios illustrate how qualifying activities appear in real SaaS company settings. Activity patterns and qualifying expense structures are drawn from typical engagement experience. Select the scenario that matches your company type.
Scenario 1: Vertical SaaS, Healthtech

When the Standard Multi-Tenant Pattern Could Not Hold HIPAA Isolation Without Crashing Query Performance

An $8,000,000 ARR clinical workflow platform serving multi-specialty medical practices identified a structural problem: their existing row-level-security multi-tenant pattern was meeting HIPAA data isolation requirements but creating query latency that made the analytics layer unusable for their largest customers. Their backend platform team spent 11 months evaluating four alternative tenant isolation architectures (schema-per-tenant, hybrid schema with shared analytics, partitioned tables with tenant-aware routing, and a custom data routing layer) across a defined benchmark cohort of 14 representative workload patterns drawn from production traffic. The team built two working implementations and ran adversarial isolation tests on each before committing to the final design.

The work grew naturally from product engineering, not labeled research. Architecture decision records, the benchmark logs comparing the four candidate architectures across the 14 workload patterns, and the rejected implementation branches all formed contemporaneous proof of experimentation. The team described the project as "fixing the analytics layer." aecre's technical interview process identified the qualifying experimental structure within that description and built the proof of experimentation documentation around it.

Qualifying Expenses

Backend platform engineer, database engineer, and FHIR integration engineer wages allocated to development hours across the 11-month program. Cloud compute and database infrastructure costs allocated to benchmark testing and adversarial isolation simulation. Outside HIPAA security consultant retained at 65% with rights retention.

Key Documentation Signal

The benchmark comparison spreadsheet showing query latency, tenant isolation correctness, and analytics throughput across all four candidate tenant architectures against the 14-workload benchmark. This record demonstrated systematic evaluation of alternatives with measured outcomes, not iterative implementation against a single chosen approach.

Scenario 2: Vertical SaaS, LegalTech

When the Off-the-Shelf NLP Models Could Not Reliably Extract Indemnification Clauses From Heterogeneous Contract Layouts

A Series B contract intelligence platform serving in-house legal teams identified a gap during enterprise pilots: their existing pipeline using off-the-shelf NLP models was extracting standard contract clauses well but failed reliably on indemnification, limitation of liability, and IP assignment clauses where layout and language varied significantly across contract types. Their machine learning and platform engineering team spent 13 months developing a custom extraction pipeline, evaluating three alternative model architectures (a fine-tuned encoder approach, a retrieval-augmented generation pipeline, and a custom span-based extractor) and four data labeling strategies across a defined evaluation cohort of 1,200 enterprise contracts spanning eight contract types. They built working implementations of each and measured precision, recall, and processing cost.

The team had no internal R&D classification for the work. They considered it "fixing extraction quality." But the documented technical uncertainty about whether any of the candidate model architectures would meet the precision threshold required for legal review use, the systematic evaluation of alternative architectures and labeling strategies against the 1,200-contract evaluation cohort, and the outside legal annotation contractor engagement at 65% all met the criteria for qualifying research expenses under IRC Section 41.

Qualifying Expenses

Machine learning engineer, NLP engineer, and platform engineer wages during the 13-month development phase. GPU compute costs allocated to model training and evaluation experiments. Outside legal annotation contractor retained at 65% with rights retention to the labeled corpus.

Key Documentation Signal

The model evaluation spreadsheet showing precision, recall, and processing cost across the three candidate architectures and four labeling strategies against the 1,200-contract evaluation cohort. This record demonstrated systematic, alternative-driven evaluation rather than iterative refinement of a single chosen approach.

Scenario 3: Workflow Automation Platform

When the Existing DAG Execution Engine Could Not Hold Idempotency Guarantees on Long-Running Workflows With External Side Effects

A 28-person workflow automation platform serving operations teams identified a structural problem: their existing DAG execution engine handled simple stateless workflows correctly but could not hold idempotency guarantees on long-running workflows that included external API calls with side effects. Customer-facing failures during partial network outages were eroding platform trust. Their platform engineering team spent 10 months designing a novel durable execution architecture, evaluating four alternative approaches (event-sourced state replay, Saga compensation patterns, custom checkpoint-and-resume engine, and a hybrid model) across a defined adversarial test cohort of 22 failure scenarios spanning network partitions, API timeouts, and worker crashes. They built working implementations of two of the four candidates and ran adversarial chaos tests on each.

The work was performed under contract pressure from enterprise customers requiring specific reliability SLAs. The team described the work as "rebuilding the execution layer" and never framed it as research. Architecture decision records, the rejected implementation branches, the chaos test logs, and the engineering memoranda comparing recovery semantics across approaches all formed contemporaneous proof of experimentation that aecre identified during the technical interview.

Qualifying Expenses

Platform engineer, distributed systems engineer, and reliability engineer wages allocated to development hours across the 10-month program. Cloud compute and chaos test infrastructure costs allocated to adversarial simulation and recovery semantic testing. Outside distributed systems consultant retained at 65% with rights retention.

Key Documentation Signal

The chaos test results across the 22-failure-scenario cohort comparing recovery correctness, latency, and operator complexity across the four candidate execution architectures. This record demonstrated systematic evaluation of alternatives under defined adversarial conditions, not iterative refinement of a single chosen approach.

Scenario 4: API-First Infrastructure Platform

When the Standard Webhook Delivery Pattern Could Not Meet the Reliability Target Under Customer Endpoint Flapping

A 19-person API-first infrastructure platform identified a customer-facing reliability problem: their standard webhook delivery pattern was achieving acceptable success rates under normal conditions but degrading sharply when customer endpoints were unhealthy or unreachable, with retries either overloading customer infrastructure or dropping events silently. Their distributed systems team spent eight months designing a novel adaptive delivery architecture, evaluating five alternative approaches (exponential backoff with jitter, adaptive rate based on customer endpoint health signals, circuit breakers with shadow traffic, queue-per-customer with isolation, and a hybrid attestation model) across a defined benchmark cohort of 16 customer endpoint behavior patterns drawn from production telemetry. The team built three working implementations and ran sustained load tests against simulated unhealthy endpoints.

The team thought of the work as a reliability project, not research. But the documented technical uncertainty about whether any of the candidate delivery architectures would hold the customer reliability SLA without overloading downstream infrastructure, the systematic evaluation of alternatives across the 16-pattern benchmark, and the comparative load test results all met the criteria for qualifying research expenses under IRC Section 41.

Qualifying Expenses

Distributed systems engineer, platform engineer, and reliability engineer wages during the eight-month development phase. Cloud compute and load test infrastructure costs allocated to sustained adversarial benchmark testing. Outside reliability consultant retained at 65% with rights retention.

Key Documentation Signal

The load test result spreadsheet comparing delivery success rate, latency, and downstream load impact across the five candidate delivery architectures against the 16-endpoint behavior benchmark. This record demonstrated systematic, alternative-driven evaluation rather than iterative tuning of a single chosen retry policy.

Scenario 5: Two-Sided Marketplace Platform

When the Default Matching Algorithm Created Unacceptable Wait Times for the Largest Cohort of Buyers

A two-sided marketplace serving a regional services category identified a structural problem during scaling: their default greedy matching algorithm was creating long wait times for buyers in dense urban areas with high request volume, while leaving suppliers idle in adjacent zones. The supply imbalance was eroding marketplace liquidity. Their platform engineering and data science team spent 12 months developing a novel multi-objective matching engine, evaluating three alternative algorithm families (optimization-based bipartite matching with constraint relaxation, reinforcement-learning-based dispatch, and a heuristic dispatch with predictive supply rebalancing) across a defined simulation cohort of 18 historical demand patterns spanning peak and off-peak conditions. The team built working implementations of each and ran adversarial simulations measuring match success rate, wait time, supplier utilization, and computational cost.

The team described the work in operations and matching terms (dispatch quality, supply utilization, wait time) and never connected it to research and development tax framing. aecre's technical interview process identified the qualifying experimental structure across the 12-month program and built the documentation file around the existing engineering artifacts: simulation logs, algorithm comparison memoranda, and the production A/B test results that the team had already produced.

Qualifying Expenses

Platform engineer, data scientist, and dispatch engineer wages allocated to development hours across the 12-month program. Cloud compute costs allocated to historical simulation and reinforcement learning training. Outside operations research consultant retained at 65% with rights retention.

Key Documentation Signal

The simulation result comparison showing match success rate, wait time, supplier utilization, and computational cost across the three candidate matching algorithm families against the 18-demand-pattern test set. This record demonstrated systematic evaluation of alternative approaches with measured outcomes, not iterative tuning of a single chosen algorithm.

How Much Is the R&D Tax Credit Worth for Your SaaS Company?

The federal credit typically equals 6% to 10% of qualifying research expenses. For SaaS companies, those expenses include engineer wages allocated to qualifying development activities, cloud compute consumed in qualifying work, and 65% of qualifying U.S. contractor costs where rights are retained. Select your company type and enter wages below to calculate a real-time estimate.
1 Your company type
Common qualifying activities for this company type
2 Total annual W-2 wages
$
All employees. The estimator calculates the qualifying portion based on your company type.
3 Quick qualification check
Has your engineering team built architecture, integrations, or platform components where the technical outcome was uncertain at the start?
Were alternative architectures or approaches evaluated and compared, not just one proven framework applied to a new project?
Was the development work funded by the company, not primarily by government grants or external research sponsors?
Is your company for-profit and based in the United States?
Estimated Annual Federal Credit
$--- to $---
Select your company type and enter W-2 wages to calculate.
4-year look-back total (current + 3 prior open years)
$--- to $---
Qualification check

Answer the quick check questions to see if your company qualifies.

This estimate is based on W-2 wages only. Companies with qualifying cloud compute costs, outside contractor costs, or security audit expenses will typically see a higher credit.
Estimate based on typical SaaS sector QRE ratios and federal credit rates. Actual credit depends on your specific qualifying activities, R&D history, and which calculation method applies. State credits not included in this estimate.
Credit vs. Deduction
Entity type:
Tax Credit
$100,000
Reduces your tax bill directly
vs
Equal Deduction (37% rate)
$37,000
Tax savings on same amount

Most SaaS pass-through entities (S-Corps, partnerships, LLCs) see the full credit benefit at individual rates. Nearly 40 states stack additional credits on top of the federal credit. The federal number is the floor.

How the R&D Credit Study Works for SaaS Companies

SaaS R&D studies require a technical interview approach that matches how engineers actually describe their work. Engineers think in terms of architecture decisions, system design tradeoffs, and performance benchmarks, not research activities. Our team identifies the qualifying experimental structure within that language and builds the documentation around it.
1
Discovery and Scoping
We assess your qualifying activities and expenditure structure to estimate credit value and identify the strongest QRE categories for your company type. No cost, no obligation. This conversation takes 30 minutes.
3
Credit Calculation
We identify all qualifying research expenses, apply both the Regular Credit and Alternative Simplified Credit methods, and determine the optimal approach. QRE allocation separates qualifying engineering development time from routine product maintenance, customer-facing feature work, and operations. U.S.-based contractor payments are included at 65%. Cloud compute consumed in qualifying work is allocated. State credits are identified across all applicable jurisdictions.
4
Filing and Audit Support
We deliver a complete, CPA-ready package: documented qualifying activities, QRE calculations, Form 6765 preparation, and full audit-defense documentation. We work directly alongside your CPA and retain the substantiation file on every engagement.

R&D Tax Credit FAQ for SaaS Companies

Yes. The R&D tax credit under IRC Section 41 applies to companies performing qualifying research activities, and SaaS engineering work meets the four-part test directly when the team is solving genuine technical problems rather than implementing established patterns. Multi-tenant architecture, integration engineering under technical uncertainty, scalability and performance work, and proprietary algorithm development all qualify. Most SaaS companies underclaim because the work reads as routine product development rather than research.
Work qualifies when it involves technical uncertainty, experimentation, and a qualified purpose related to developing or improving software functionality, performance, or reliability. Multi-tenant architecture engineering, novel integration patterns, scalability and concurrency work, search and recommendation algorithm development, real-time and event-driven architecture, and security and access control engineering all qualify. Routine feature additions, standard CRUD development, and UX design work generally do not. See the full activity breakdown above for the complete breakdown by sub-sector.
Often yes, depending on the technical uncertainty involved. Custom integration engineering against legacy systems with poorly documented behavior, novel API design solving fundamental data consistency problems, or feature work that required engineering through unknown technical constraints all qualify. The standard is whether the engineering team faced uncertainty about whether the approach would work, not whether the feature was customer-requested. Routine API wiring against well-documented modern services typically does not qualify.
Section 174 now requires capitalization and amortization of research and experimental expenditures over 5 years for domestic R&D and 15 years for foreign R&D. This applies to most SaaS engineering costs and significantly increases current-year taxable income. The R&D credit partially offsets this impact by directly reducing tax liability on the same expenses. For SaaS companies, the credit has become more valuable post-Section 174, not less. Documentation of which engineering activities qualify under Section 174 dovetails directly with R&D credit substantiation: the same engineering analysis supports both.
Yes. Under IRC Section 41, contract research performed outside the United States does not qualify as a qualified research expense. Engineering wages paid to U.S.-based employees and contractors do qualify. Many SaaS companies have a hybrid engineering structure with U.S. senior engineers and offshore implementation teams. The U.S. spend is what generates the credit, and the qualifying base is often more meaningful than founders expect when the senior engineering work is U.S.-based.
The credit is calculated on qualifying research expenses (QREs), which include domestic engineer wages, supplies, cloud compute consumed in qualifying work, and 65% of qualifying U.S. contractor payments. There are two methods: the Regular Credit Method (20% of QREs above a base amount) and the Alternative Simplified Credit (14% of QREs above 50% of the prior three-year average). For newer SaaS companies without a long QRE history, the ASC method often produces a higher credit. aecre runs both calculations and recommends the better outcome.
Yes. Nearly 40 states offer R&D tax credits that stack on top of the federal credit. The state credit is calculated separately and uses the same qualifying expense base in most states. SaaS companies operating across multiple states may qualify for credits in each state where qualifying engineering work occurs. The combined federal and state credit significantly increases the total benefit.
Yes. Vertical SaaS companies in healthtech, legaltech, proptech, edtech, HRtech, martech, retailtech, and constructiontech all routinely qualify. The credit applies to the engineering work, not the industry the software serves. Vertical SaaS often has stronger technical-uncertainty narratives than horizontal SaaS because integration with legacy industry systems, domain-specific compliance engineering, and industry-specific algorithm development all involve genuine technical problems with no off-the-shelf solution.
The process starts with a 30-minute feasibility assessment at no cost. If the assessment confirms qualifying activities, we conduct a technical interview with your engineering leads to identify and document QREs. We work from your existing artifacts: architecture decision records, design documents, sprint logs, and engineering memoranda. The documentation package is built to withstand IRS scrutiny and includes a technical narrative, qualified purpose statements, and contemporaneous project documentation. The entire process is partner-led and does not require your team to produce documentation from scratch.
The look-back period is three years. You can amend the three prior open tax years in addition to the current filing year. For SaaS companies that have been engineering at scale for multiple years without claiming the credit, the prior-year look-back is often the highest-value component of the initial engagement. aecre conducts multi-year look-back studies in every engagement. Qualifying expenses from those prior years generate credits that carry forward for up to 20 years if not immediately usable against tax liability.

Find Out If Your Company Qualifies

The feasibility conversation takes 30 minutes. We assess your qualifying activities, estimate credit value, and tell you plainly whether a study makes sense for your company. No commitment, no cost.

Book a Free Assessment

We respond within one business day. Partner-led from first conversation through filing.

Get in Touch Directly

Brandon
Business Development
Taylor
Technical Delivery, PE
We respond within 1 business day