Should Marketing Be Part of Your Unit Cost? How to Stop Losing Money on Every Sale

The QuickCosting Team

You calculate your product costs, add a markup, and hit your target margin. The math looks clean. Then you run Facebook ads to find buyers, spend more than your profit on each sale, and quietly lose money on every order you fulfill.

This is the leaky bucket problem. And it catches a lot of small business owners off guard, especially in the early stages when paid marketing is doing the heavy lifting.

The fix starts with one question: should your marketing spend live inside your unit cost, or outside it?

The Difference Between a Direct Cost and a Selling Expense

Not all marketing spend behaves the same way.

A direct cost (also called a variable cost) moves with each unit or sale. If you spend $5 to acquire every customer who buys a specific product, that $5 is directly tied to that transaction. It belongs in your unit cost calculation, right alongside materials, labor, and packaging.

A selling expense is a broader, period-based cost. Think of a brand awareness campaign, a trade show booth, or a monthly retainer for a content agency. These costs build your pipeline over time and don't attach cleanly to any single sale.

The rule of thumb: if you can trace the spend to a specific sale or unit, treat it as a direct cost. If it benefits many future sales in a diffuse way, treat it as a selling expense.

How This Plays Out by Business Type

Where marketing lands in your cost structure depends a lot on what you sell and how you sell it.

Physical products (e.g., a handmade skincare brand)

Suppose you sell a face serum for $45. Your materials, packaging, and labor come to

2. You run targeted Meta ads and your cost per purchase (what Meta actually charges you per confirmed sale) averages $8.

That $8 is traceable, repeatable, and tied directly to each transaction. It belongs in your unit cost.

  • Unit cost without marketing:
    2.00
  • Add direct ad spend per unit: $8.00
  • True unit cost: 0.00
  • Gross margin at $45: 55% (not the 73% you thought you had)

If you priced for 70% margin without including that $8, you are actually 15 margin points short on every sale.

Service businesses (e.g., a home cleaning company)

A cleaning company runs a Google Local Services campaign. They pay roughly

0 per booked job, and each job brings in
50.

That

0 cost-per-lead is directly tied to each new booking. It should be treated as a direct selling cost per job, not a vague overhead line.

  • Labor + supplies per job: $55
  • Direct ad cost per booking:
0
  • True cost per job: $85
  • Margin at
    50: 43%
  • Without including the

    0, the owner thinks margins are around 63%. That gap can make the difference between a sustainable business and one that grows itself broke.

    Note: once a customer books a second or third job without a new ad click, that repeat revenue carries no acquisition cost. Tracking new vs. returning customers matters here.

    Digital products (e.g., an online course or template shop)

    This is where the line gets blurry. Digital products have near-zero marginal production cost per unit, so marketing often becomes the dominant variable cost.

    If you sell a $79 Notion template and you run Pinterest ads that convert at a 2 cost per sale, that 2 is effectively your biggest unit cost. Treat it as direct.

    However, if you also invest 00/month in SEO content that drives organic sales over time, that 00 does not attach to any single transaction. It is a selling and marketing expense on your P&L, not a per-unit cost.

    For digital products, a practical split:

    Spend type Example Where it lives
    Paid ads with trackable cost-per-sale Meta, Google, Pinterest ads Direct cost per unit
    Affiliate commissions 30% per sale paid to a partner Direct cost per unit
    Content marketing / SEO Blog posts, YouTube channel Selling expense (period cost)
    Email platform monthly fee Klaviyo, Mailchimp Overhead / selling expense
    Influencer flat-fee campaign One-off awareness post Selling expense

    When You Cannot Isolate a Cost Per Sale

    Sometimes you are running brand campaigns, sponsoring a podcast, or investing in organic social, and there is no clean cost-per-sale figure to pull. You cannot force these into a unit cost because the math does not work.

    In that case:

    1. Keep them as a period selling expense on your P&L.
    2. Track them as a percentage of revenue over time (e.g., "we spend 12% of monthly revenue on brand marketing").
    3. Build that percentage into your minimum viable margin so your pricing covers it at scale.

    The goal is not to make every marketing dollar a unit cost. The goal is to make sure no marketing dollar is invisible in your pricing.

    How to Pressure-Test Your Pricing Right Now

    Here is a quick audit you can do on any product or service:

    1. Pull your last 30 days of paid ad spend for a specific product or offer.
    2. Divide that spend by the number of sales it generated. That is your acquisition cost per sale.
    3. Add it to your current unit cost.
    4. Recalculate your margin at your current price.

    If your margin collapses or goes negative, your price needs to go up, your ad spend needs to come down, or your conversion rate needs to improve. Those are your three levers.

    Pricing without your real acquisition cost is not pricing. It is guessing with extra steps. Build marketing into your numbers from day one and you will know exactly where you stand on every single sale.