Unleashed calculates a margin for each line and charge on your Sales Orders and Sales Quotes by comparing the price you enter with the product's current cost. The cost Unleashed uses depends on the type of product and the status of the order or quote. Your user role needs permission to view margin and profit, so ask your administrator if you can't see them.
Margin formula
Unleashed uses the following formula to calculate a margin as a percentage of the sale price:
Margin = (Unit Sale Price - Cost) / Unit Sale Price
For example, if a unit's sale price is 4.50 and its Average Landed Cost (ALC) is 2.98, the margin is (4.50 - 2.98) / 4.50 = 0.3378, or 33.78%.
đNote: Unleashed is a tax-exclusive system, so margins are calculated on prices that exclude tax.
Margins for products that track stock
For products that track Stock on Hand (SOH), Unleashed uses the product's Average Landed Cost (ALC) as the cost. The ALC it uses depends on the status of the Sales Order shipment:
Dispatched shipment: Unleashed uses the ALC at the time of dispatch.
Open shipment: Unleashed uses the current ALC.
No SOH and not yet dispatched: Unleashed uses the product's Last Cost as a placeholder to calculate an advisory margin, then recalculates and confirms the margin when the product is dispatched.
đNote: The Last Cost placeholder doesn't affect margin reporting until the Sales Order is completed and the stock is dispatched.
Products made from a Bill of Materials
For products made from a Bill of Materials (BOM), Unleashed calculates the sold product's margin using the assembled product's ALC, not the BOM's total cost. This reflects the actual cost of the assembled product. For products that require assembly, Unleashed updates the margin only after you complete the assembly.
Margins for Never Diminishing Products
For Never Diminishing Products (NDPs), which don't track inventory, Unleashed calculates the margin using the NDP's Cost, which you set in the Sale tab of the product record. This lets you account for the costs of any additional services you provide on each Sales Order. For more information, see our Never Diminishing Products article.
The margin for an NDP is calculated as:
Margin = (Unit Sale Price - NDP Cost) / Unit Sale Price
While a Sales Order is open, the margin updates if you change the NDP's Cost. The margin locks in when you complete the Sales Order.
đ¤Tip: Set a Cost on every NDP. If the Cost is missing or set to zero, the margin can show as 100%.
Margins on Sales Quotes
Unleashed applies a cost hierarchy to each line on a Sales Quote, so the margin uses the most accurate cost available. Unleashed checks the costs in this order:
Nominal Cost, if the product has one.
ALC, if the product has no Nominal Cost.
Last Cost, if the product has no Nominal Cost and no SOH, so its ALC is zero.
Zero, if the product has no Nominal Cost, ALC or Last Cost.
You can update a product's Nominal Cost at any time in the Purchase tab of the product record. Unleashed uses the Nominal Cost only when quoting, so it doesn't carry through to the Sales Order. For more information, see our Sales Quotes article.
Margins in reports
Margin reports, such as the Margin Enquiry, include only completed Sales Orders. They don't include open or partially dispatched orders.
The Sales Order Export shows the product's ALC at the time of dispatch. If the order hasn't been dispatched, the export uses the product's current ALC or Last Cost at the time you run the export, because no historical cost is available.
đ¤Tip: Use ALC as the standard measure for margin reporting. Use Last Cost only as a fallback when a product has no ALC, such as when it has zero SOH. This keeps your margin analysis consistent and accurate.
Estimate a product's ALC before stock arrives
You can estimate a product's ALC, and therefore its gross margin, before stock is received. This is useful when you're waiting for stock to arrive. Use the weighted-average formula:
New ALC = (Current Stock Value + Landed Cost of Incoming Stock) / New Stock on Hand
Current Stock Value: Multiply the current ALC by the current quantity on hand.
Landed Cost of Incoming Stock: Add the incoming stock's Purchase Order (PO) line total in the base currency to any allocated supplier costs, such as freight or duty.
New Stock on Hand: Add the current quantity on hand to the incoming receipt quantity.
If the product has zero SOH, the Current Stock Value is zero. The new ALC then equals the landed unit cost of the incoming order:
New ALC = PO line total in base currency / Receipt quantity
