Skip to main content

Margin Tracking

Every sale in Partsemble includes margin calculations at both the line-item and sale level. Because costs come from actual FIFO lot consumption rather than averages or estimates, your margins reflect what it truly cost to produce the goods you sold.

Sales History in Larkspur Coatings Co. on the Completed chip: nine completed sales, each with its revenue, cost, margin in dollars and margin %, from 61.6% on LC-SR-2002 to 30.8% on LC-INV-1006

How Margins Are Calculated​

For each sale line, Partsemble calculates:

Revenue — the line amount from the invoice (quantity × unit price).

Cost — the total cost of lots consumed to fulfill the line, determined by FIFO consumption. Each lot contributes its actual production cost per unit, so the cost reflects the specific batches that were sold. See Lot Consumption in Sales.

Margin — revenue minus cost, in dollars.

Margin percent — margin divided by revenue, expressed as a percentage.

Example: Suppose you sell 5 cans of Porch & Floor Enamel, Harbor Grey, 1 gal at $79.00 each, and FIFO consumption pulls from two build lots — 3 cans at $44.00 cost and 2 cans at $46.00 cost. The lots and costs are illustrative. The line calculations are:

Amount
Revenue$395.00
Cost(3 × $44.00) + (2 × $46.00) = $224.00
Margin$171.00
Margin %43.3%

Sale-Level Totals​

The page of sale LC-INV-1002 to Oakhollow Builders, Completed and Synced: Total Revenue $402.00, Total Cost $202.295, Total Margin $199.705 and Margin % 49.7%, over three line items, each with its unit cost (FIFO), total cost, margin and margin %

Each sale's page also shows totals across all its line items: Total Revenue, Total Cost, Total Margin and Margin %. Sale LC-INV-1002, for example, took $402.00 for a total cost of $202.295, a margin of $199.705 or 49.7%. This gives you a quick read on the profitability of each transaction.

Per-Product Visibility​

Because margins are tracked per line item, you can see which products are most and least profitable. A sale with five different products shows five separate margin calculations, making it easy to spot products where production costs are eating into your margins.

The Role of FIFO​

Using FIFO lot costs instead of a simple average cost means your margins can vary from sale to sale for the same product, depending on which production batches were consumed. This is more accurate — if ingredient prices spiked for a particular batch, the sales that consume that batch reflect the higher cost, while sales consuming cheaper batches show better margins.

This is especially useful when raw material costs fluctuate. You'll see the real impact of cost changes flowing through to your margins as older (cheaper or more expensive) build lots are consumed first.

Stock Shortage Impact on Margins​

When a sale line has a stock shortage (more sold than available in lots), the shortage quantity is costed at the product's weighted average cost. This means the margin for that line is partially based on lot costs and partially on the average — it's flagged so you know the margin isn't purely FIFO-derived. See Stock Shortages.

Where to See Margins​

Sales list — Sales → Sales History shows revenue, cost, margin and margin % for each sale. A small ⚠ beside a margin marks a sale that lost money.

Sale detail — click into any sale to see per-line margins, lot consumption details, and sale-level totals.