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

# How the Sales numbers add up

> 3 min read · One made-up day, line by line, from what buyers paid down to net profit.

## In short

**Gross profit** is what buyers paid, less every cost on the page. **Net profit** is gross profit less the costs you added yourself.

Say you sell 5 blenders in one day. Buyers pay \$20 each. Each one cost you \$8. Amazon takes \$8 in fees on each one. One sale has a \$2 coupon, and one buyer sends a blender back.

| Line | Amount | How |
| - | - | - |
| **Sales** | \$100.00 | 5 × \$20 |
| **Promo** | -\$2.00 | The coupon |
| **Ad spend** | -\$1.00 | This day's share of the month's ads |
| **Refunds** | -\$10.00 | See below |
| **Amazon fees** | -\$40.00 | 5 × \$8 |
| **COGS** | -\$40.00 | 5 × \$8 |
| **Gross profit** | \$7.00 | All of the above added up |

With no expenses that day, **Net profit** is \$7.00 too.

![The Last month tile dated Oct 1-31: Sales \$2,817.37, Orders / Units 107 / 107, Refunds -\$75.96, Promo \$0.00, Ad spend \$0.00, Amazon fees -\$939.85, COGS -\$1,016.42, Gross profit \$785.14, Net profit \$556.14, Margin / ROI 19.7% / 54.7%, and More.](https://mintcdn.com/sourcedock/K8Z_oIZyuLOpEXsz/images/deep-dives/sales-numbers/05-uno-yeti-yesterday-tile.png?fit=max\&auto=format\&n=K8Z_oIZyuLOpEXsz\&q=85\&s=d53c4357974a07ec8a1255a80d603992)

The demo store's Last month tile. Notice each line the table above explains, from Sales $2,817.37 down to Net profit $556.14.

## More details

> [accordion] What each line means
>
> * **Orders**: Amazon orders placed in this period. An order with two products counts once on the tile.
> * **Units**: units buyers ordered in this period. Cancelled units are left out.
> * **Sales**: what buyers paid. Once Amazon pays an order, it's Amazon's paid-out amount. Before that, it's the order price.
> * **Promo**: discounts on these orders, like coupons and deals.
> * **Refunds**: refund cost in money, by refund date, less the fees Amazon gave back. Units sent back in good shape add their cost back.
> * **Ad spend**: Amazon gives one ad total per product per month. SourceDock spreads it evenly over the month's days.
> * **Amazon fees**: Amazon's fees for these orders, plus inbound, storage, removal, and disposal fees, less what Amazon paid you for lost or damaged units. See [Amazon's fee lines](https://docs.sourcedock.io/operate/sales-fees.md).
> * **COGS** (cost of goods sold): what the sold units cost you, from your purchases. It also holds units Amazon lost or damaged, and box charges. It's the same cost Capital Recovery uses.
> * **Gross profit**: sales less promo, ad spend, refunds, Amazon fees, and cost of goods.
> * **Net profit**: gross profit less the costs you added on the [Expenses](https://docs.sourcedock.io/operate/expenses.md) page.
>
> Green is above zero and red is below.

> [accordion] One refund has four parts
>
> | Part | Amount | Why |
> | - | - | - |
> | **Refunded amount** | -\$20.00 | Amazon gave the buyer the \$20 back. |
> | **Refund commission** | -\$1.00 | Amazon keeps this fee on a refund. |
> | **Refunded referral fee** | \$3.00 | Amazon gives the referral fee back. |
> | **Value of returned items** | \$8.00 | The unit is back in stock, so its cost comes back. |
>
> -\$20 - \$1 + \$3 + \$8 = -\$10. That's the **Refunds** line.
>
> **COGS** still counts all 5 units, the returned one too. Its \$8 comes back inside the refund. In profit, the two cancel out for that unit.

> [accordion] Which day each thing counts on
>
> A sale counts on the day the buyer ordered it. A refund counts on the day Amazon posts it.
>
> **Value of returned items** counts on the day Amazon's returns report says the unit came back. Say that's a month later. This month shows -\$18, and next month shows +\$8.

> [accordion] Margin and ROI
>
> On a tile, these two share one line, **Margin / ROI**.
>
> **Margin** is net profit divided by sales. \$7 / \$100 = 7.0%.
>
> **ROI** is net profit divided by what the sold units cost. \$7 / \$40 = 17.5%. If the cost is \$0, ROI is a dash.

> [accordion] When you add an expense
>
> Say you record \$8.00 for boxes and tape, one time, on this day. It counts in full on that day. Net profit is \$7 - \$8 = -\$1.00, and that bar on the chart is red. Gross profit stays \$7.00. The \$8 isn't in the payout either, since you paid it outside Amazon.
>
> The product's own row doesn't carry it. It sits on the **Store fees (no product)** row. See [Write-offs and expenses](https://docs.sourcedock.io/operate/sales-write-offs.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.