Costs and profit

Set up product costs (COGS)

Updated

Open Settings › Costs › Product costs, type the cost per unit next to each variant and press Save. On Shopify, the "cost per item" from your product admin is used until you set a cost here.

Product costs are the base of every profit number in ROASaurus: gross profit, contribution margin, net profit, POAS and the profit per campaign, product and order. A cost belongs to a variant and applies from a start date, so you can change a supplier price without rewriting the profit of older orders.

Before you start

  • A connected store with at least one product or order. Variants come from the Shopify product sync, from your store connector, or from the orders themselves.
  • Your cost per unit for each variant: the purchase price you pay, without the VAT you reclaim. Packaging or pick-and-pack per unit goes in Handling.
  • An owner or admin login if your team limits who changes costs.

Steps

  1. Open the product costs

    In the sidebar choose Settings, then the Costs tab and Product costs. The table lists every variant with its Price, the Shopify cost (on Shopify stores), your own cost and the resulting Margin.

    You should see: One row per variant. Rows without any cost show a dash in the Margin column.

  2. Find the variants without a cost

    Set Show to Missing a cost. Use Search for a product name, SKU or variant id.

    You should see: Only variants that have neither a cost of their own nor a Shopify cost per item. When none are left the table says "Every variant has a cost."

  3. Enter cost and handling

    Type the cost per unit in Cost and, if you have it, the packaging or handling per unit in Handling. Leave Applies from empty to use the cost for every order, past and future. Press Save on that row.

    You should see: A "Saved" message, and the Margin column updates: margin = (price − cost − handling) ÷ price.

  4. Add supplier bundle prices (optional)

    If your supplier charges less per unit for larger quantities, fill Bundles as quantity=price pairs, for example 2=15 4=25. An order uses the largest bundles first: 5 units cost one 4-pack plus one single unit. See Bundles and quantity-based costs.

  5. Set a start date when a price changes

    When your supplier raises a price, enter the new cost with the date it applies from in Applies from and save. Orders before that date keep the old cost. The row shows "since" the date, and a count of cost entries when a variant has more than one.

What you should see

Every report in Profit, the Dashboard and Profit per campaign now uses your costs. The warning on Profit › Overview that units have no product cost disappears once every sold variant has one.

Other ways to fill in costs

  • CSV import. Hundreds of variants at once, with start dates and country zones: Import and export product costs with CSV.
  • A percentage of price. Under Settings › Costs › Cost rules, "COGS as a % of price" sets the cost of a whole product, vendor or product type, for example 35% of price for one brand.
  • An estimate for the rest. Under Settings › Costs › Cost settings, "Estimate missing costs at" a % of price fills in variants that have no cost at all. Profit › Overview then says how many units were estimated.
  • Purchase batches. "Stock lots (FIFO)" under Cost rules gives each batch its own unit cost; sold units use the oldest batch first.
  • Supplier invoices per order. AliExpress, CJ Dropshipping, Printful, Printify, Gelato and Gooten send what each order really cost: Sync costs from suppliers.

Different costs per country

A variant can cost more when you ship it from another warehouse or pay duties. Give it a cost for a zone: a list of country codes whose orders use that cost. Zones are set through the CSV import (the country column, for example GB IE); every other country uses the cost without a zone.

Margin, markup and the price/cost ratio

Suppliers and agencies use three ways to say the same thing. With an example product that sells for 40.00 and costs 14.00 (example numbers, fictional ROASaurus Demo Store):

MeasureFormulaExample
Margin(price − cost) ÷ price65%
Markup(price − cost) ÷ cost186%
Price/cost ratioprice ÷ cost2.86

If you only know your average markup, turn it into a margin before you use the "% of price" rule: margin = markup ÷ (1 + markup). A 100% markup is a 50% margin, so the cost is 50% of price.

Common problems

The table says "No variants yet. Sync from Shopify on the profit dashboard."
On Shopify, open Profit › Overview and press Sync from Shopify; products and their cost per item come with it and are read again every day. On other webshops, variants appear as soon as orders with those products arrive.
"Bundles look like "2=15 4=25"."
Write each bundle as quantity, equals sign, price, separated by spaces. No currency symbols.
Profit still looks too high
Check Profit › Overview for the line about units without a product cost, and Profit › Products for rows marked "no cost". Shipping and payment fees are separate costs: Set up shipping costs and payment fees.
A Shopify bundle shows a cost I did not enter
A Shopify bundle without a cost of its own costs the sum of its components, labelled "from bundle components". Enter a cost on the bundle to override it.

Next step

Product costs are done. Shipping is usually the next largest cost per order.

Set up shipping costs

Still stuck? Email us.

Every sale, traced to the ad that earned it

Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.