Cost lines

Every cost Marginful subtracts, where the number comes from and where you change it.

Updated 9 October 2026Open in Marginful

On this page

This table lists every cost line in the profit calculation. "Stage" says whether the cost is taken per order or for the period. See Net profit.

Cost lineStageSourceWhere you change it
COGSOrderYour cost history, bundles, the Shopify unit cost, or the exact cost a fulfillment provider billedCosts → COGS, Smart import
RX lens costOrderLens cost table (Optical pack only)RX Intelligence
ShippingOrderActual label cost from a provider, else your shipping rulesCosts → Shipping
HandlingOrderPer order + per itemSettings → Store & tax
Payment feesOrderReal fees from a connected payment provider, else your fee rulesCosts → Payment fees, Integrations
FulfillmentOrder3PL rate card, else per order + per item defaultsLogistics, Settings → Store & tax
PackagingOrder3PL rate card, else per order defaultLogistics, Settings → Store & tax
Return costsOrderReturn shipping per return + restocking per unitSettings → Store & tax
ChargebacksOrderDisputed amount lost + dispute feeSettings → Store & tax (default fee)
Order-level custom costsOrderPer order, per item and percentage rules, including affiliate and influencerCosts → Custom costs
Ad spendPeriodConnected ad platforms and imported ad spendIntegrations, Smart import
Marketing costsPeriodCustom costs marked "Counts as marketing"Costs → Custom costs
Variable period costsPeriodPercentage-of-ad-spend, percentage-of-ad-revenue and formula custom costsCosts → Custom costs
Warehouse storagePeriod3PL rate card × stock on handLogistics
Other payment feesPeriodGateway fees not tied to an order: payout, currency conversion, account feesIntegrations
Fixed costsPeriodFixed daily, weekly, monthly or annual custom costsCosts → Custom costs
Operating expensesPeriodExpenses you enter, import or sync from accountingCosts → Expenses

Costs that include VAT

If you enter costs including VAT and your business can recover input VAT, turn on both Costs are entered including VAT and Input VAT on costs is recoverable in Settings → Store & tax. Marginful then removes VAT from product, shipping, handling, fulfillment, packaging and return costs. See Taxes and VAT.

Costs a fulfillment or shipping provider reports

When a connected provider reports an exact amount for an order, that amount replaces the estimate:

  • A print-on-demand or dropshipping provider's product cost replaces COGS for that order.
  • A shipping provider's label cost replaces your shipping rule.
  • A marketplace channel's fees replace your payment fee rule.

See Fulfillment and shipping providers.

Was this page helpful?

Need help?
Cost lines · Marginful Docs