> ## Documentation Index
> Fetch the complete documentation index at: https://docs.petakopi.my/llms.txt
> Use this file to discover all available pages before exploring further.

# Costs & Pricing

> Set up your menu items, build recipes, calculate per-month prices, and link Loyverse items

The **Costs & Pricing** sidebar group is where you set up your menu, calculate what each cup costs you, and decide what to charge.

<Info>This is the "what should I sell, and at what price?" half of the manage panel. The other half — checking how you actually did — lives in [Pulse](/manage-shop/pulse/overview).</Info>

## How P\&L works (the short version)

Every coffee shop's bottom line is a chain of subtractions:

```
Revenue − COGS         = Gross profit
Gross profit − Fixed costs = Net profit
Net profit ÷ Revenue   = Net margin
```

* **Revenue** is what comes through the till.
* **COGS** (cost of goods sold) is the variable cost of what you sold — milk, beans, cups. It goes up when you sell more.
* **Fixed costs** are rent, wages, utilities, internet — they don't move when you sell more cups.
* **Net margin** is what's left, expressed as a % of revenue. Healthy small coffee shops in Malaysia aim for 10–20% net margin.

Costs & Pricing is where you fill in the inputs:

* **Items + Recipes** give you per-cup COGS.
* **Calculator** combines that COGS with your fixed costs and target margin to suggest per-cup prices and a monthly revenue target.

[Pulse](/manage-shop/pulse/overview) is where actual revenue, expenses, and margin come in through the month — you watch them against the targets you set here.

## Setup walkthrough

If you're starting fresh, do these in order. Each step takes 5–15 minutes.

<Steps>
  <Step title="Add your raw materials">
    Open [Items](/manage-shop/costs-and-pricing/items). Add each ingredient you buy — beans, milk, cups, syrups. Pack size, pack price, yield %. Items power per-cup COGS.
  </Step>

  <Step title="Build your menu">
    Open [Recipes](/manage-shop/costs-and-pricing/recipes). One recipe per sellable drink. Each line is `{Item, quantity}`; the app sums to give you per-cup COGS plus a Quick price suggestion. Build your top sellers first — you don't have to map every drink on day one.
  </Step>

  <Step title="Run the full P&L for this month">
    Open [Calculator](/manage-shop/costs-and-pricing/calculator). Fill in monthly volume, monthly costs (rent, wages, utilities), and target margin. The Calculator combines those with your recipes' COGS to give per-cup suggested prices and a monthly revenue target. **This is where P\&L actually happens.**
  </Step>

  <Step title="(Optional) Map Loyverse variants">
    If you're connected to Loyverse POS, open [Loyverse Items](/manage-shop/costs-and-pricing/loyverse-items) and map your POS variants to recipes. This unlocks per-recipe sales analytics on the Recipes index. Skip if you don't use Loyverse — everything else still works.
  </Step>
</Steps>

After this, head to [Pulse](/manage-shop/pulse/overview) — the targets you just set are tracked against actuals through the month.

## Quick reference

| I want to...                                      | Go to                                                                                                              |
| ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| Add an ingredient                                 | [Items](/manage-shop/costs-and-pricing/items)                                                                      |
| Build a new drink                                 | [Recipes](/manage-shop/costs-and-pricing/recipes)                                                                  |
| Get a quick "what should I charge?"               | [Recipes](/manage-shop/costs-and-pricing/recipes) form → Quick price                                               |
| Get a "what should I charge to cover everything?" | [Calculator](/manage-shop/costs-and-pricing/calculator)                                                            |
| Set this month's volume / costs / margin          | [Calculator](/manage-shop/costs-and-pricing/calculator)                                                            |
| See what next month's targets should be           | [Calculator](/manage-shop/costs-and-pricing/calculator) → next-month picker                                        |
| Map a Loyverse variant to a recipe                | [Loyverse Items](/manage-shop/costs-and-pricing/loyverse-items)                                                    |
| See per-recipe profit this month                  | [Recipes](/manage-shop/costs-and-pricing/recipes) (after [mapping](/manage-shop/costs-and-pricing/loyverse-items)) |
