Skip to content
Workflow · Finance close · Opening soon

Contribution margin by product

Use exported QuickBooks files to calculate contribution margin by product. You get product sales, variable costs, margin, and margin percentage.

Early access opens shortly. Check back soon.

Someone typed

“calculate contribution margin by product: revenue minus variable costs, and the margin percentage”

The agent read it as

Calculate contribution margin by product: revenue minus variable costs, and the margin percentage, using QuickBooks Product/Service List, QuickBooks Sales by Product/Service Detail and QuickBooks Purchases by Product/Service Detail.

What the agent built

5 steps, each one an ordinary Mammoth step you can open and change.

  1. File
    QuickBooks Product/Service List
    CSV export · 8 rows
  2. File
    QuickBooks Sales by Product/Service Detail
    CSV export · 24 rows
  3. File
    QuickBooks Purchases by Product/Service Detail
    CSV export · 18 rows
  4. Step
    Total signed sales by product
    Step 1
  5. Step
    Total signed costs by product
    Step 2
  6. Join
    Add sales totals
    8 of 8 paired
  7. Join
    Add variable costs
    8 of 8 paired
  8. Step
    Calculate margin and percentage
    Step 5
  9. Result
    Product Contribution Margin
    8 rows
  10. Schedule
    Runs when you say
    Proposed

Checked on the sample files: every step ran, 8 rows came out, and the join paired 8 of 8 rows; the join paired 8 of 8 rows.

What you get back

The result of that run, the rows to look at first.

Product Contribution MarginSample data8 rows
ProductContribution marginMargin percentageRevenueVariable costs
boreal_tote29849.01608310
drift_bottle56870.12810242
folio_light54467.16810266
aurora_mug54673.39744198
carbon_notebook56569.75810245
ember_cap56475.40748184
glow_stand44349.22900457
harbor_kit17541.67420245
8 rows in the result. Sample data: illustrative figures, not business results.

How do you calculate contribution margin by product?

Export your product list, sales detail, and cost detail from QuickBooks. Then total signed sales by product, total signed costs by product, add the sales and cost totals, and calculate contribution margin and margin percentage for each product.

How it works

How to use the Product Contribution Margin workflow

  1. 1Get early accessWe invite people in small batches, job by job. You'll land on this workflow, already built and checked on the sample files.
  2. 2Swap in your exportsUpload your own files as they come out of your tools. The agent checks the workflow on your rows.
  3. 3Change it in words, then turn it onSay what to change and see the new result before anything saves. Then choose when it runs.

Product Contribution Margin: questions

Which export files do I need for this workflow?
Use exported files that contain your products, sales detail, and cost detail. The workflow reads those rows and groups them by product.
What happens if a row does not match a product?
Rows that do not match a product are left out of the matched totals. You can review them and fix the product name or code in the exported file, then run the workflow again.
How do you change the rules in words?
Change the rule text to match how your file is structured. For example, you can group by a different product field, change which rows count as sales or costs, or update the formula used for margin and percentage.

Get early access to this workflow

It will open already built and checked on the sample files. Swap in your own exports and see your result.

Early access opens shortly. Check back soon.

Workflows like this

Consolidate entities, compare budget to actual, build a trial balance, review month-on-month moves and work out commission.

All finance close templates →