# Costing and margin | Brindola

> Know what your stock costs, what each item costs to make and the margin on what you sold.

Source: https://brindola.com/docs/en/screens/costing/ (language: en)

# Costing and margin

[All plans](https://brindola.com/docs/en/start/plans/)

Cost of sales and margin on Reports → Sales need Plus.

Costing works out what each stock unit costs the venue, using the prices on your deliveries. From that it gives what an item costs to make and the margin on what you sold. It prices what Inventory counts, so Inventory must be on first.

Where a cost comes from

1.  A delivery carries a price
2.  The stock unit gets a unit cost
3.  An item adds up its components
4.  The close fixes each line's cost

## Turn costing on

1.  Turn **Inventory** on if it is not already.
2.  Open **Settings → Costing** and switch on **Use costing at this venue**.
3.  Choose a **Costing policy**: **Last delivery’s price** (the default) or **Average over what is on the shelf**. A change applies from the next delivery.
4.  If you receive stock in Inventory, open **Settings → Inventory** and tick **Unit cost** under **A delivery line also asks for**. Each delivery line then asks for **Cost each**, or **Cost per pack** on a pack line.

Switching Costing off deletes nothing. Unit costs keep updating from deliveries while it is off, so turning it back on starts from current figures.

## A stock unit’s cost

The unit page shows **Unit cost** and where it came from: _from the deliveries_, _typed by hand_ or _from its last batch_. A unit no delivery has priced shows _no cost yet_, never zero.

-   **Last delivery’s price** takes the price of the most recent delivery that carried one.
-   **Average over what is on the shelf** weights the new delivery against the stock already there.
-   A pack price is divided across the units in the pack.
-   A delivery line with no cost leaves the unit cost as it was.

**Set by hand…** types a cost directly. It holds until the next delivery that carries a price. A [made-ahead unit](https://brindola.com/docs/en/screens/inventory/#made-units-and-recipes) takes its cost from each batch: what its ingredients cost, divided by the amount made.

## An item’s cost and margin

Open an item’s **Pricing** tab.

-   **Cost** is what one costs you before VAT. Leave it empty if you do not know.
-   **From components** adds up the cost of the stock the item uses, including made-to-order parts broken down into their ingredients. **Use** copies that figure into **Cost**. If any part has no cost yet, no figure is shown and the tab says how many parts are missing.
-   **Margin** is the net price, with the item’s VAT taken out, minus the cost, as an amount and a percentage. With no cost it shows **Margin: —**. If **Cost** is empty and the components have a cost, the margin uses the components.

## Cost of sales on reports

When an order closes, each line is stamped with what it cost at that moment. Later price changes do not rewrite an old sale. Reopening an order clears the stamps, and the next close stamps again at the costs of that moment. A write-off is costed the same way.

**Reports → Sales** then shows **Cost of sales** over the costed lines, against their net sales, and the **gross margin**. Each dish shows its own margin, or _no cost_. Lines sold without a cost are counted in a separate warning and left out of the margin, so a missing cost never reads as free stock. Goods returned to the shelf come off the cost of sales.

## Who can see costs

Seeing a cost or a margin needs the **See what an item costs, and its margin** permission. Typing a cost, using a derived cost and choosing the policy need Costing write access. Settings → Costing itself needs permission to change venue settings. Give cost access only to the people who should see what the venue pays.

## Questions

### Do I have to type a cost for every item?

No. An item with components gets its cost from them once deliveries carry prices. Type a cost only for items that use no tracked stock, or to override.

### Why does an item show no margin?

Its cost is unknown: no delivery has priced one of its parts and no cost is typed. The Pricing tab names how many parts have no cost.

### Does a new delivery price change yesterday’s margin?

No. Each line’s cost is fixed when its order closes. The new price affects sales from then on.

### Is the margin before or after VAT?

After VAT is taken out. The margin compares the net price with the cost, which is also before VAT.

### Last price or average — which should I choose?

Last delivery’s price follows the market quickly. The average smooths out one expensive delivery when old stock is still on the shelf. You can change it later; it applies from the next delivery.
