How Do I Calculate Gross Profit Per Deal?
How Do I Calculate Gross Profit Per Deal?
Direct Answer
Gross profit per deal tells you what each closed sale actually contributes after the direct costs of delivering it, which is the number that should drive discounting and commission decisions. The formula is Gross Profit Per Deal = Deal Revenue - Cost of Goods Sold (COGS) for That Deal, and the margin version is Gross Margin % = (Gross Profit / Deal Revenue) x 100.
COGS includes only the direct costs of delivering that specific deal: hosting and infrastructure for a SaaS seat, third-party software passed through, implementation labor, and direct support - not sales salaries or marketing, which are operating expenses. Worked example: a deal closes at $48,000 in annual contract value; cloud and third-party costs to serve it are $6,000, implementation labor is $4,000, and direct support is $2,000, so COGS is $12,000 and gross profit per deal is $48,000 - $12,000 = $36,000, a 75% gross margin.
That 75% sits right in the 2027 SaaS benchmark band of 70-85% gross margin; below 70% you are usually carrying too much services or infrastructure cost per deal. Knowing this per deal lets you cap discounts before a deal goes margin-negative and pay commission on profit rather than raw revenue.
The discipline that makes this number trustworthy is consistent cost tagging: decide once whether implementation labor, partner referral fees, and premium support count as COGS, then apply that definition to every deal so margins are comparable across the book. PULSE has a free [Gross Profit Calculator](/tools/gross-profit-calculator) that does this for you.
The Top 10 Tools to Calculate Gross Profit Per Deal
These tools pull deal revenue and direct costs together so you see true profit on every sale, not just top-line bookings.
1. QuickBooks Online 🏆 BEST OVERALL
QuickBooks Online is the most widely used tool for tying revenue, COGS, and gross profit together at the transaction level for SMBs. You tag costs to jobs or projects and run a profit-by-project report that gives you gross profit per deal without exporting anything.
Pricing is per-company, not per-seat: $38-$76/mo across Plus and Advanced tiers, with project profitability on Plus and up. The class- and project-tracking features are exactly what you need to isolate per-deal COGS.
It ranks first because it combines real accounting accuracy with per-deal profitability reporting at a price any small SaaS or services firm can afford. The practical workflow is to set up your direct-cost categories - hosting, third-party pass-through, implementation labor, direct support - as classes, tag every expense to the deal or project it serves, then run the Profit and Loss by Project report to see gross profit and margin per deal without touching a spreadsheet.
Because the numbers come straight from your books, they survive an audit and a board review. Best for SMBs that want audited-grade gross profit numbers.
2. Google Sheets / Excel 💎 BEST VALUE
A simple sheet with revenue, COGS line items, and the gross-profit formula is the cheapest accurate way to calculate profit per deal. Free on Google Workspace or bundled with Microsoft 365 ($6-$12.50/user/mo), and fully transparent.
You build one row per deal with infrastructure, services, and support cost columns, then the formula returns profit and margin instantly. The limit is manual data entry and no live CRM sync.
It is the value pick because nothing beats free-and-accurate for teams under a few hundred deals a year. Build it with a header row of cost categories - infrastructure, third-party software, implementation hours times loaded labor rate, support - and a formula column that subtracts total COGS from revenue and divides for margin.
Add conditional formatting that turns a row red when margin drops below your floor, and the sheet doubles as a discount guardrail. Best for early-stage teams modeling per-deal economics before buying software.
3. HubSpot Sales Hub (Custom Deal Properties)
HubSpot lets you add custom cost properties to each deal and a calculated property for gross profit, so margin shows on the deal record next to the close amount. Reps and managers see profitability live in the pipeline.
Sales Hub runs $20-$150/user/mo across Starter, Professional, and Enterprise (calculated properties need Professional+). The advantage is profit data living where deals already do.
The calculated-property approach means a manager scanning the pipeline can immediately spot a deal that is closing at a healthy ACV but a thin margin because services costs ballooned, and intervene before it is signed. It keeps the profit conversation in the same view as the revenue conversation.
Best for HubSpot-native teams that want margin visible in the CRM.
4. Salesforce CPQ
Salesforce CPQ calculates cost, price, and margin per quote line as reps build the deal, flagging margin-killing discounts before the quote goes out. It enforces margin floors automatically.
CPQ is an add-on at roughly $75/user/mo on top of Sales Cloud. It is the strongest option for stopping bad-margin deals at quote time rather than discovering them after close.
Best for Salesforce orgs with complex pricing that need margin guardrails at quoting.
5. NetSuite
NetSuite ties deal revenue to project and inventory COGS in a full ERP, giving precise gross profit per deal across product and services lines. It is the heavyweight for companies that have outgrown QuickBooks.
Pricing is quote-based, generally $999+/mo base plus ~$99/user/mo. It is a real investment, justified once you need ERP-grade cost allocation.
Its strength is allocating shared infrastructure and support costs across many deals with rules rather than manual tagging, so per-deal margin stays accurate even as deal volume climbs into the thousands. Best for scaling companies that need ERP-level per-deal profitability.
6. Xero
Xero offers project and job profitability similar to QuickBooks, with clean tracking of revenue against direct costs per engagement. Its reporting makes per-deal margin easy to surface.
Pricing runs $20-$80/mo per organization across tiers, with Projects on higher plans. It is a strong QuickBooks alternative, especially outside the US.
Best for services-led SaaS firms wanting clean project profitability.
7. DealHub
DealHub is a CPQ platform that calculates margin per deal in real time as quotes are configured, with approval workflows when margin drops below threshold. It surfaces profitability during negotiation.
Pricing is quote-based, typically in the $50-$100/user/mo range. It is a focused CPQ alternative to Salesforce CPQ for mid-market.
Best for mid-market teams wanting margin-aware quoting without the full Salesforce stack.
8. Mosaic
Mosaic is a strategic-finance platform that pulls from your CRM and accounting system to show gross profit and margin by deal, segment, and cohort. It is analysis-first rather than transaction entry.
Pricing is quote-based, generally starting around $1,000+/mo. It is for finance teams that want deal-level margin trends, not just one-off calculations.
Where Mosaic earns its keep is pattern detection - it shows whether margin is eroding in a particular segment, deal size, or sales rep, so you can fix the structural cause rather than chasing individual thin deals. Best for RevOps and finance teams analyzing margin patterns across the deal base.
9. Maxio (formerly SaaSOptics + Chargify)
Maxio specializes in SaaS revenue and margin analytics, calculating gross profit per contract with subscription COGS allocation built in. It understands recurring-revenue economics natively.
Pricing is quote-based, usually starting around $599+/mo. It is purpose-built for subscription businesses that need accurate per-contract margin.
It allocates recurring hosting and support cost across the contract term automatically, so a multi-year deal shows accurate margin in every period rather than front-loading all the cost into year one. Best for SaaS companies that want subscription-aware gross profit reporting.
10. Zoho Books
Zoho Books provides project profitability and COGS tracking at a low price point, calculating gross profit per project or deal with solid reporting. It is the budget end of real accounting software.
Pricing is $0-$275/mo per organization across tiers (free for very small revenue). It integrates tightly with the rest of the Zoho suite.
Best for budget-conscious small businesses already in the Zoho ecosystem.
How to Choose
- Define COGS consistently first. Decide exactly which costs count as direct (hosting, services, support) before picking a tool, or every number will be inconsistent.
- Match the tool to deal volume. Under a few hundred deals, a sheet or QuickBooks is fine; past that, ERP or SaaS-billing tools earn their cost.
- Decide where margin needs to appear. If reps must see margin while quoting, you need CPQ; if finance just needs reporting, an accounting or analytics tool works.
- Prioritize subscription awareness for SaaS. Maxio and NetSuite handle recurring COGS allocation that generic tools miss.
- Check CRM connectivity. Profit data is far more useful living on the deal record than in a separate report, where reps and managers can see it during the deal rather than discovering thin margins after close.
- Separate one-time from recurring costs. Implementation labor is usually a one-time cost while hosting recurs, so allocate them differently or the first-year margin will look artificially low; tools built for subscriptions (Maxio, NetSuite) handle this distinction natively.
- Audit your cost tagging quarterly. The most common gross-profit error is incomplete COGS - forgetting to allocate a chunk of hosting or support - which inflates margin and leads to overly aggressive discounting; review the tagging discipline every quarter regardless of which tool you use.
FAQ
What counts as COGS in a SaaS deal? Only the direct costs of delivering that specific deal: cloud hosting and infrastructure for the seats sold, pass-through third-party software, implementation labor, and direct customer support. Sales salaries, marketing, and G&A are operating expenses, not COGS.
What is a healthy gross margin per deal in 2027 SaaS? The benchmark band is 70-85% gross margin for product-led SaaS. Services-heavy deals run lower, often 40-60%, because implementation labor is a much larger share of cost.
Should I pay commission on gross profit or revenue? Paying on gross profit aligns reps with deals that actually contribute, and it discourages margin-destroying discounts. Many SaaS teams use revenue for simplicity but apply margin floors via CPQ to protect profitability.
How do I stop reps from discounting below profitable margins? Use a CPQ tool like Salesforce CPQ or DealHub that calculates margin in real time and triggers an approval workflow when a discount pushes margin below your floor. That stops the bad-margin deal before the quote is sent.
Bottom Line
Gross profit per deal is revenue minus the direct cost to deliver it, and a 70-85% margin is the 2027 SaaS target. QuickBooks Online is the best overall for accurate per-deal profitability, while a spreadsheet remains the best value for early teams - and PULSE free Gross Profit Calculator returns profit and margin instantly.
Sources
- KeyBanc / SaaS Capital - SaaS gross margin benchmark surveys
- QuickBooks Online - project profitability documentation
- Salesforce - CPQ margin and discounting documentation
- NetSuite - project profitability and COGS allocation guides
- Maxio - SaaS revenue and margin analytics resources
- Bessemer Venture Partners - State of the Cloud margin benchmarks
- Xero & Zoho Books - project profitability product pages