Reingewinn
Deutsch

Calculate contribution margin for an online store

The contribution margin shows how much money is left after the variable costs. A store pays for ads and fixed costs from this money, and the rest is profit. This guide explains the calculation step by step.

What the contribution margin is

The contribution margin is revenue minus variable costs. Variable costs come with every order, for example cost of goods, shipping and payment fees.

Fixed costs such as rent, salaries or software are incurred even without orders. They are not part of the contribution margin and come after it.

Contribution margin I per order

For every order, calculate:

  • Net revenue: the price without VAT, after discounts and refunds. If the customer pays for shipping, this amount without VAT counts too.
  • Minus cost of goods: what the sold products cost to buy.
  • Minus shipping costs that the store pays itself.
  • Minus the payment provider's fees.
  • Minus other costs per order, for example packaging.

The result is the order's contribution margin I.

Example for one order

A customer pays €59.50 including 19% VAT and pays nothing for shipping. The values are an example, not any provider's real fees.

  • Net revenue: €50.00.
  • Cost of goods: €18.00.
  • Shipping: €4.90.
  • Payment fee: €1.50.
  • Packaging: €0.60.
  • Contribution margin I: €50.00 − €18.00 − €4.90 − €1.50 − €0.60 = €25.00, which is 50% of net revenue.

Contribution margin II and net profit per day

Ad spend can rarely be assigned to a single order. So it is subtracted per day: the sum of a day's contribution margins I minus that day's ad spend is contribution margin II.

Fixed costs come off next, for example a monthly amount spread evenly over the days of the month. The result is the day's net profit.

Example: on one day, twelve orders add up to €300 in contribution margin I. Ads cost €120 that day. Contribution margin II is €300 − €120 = €180. With €900 in fixed costs in a month of 30 days, that is €900 ÷ 30 = €30 per day. The day's net profit is €180 − €30 = €150.

Common mistakes

  • Calculating with gross prices: VAT is not the store's money.
  • Forgetting refunds: a refunded order no longer brings in revenue.
  • Leaving out payment fees or only roughly estimating them.
  • Using an old purchase price after it has changed.
  • Looking only at contribution margin I: with high ad spend, a day can still end in a loss.

How Reingewinn calculates it

Reingewinn imports orders, refunds and product costs from Shopify and calculates contribution margin I for every order. Shipping costs come from a flat rate, from rules or as actual amounts from a CSV import. Payment fees come from Shopify Payments or from templates for PayPal, Klarna and Stripe.

Merchants who ship from a warehouse outside the EU to customers in the EU can also have the EU import fee deducted.

Ad spend comes from connected ad accounts (Google Ads, TikTok Ads), from a CSV import or as a daily entry. From this, Reingewinn shows contribution margin II and net profit for every day.

The free plan of Reingewinn includes all features, while the store has at most 50 orders in both the current and the previous calendar month. Connecting an AI assistant is included through February 28, 2027, after that only in Reingewinn Pro.

View in the Shopify App Store

All guides