fbpx
Finance

Tax Planning Before You Sell Your SaaS

The federal government gives SaaS founders a way to exclude up to $15 million in capital gains from a company sale. The program is called Qualified Small Business Stock under Section 1202 of the tax code. Most founders I work with hear about it for the first time six months into a deal, when it is too late to optimize for it.

Tax planning for a SaaS exit is not something you do when you receive an offer. It is something you do 12 to 18 months before you go to market. The founders who keep the most from their exits are not the ones who got the highest headline number. They are the ones who started the tax conversation early enough to have options.

Do You Qualify for QSBS?

The most valuable line on your cap table may be one you have never analyzed.

QSBS applies to shares issued directly by a domestic C corporation when the company had gross assets under $75 million at the time of issuance. Under the One Big Beautiful Bill Act signed in July 2025, that asset cap increased from $50 million to $75 million. For stock issued before July 4, 2025, the maximum exclusion per founder is $10 million in gains (or 10 times your adjusted basis, whichever is larger). For stock issued after that date, the cap rises to $15 million.

$15M federal exclusion

Maximum capital gains a qualifying founder can exclude from federal income tax under updated QSBS rules, for stock issued after July 4, 2025. Earlier stock is capped at $10M or 10x basis. Source: IRS Section 1202, as summarized by Millan & Co. CPAs (December 2025).

The holding period requirement is staggered. Three years gives you a 50 percent exclusion. Four years gets you to 75 percent. Five years unlocks the full 100 percent federal gain exclusion. SaaS companies structured as C corporations typically qualify: software is a qualified trade or business under Section 1202, unlike consulting, law, or health services, which are explicitly excluded.

What disqualifies you: an LLC or S corporation structure (QSBS applies only to C corp shares). Secondary market stock purchases rather than original issuance. A company where less than 80 percent of assets are in a qualified business. Any of these require analysis before you assume eligibility.

Asset Sale vs Stock Sale: The After-Tax Number That Matters

Buyers prefer asset sales. Sellers almost always fare better in stock sales. That tension is a negotiation, not a given.

In a stock sale, you transfer your ownership interest. The entire gain is typically taxed at long-term capital gains rates: 20 percent federal for high earners, plus 3.8 percent net investment income tax. In California, add 13.3 percent state tax, bringing the blended rate to roughly 37 percent.

In an asset sale, the purchase price is allocated across asset categories. Goodwill qualifies for capital gains rates. But non-compete agreements, customer contracts, and some receivables are treated as ordinary income, taxed at up to 37 percent federally. On a blended basis, asset sales typically cost sellers 5 to 15 additional percentage points compared to stock sales on the same deal.

ScenarioStock Sale (CA founder)Asset Sale (CA founder)
Gross proceeds$10,000,000$10,000,000
Estimated blended tax rate~37%~44 to 48%
Estimated after-tax proceeds~$6,300,000~$5,200,000 to $5,600,000
QSBS exclusion possible?Yes, if qualifiedNo

That delta grows sharply when QSBS applies. A founder with $10 million in qualifying stock sale gains and a five-year hold could owe zero federal tax on that amount. The same deal structured as an asset sale eliminates the QSBS benefit entirely, since Section 1202 applies only to stock, not assets.

Buyers prefer asset deals because they receive a stepped-up basis in acquired assets, which produces larger depreciation deductions after close. That preference is their opening position, not a fixed requirement. The most effective time to push back is before signing an exclusivity agreement. When you can show a buyer the exact after-tax proceeds gap, many will share part of that spread through a higher purchase price to get the deal done.

The Tax Planning Timeline

This is where founders consistently leave the most money behind. Not because the rules are complicated. Because they start the conversation too late.

Key takeaway

Your best tax options close 12 to 18 months before you go to market. Not when you receive an offer. Exit prep and tax planning are the same timeline.

Eighteen or more months out: QSBS holding periods are still accumulating. A CPA can run the Section 1202 eligibility checklist across your cap table. Entity structure can be reviewed and disqualifying factors addressed. This is also when reducing owner dependency and cleaning up your financials belong on the same timeline as your tax review.

Twelve months out: An installment sale under Section 453 can be structured into your deal terms. You receive proceeds across multiple tax years, spreading the recognized gain and potentially reducing your effective rate if your income will be lower in future years.

Six months out: Most structural options are locked. Entity conversion is no longer practical. You can still model asset versus stock scenarios and negotiate, but the choices are narrower. If you are still weighing the real cost of waiting to sell, your tax position is part of that math.

Three months out or in an active deal: You are negotiating price allocation, earn-out structure, and payment timing. The framework you built earlier determines how much room you have. Founders who start here are optimizing at the margins. The fundamentals are already set.

Three Things Founders Actually Miss

The same patterns show up across deals where founders left significant money on the table.

The first is assuming QSBS eligibility without checking. “We are a software startup, so we probably qualify” is not an analysis. The asset test, business type test, and original issuance requirement each have failure modes. A Section 1202 eligibility review takes a few days with a qualified CPA. Most founders entering a process have never done one.

The second is accepting an asset sale without modeling the net proceeds difference. Buyers propose asset deals as a default. On a $5 million exit, the after-tax gap between an asset and stock sale commonly exceeds $350,000 to $500,000. That number does not appear in the term sheet. You have to calculate it yourself.

The third is not exploring installment sale structures. Many SaaS deals already include earn-outs. A Section 453 installment arrangement on the base purchase price is distinct from that. It spreads the recognized gain across tax years and is worth modeling when your current-year income is unusually high.

None of these require complex strategies. They require a CPA with M&A experience and a conversation that starts before you engage a banker. By the time you are working through what happens between LOI and close, the structural decisions are largely set. For a full picture of how to sell your SaaS company from first conversation to close, that post covers each stage.

This post is educational only. It is not legal or tax advice. Consult a qualified tax attorney or CPA before making decisions about your business sale.

Frequently Asked Questions

How are SaaS company sales taxed?

In a stock sale, the gain is typically taxed at long-term capital gains rates: 20 percent federal plus 3.8 percent NIIT, plus state taxes. In an asset sale, portions may be taxed as ordinary income at up to 37 percent federal. C corporation founders may qualify for QSBS under Section 1202, which can eliminate up to $15 million in federal capital gains entirely.

What is QSBS and how does it help when selling a business?

QSBS is Qualified Small Business Stock under Section 1202. It allows qualifying C corporation founders to exclude up to $15 million in federal capital gains from a sale (for stock issued after July 4, 2025). It applies only to stock sales and requires a minimum three-year hold for partial exclusion, five years for the full 100 percent federal exclusion.

Should I sell my business as an asset sale or stock sale?

Sellers almost always benefit more from a stock sale due to capital gains treatment and QSBS eligibility. On a $10 million deal, the after-tax difference between the two structures can reach $700,000 to $1,100,000 for a California founder, before QSBS. The right structure depends on entity type, eligibility, and negotiating position.

How far in advance should I do tax planning before selling?

Start 18 months before you plan to go to market. This gives you time to verify QSBS eligibility, confirm entity structure, and build toward the five-year full exclusion threshold. By six months out, most structural changes are no longer practical. The earlier you start, the more options remain.

Find Out What Your Exit Is Actually Worth After Tax

Most founders focus on valuation. The after-tax proceeds are what you actually keep. If you are 12 to 24 months from a potential exit, let’s model both your valuation and your tax position before you go to market.

Book a Free Value Assessment