MarginLine

Shopify profit, per product

See true profit per product on Shopify.

MarginLine shows what each SKU kept after cost, payment fees, shipping, and refunds. A product that sold at a loss is flagged. A product with no cost stays blank instead of looking free.

How it works

  1. Costs. Unit cost is copied from the Shopify inventory item when the order is imported. A later supplier price changes the next order, not the ones already snapshotted.
  2. Fees. Your card-fee rule is a percent of what the order still collected, plus a fixed fee once per order that took payment. That fee is split across the products on the order.
  3. Shipping. Shipping cost is a flat amount on each order that had something to ship, or a percent of the shipping the customer was still charged. Digital lines do not take a share of the label.
  4. Refunds. Refunds stay in their own column. Units that were restocked drop out of cost. Units that were refunded and not restocked keep the cost, because the item is gone.
  5. Net profit per SKU. Net profit is net sales, minus refunds, cost, payment fees, and shipping. Margin is blank when a cost is missing, so an unknown cost is never treated as zero.

What you get

Free and Paid

Losing-SKU flags

A variant that still sold and came out below zero is marked on the row. The total counts how many SKUs lost money in the range you are looking at.

Free and Paid

Missing-cost flags

A variant that sold with no unit cost is flagged, and its profit stays blank. The table total stays blank too, until every visible SKU has a cost.

Free and Paid

Inline cost entry

Type a cost on a missing row. It fills orders that never had a snapshot and writes the cost back to the Shopify inventory item for the next order. An existing snapshot is left alone.

Paid

CSV export

Download the rows you are looking at, with the same date range and product type or vendor filters. The file is the table, not a second formula.

Paid

Weekly loss emails

A weekly email lists SKUs that lost money or sold without a cost. It is sent only when there is something to look at, and only if you leave it on.

Paid

Bulk CSV cost import

Upload SKU or variant id and unit cost. Preview shows matched, unmatched, and invalid rows before anything is saved. Apply fills blank costs only.

Paid

Per-product overrides

Set a fee per unit and a shipping cost per unit on a variant or a product. The variant wins, then the product, then the shop-wide rule. An explicit 0 is a real override.

Pricing

Free

$0

Last 30 days. Up to 50 orders. The profit table, losing-SKU flags, missing-cost flags, and inline cost entry. No CSV. No weekly email. No bulk import. No per-product overrides.

Paid monthly

$14.99

Every 30 days.

Paid annual

$149

A year.

Paid is unlimited orders and up to 365 days of history, plus CSV export, the weekly loss email, bulk CSV cost import, and per-product fee and shipping overrides. Twelve payments of $14.99 come to $179.88. The annual price is $149, which is $30.88 less. There is no per-order overage. Until Shopify approves read_all_orders, the Admin API only returns about 60 days of orders, on every plan.

A product can sell and still lose money

In the sample shop, the grey wool blanket shows $38.00 of net sales, $39.00 of cost, $1.40 of card fees, and $2.16 of shipping. Net profit is -$4.56.

See the sample rows

Watch the demo

The screencast is hosted on this site. It plays in the browser with no login.

Guides

FAQ

Is MarginLine a full profit and loss?

No. It is net profit per product and variant on the units that stayed sold, after discounts, refunds, snapshotted cost, payment fees, and shipping. It is not a balance sheet, and it does not calculate lifetime value.

What happens when a product has no cost?

Profit for that SKU stays blank, and the row is flagged. A missing cost is never stored as zero. You can type the cost on the row. An explicit zero, for a product that really costs nothing, is kept as zero.

Will a new supplier price change old orders?

No. The unit cost is copied onto the line when the order is imported. Orders already snapshotted keep that cost. The next order uses whatever is on the inventory item then.

What is included on Free and Paid?

Free is $0 for the last 30 days and up to 50 orders, with the profit table, flags, and inline cost entry. Paid is $14.99 every 30 days (Paid monthly) or $149 a year (Paid annual): unlimited orders, up to 365 days of history, CSV export, the weekly email, bulk cost import, and per-product fee and shipping overrides. There is no per-order fee.

Why can’t Paid show a full year of orders yet?

Shopify only returns about 60 days of orders until it approves the read_all_orders scope. That limit applies on every plan. The app asks for the longer window after the scope is granted.

Do you store my customers?

No. Order queries do not ask for customer name, email, phone, address, or IP address. The people who buy from your store are not users of MarginLine.

Can I include ad spend?

On Paid, you can enter ad spend by date for the shop or one SKU and turn it on as its own column. Meta and Google Ads are not connected. A missing unit cost still stays blank.

Already installed

Open MarginLine from Shopify admin. If you are in a normal browser and the app is already on the store, enter the shop domain.