
June 14, 2026 · 5 min read · Tech for CFO
Part of our guide to Gross Margin Analysis for SaaS: COGS, Usage, Revenue. Start with the full guide.
Margin Tracking Software: Why Point Solutions Break When Margins Need Context
Margin tracking software calculates gross or contribution margin continuously from accounting, billing and operational data, then breaks it down by product, customer, project or location. Good tools also explain changes: when margin moves, they show which revenue lines and cost transactions caused the move, instead of only charting the new number.
The difference between those two jobs, reporting margin and explaining it, is where most tools are judged. A chart that says margin fell two points is easy to build. Tracing the fall to a hosting renewal, a shift in customer mix or a cost reclassification requires access to the underlying transactions. This guide covers what margin tracking software should do, an example of why the breakdown matters, and a checklist for evaluating tools.
What margin tracking software measures
Most tools calculate some combination of:
- Gross margin = (Revenue − Cost of goods sold) ÷ Revenue
- Contribution margin = (Revenue − All variable costs) ÷ Revenue, where variable costs can include fulfillment, payment fees and commissions that sit below gross profit on the P&L
- Segment margin: either of the above, calculated for one product, customer, project, class or location
The formulas are simple. The work is in the inputs: mapping revenue and cost to the right segment, allocating shared costs on a sensible basis, and keeping that mapping consistent as the chart of accounts changes.
What QuickBooks covers on its own
Many small and mid-sized companies track margin in QuickBooks Online before buying anything else, and it can do part of the job, depending on plan:
- Intuit's help article on class tracking says classes can be turned on in QuickBooks Online Plus or Advanced. Classes let you tag revenue and costs to a segment, such as a product line or department, and run a P&L by class.
- Intuit's Projects guide says Plus and Advanced users "can use Projects to track income and costs for specific projects," and that Advanced users can also set up project estimates and track estimate versus actuals.
What QuickBooks does not do on its own is allocate shared costs (a single hosting bill, a warehouse lease, a support team) across segments by a usage driver, pull in non-accounting data such as product usage or order volume, or explain a period-over-period change down to the transactions. Those gaps are what dedicated margin tools exist to fill. If your margin questions are answered by a P&L by class, you may not need another tool yet.
Example: why the segment view changes decisions
The figures below describe a hypothetical company selling three product lines. It is an illustration, not a real business.
QuickBooks reports $1,000,000 of revenue and $470,000 of COGS for the year, a 53% gross margin. A further $40,000 of fulfillment cost sits in operating expenses. Allocating that $40,000 by each product's share of orders (50% A, 40% B, 10% C) gives a fuller picture:
| Product line | Revenue | COGS | Gross margin | Allocated fulfillment | Contribution margin |
|---|---|---|---|---|---|
| A | $500,000 | $200,000 | 60.0% | $20,000 | 56.0% |
| B | $300,000 | $210,000 | 30.0% | $16,000 | 24.7% |
| C | $200,000 | $60,000 | 70.0% | $4,000 | 68.0% |
| Total | $1,000,000 | $470,000 | 53.0% | $40,000 | 49.0% |
The arithmetic for product B: gross profit = $300,000 − $210,000 = $90,000, or 30.0%. Fulfillment allocation = $40,000 × 40% = $16,000. Contribution = $90,000 − $16,000 = $74,000, and $74,000 ÷ $300,000 = 24.7%. For the total: $1,000,000 − $470,000 − $40,000 = $490,000, or 49.0%.
The blended 53% looks acceptable. The segment view shows product B earning less than half the margin of the other two lines, and carrying 40% of fulfillment cost on 30% of revenue. If B is the fastest-growing line, company margin will keep falling even though nothing has gone wrong with A or C. That is the kind of finding margin tracking software should surface without someone rebuilding the allocation in a spreadsheet each month.
Where standalone tools break
Point solutions for margin usually import a revenue file and a cost file, divide, and chart the result. That works until margin moves and someone asks why. Three failure patterns are common:
- They hold the answer, not the inputs. A tool that ingests a monthly COGS total cannot tell you which vendor bill or reclassification changed it.
- They drift from the books. If the tool's mapping of accounts to segments is maintained separately from the general ledger, a new account or a reclass in QuickBooks silently breaks the margin calculation.
- They stop at margin. Margin matters because it drives contribution, CAC payback and runway. A tool that cannot pass its numbers to those calculations leaves the most important step to a spreadsheet. Our posts on unit economics and gross margin analysis cover what those downstream calculations need.
Evaluation checklist for margin tracking software
Ask each vendor to demonstrate these with your own data, not a demo company:
- Drill-down. Pick a margin change from last quarter. Can the tool trace it from the headline figure to the individual transactions in under a few minutes?
- Reconciliation to the ledger. Does total revenue and COGS in the tool tie exactly to your QuickBooks P&L for the same period? If not, which number will the board see?
- Account mapping changes. If you add a GL account or reclassify a vendor, where must the change be made, and does it restate prior periods consistently?
- Shared-cost allocation. Can you allocate a shared cost (hosting, fulfillment, support) by a driver such as usage, orders or hours, and change the driver later?
- Segments you actually use. Does it support margin by product, customer, project, class and location, or only one of these?
- Non-accounting data. Can it bring in usage, order or time data from outside the ledger to drive allocations?
- Refresh and audit trail. How often does the data update, and can you see who changed a mapping and when?
- Downstream use. Can margin outputs feed contribution margin, payback and cash forecasts without an export?
A tool that passes the first three is useful. One that passes all eight can replace the monthly margin spreadsheet.
Next steps
Start with the data you have. Run a P&L by class in QuickBooks if you are on Plus or Advanced, and put your figures through our free Gross Margin Analyzer to see where segment margins diverge. For a side-by-side look at tools in this category, see our guide to profitability software for QuickBooks. Our own margin product, MarginLens, is built around the checklist above.
Tools that can help
Tech for CFO apps that put the ideas in this article to work on your own numbers.