Free model · Calculator
Your real margin, product by product
Sales don’t tell you what’s left. Enter your products or import your Shopify, Square or spreadsheet export: the calculator takes out cost, discounts, returns, payment fees, shipping and ads, then shows you which products make money and which ones lose it.
Your numbers never leave your device. Everything is calculated in your browser. Nothing is sent to or stored on our servers, and the file you import is never uploaded. Close the tab and it’s gone.
- Your dataTyped in, or a CSV export.
- Your costsPayments, shipping, ads.
- Your marginRanking, alerts, chart, export.
Updated November 12, 2026 · CAD · Longueuil, QC
1. Your products
Start with the example data to see how it works, then replace it with your own: type it into the table or import a CSV file.
Match the columns
Check which column in your file holds each value. Leave “none” if your file doesn’t have it: you can fill it in the table.
| Product | Units soldBefore returns | Unit priceBefore tax | Unit costPurchase or production, landed | Discounts ($)Total for the period | Refunds ($)Blank = estimated from returns | Returns (units)Units or % (see settings) | Shipping ($/unit)$ per unit or total (see settings) | Delete |
|---|---|---|---|---|---|---|---|---|
Scroll the table sideways on mobile.
2. Your costs and settings
The defaults are examples. Replace them with your own plan, carrier and campaign numbers.
3. Your real margin
Net sales
$38,073Real product margin
$12,68033.3%Products losing money
2 / 8After fixed costs
$8,680What your numbers say
- 2 products lose money once cost, fees, shipping, returns and ads are taken out: −$797 in total (Handmade stoneware mug and Large wooden tray). That’s 6% of what your profitable products earn.
- 3 of your 8 products bring in 81% of your profit. That’s where your attention goes first: price, stock and visibility.
- After product cost, your biggest deduction is shipping: $8,603, or 21% of gross sales.
- 1 product keeps less than 10% of net sales (Replacement wicks (pack)). A small rise in cost or shipping would push it into a loss. The 10% line is an indicative marker, not a standard.
- Refunds are above 10% of gross sales for 2 products. The most affected: Ceramic diffuser (11%). Look into why they come back.
- Your products cover your $4,000 of fixed costs, leaving $8,680 for the period.
- For products with no refund amount, we estimated it as returned units × average net price. Enter the real amount if you have it.
| Rank | Product | Net sales | Product cost | Payment fees | Shipping | Ads | Real margin | Margin % |
|---|---|---|---|---|---|---|---|---|
| 1 | Soy candle 200 g | $11,217 | −$3,933 | −$403 | −$1,344 | −$442 | $5,096 | 45.4% |
| 2 | Fragrance refill 100 ml | $5,526 | −$1,289 | −$218 | −$744 | −$218 | $3,057 | 55.3% |
| 3 | Gift box, 3 candles | $6,758 | −$2,821 | −$217 | −$713 | −$266 | $2,742 | 40.6% |
| 4 | Travel mini candle | $4,378 | −$1,339 | −$228 | −$988 | −$172 | $1,650 | 37.7% |
| 5 | Ceramic diffuser | $3,286 | −$1,537 | −$116 | −$588 | −$129 | $915 | 27.9% |
| 6 | Replacement wicks (pack) | $1,080 | −$198 | −$66 | −$756 | −$43 | $17 | 1.6% |
| 7 | Large wooden tray ▼ Loss | $1,720 | −$1,012 | −$60 | −$950 | −$68 | −$369 | −21.5% |
| 8 | Handmade stoneware mug ▼ Loss | $4,108 | −$1,703 | −$151 | −$2,520 | −$162 | −$428 | −10.4% |
| Total | $38,073 | −$13,832 | −$1,458 | −$8,603 | −$1,500 | $12,680 | 33.3% | |
| Fixed costs | −$4,000 | |||||||
| After fixed costs | $8,680 | 22.8% | ||||||
Calculated with the free FluxLogic SI calculator (fluxlogicsi.com). CAD, before tax. Educational content: not a substitute for your accountant. © 2026 FluxLogic SI. Free to use in your business; may not be resold or redistributed as your own.
Going further
Want this automatic every month, connected to your Shopify?
Here you run the diagnosis yourself, for free. FluxLogic AI implements it in your business: the calculation runs on its own from your store, with alerts when a product slips into a loss.
FluxLogic AI implements it- Connected to your store, without replacing it
- Real margin per product, every month
- Alerts when a product drops below your threshold
- You approve the decisions; nothing changes without you
FluxLogic SI (here): learn and diagnose, for free. FluxLogic AI: implement. They are complementary; neither replaces the other.
How it’s calculated
- Net sales
- Units × unit price − discounts − refunds. With no refund amount, it’s estimated as returned units × average net price.
- Product cost
- (Units − returns put back on sale) × unit cost.
- Payment fees
- % × (gross sales − discounts) + fixed fee × estimated orders (units ÷ items per order). Most processors keep their fee when you refund.
- Shipping and ads
- The shipping you pay, per unit or as a total. Ad spend is spread by net sales or by units.
- Real margin
- Net sales − product cost − payment fees − shipping − ads. Fixed costs are shown separately unless you choose to spread them.
What this calculator doesn’t do
- It ignores sales taxes (GST, QST, HST): enter amounts before tax.
- It doesn’t replace your accountant or your financial statements: it’s a diagnostic tool.
- It can’t know whether dropping a product would hurt sales of the others. Test before you cut.
FAQ
Is my data sent anywhere?
No. The calculation runs entirely in your browser. The CSV file is read on your device and never uploaded; nothing is stored on our servers.
Which Shopify export should I use?
In Shopify, open Analytics > Reports > Sales by product, pick the period and export to CSV. Then add your unit costs in the table if they aren’t in the file.
Why is my margin lower than in Shopify?
Because it also takes out payment fees, the shipping you pay, returns and ads. Shopify’s gross margin only takes out product cost.
Does this replace my accountant?
No. It’s a diagnostic tool to decide where to look. For your financial statements and taxes, talk to your accountant.