yodai Academy Analytics

Academy › Publishing › Analytics

The price isn't what you keep: first subtract what it costs to deliver it

By the end, you'll know how to calculate, service by service, what you actually clear before overhead, and you'll have the real margin for at least three of your own.

By Yodai · Published September 6, 2026 · Updated October 12, 2026

4 min read

Imagine you charge $40 for a haircut and $90 for a color. Which one should you push harder? If you answer by looking at the price, you're looking at the wrong number. The color brings in more, but it also costs more: product, mixing time, gloves. The haircut costs almost nothing. The question isn't how much you charge, it's how much you keep after paying for what it cost to do the job.

What you sell the most isn't always what earns you the most. This is the step that turns it into a number: the gross margin. Here's how you calculate it: selling price minus direct cost. Direct cost is only what you spend to deliver that specific service, not a dollar more. We're not factoring in rent, electricity, or your own time yet, that's coming in the next lesson. Today we're only subtracting what comes out of your pocket every time you sell it.

What counts as a direct cost and what doesn't

Direct cost is what disappears if you stop selling that specific service. At a hair salon: the color, the bleach, the gloves. At an online store: what the manufacturer charges you for the item, plus shipping if you're the one paying for it. At any business that takes card payments: the payment processor's fee, which takes a cut of every charge. How much depends on your provider, the card, and whether you're charging in person or online. Under Stripe's pricing for Spain, for example, an in-person charge with a Stripe reader costs 1.4% plus $0.10 if the card is from the European Economic Area, and 2.9% plus $0.10 if it's from outside it. Online, with a standard card from that region you pay 1.5% plus $0.25, and with a premium card, 2.8% plus $0.25. With cards from outside, the rate is different: 2.5% for UK cards and 3.15% for cards from the rest of the world, also plus $0.25, plus an extra 2% if the currency needs to be converted. That comes out of every sale, so it counts.

What doesn't count yet is your rent, your electric bill, the software you pay for every month, or the hours you put in yourself. Those costs exist whether or not you sell anything that day, or they're the same no matter which service you sell: they don't belong to that service, they belong to the whole business. Splitting them up comes later. The OpenStax managerial accounting textbook, from Rice University, calls a very similar calculation to the one in this lesson the contribution margin: the amount by which the selling price exceeds the variable cost per unit, which is what each sale contributes toward covering fixed costs, the ones that exist no matter the sales level. Each service has its own, and it's also expressed as a percentage of the price. With one difference: in businesses that run mostly on labor, that textbook counts labor as a variable cost. Here we leave it out on purpose, and your time gets counted separately. If you fold in the business's overhead now, you're mixing two different questions, and the number stops being useful for deciding anything.

How to calculate the margin on a service
  1. 1Write down the real price
    The one you actually charge, not the list price. If you usually apply a discount, use the discounted price.
  2. 2Add up the direct cost
    Only what you spend to do that specific service: product, materials, shipping, payment processing fees.
  3. 3Subtract
    Price minus direct cost. That number is your gross margin, in dollars.
  4. 4Turn it into a percentage
    Divide the margin by the price and multiply by 100. That way you can compare services with very different price tags.
The math on a hair color, written out
Color and highlights. Price: $90 Product (color + bleach): $8 Gloves and foil: $1 Card payment fee (Stripe reader, 2.7% + $0.05): $2.48 Total direct cost: $11.48 Gross margin: $78.52 → 87%
The margin you think you have and the one you actually have
Say you sell a handmade candle for $25 and figure you're keeping $19, because you only subtracted the $6 in materials. But you forgot shipping, $4, and the online payment processing fee (2.9% + $0.30 with Stripe's standard rate), another $1.03. The real margin is $13.97, not $19: about $5 less per sale. Across a hundred sales a month, that's $503 you thought you had and don't. Always count everything that comes out of that specific sale, not just the first thing that comes to mind.
Gross margin for each service, based on what you charge
Haircut95%
Manicure88%
Color88%
Massage package70%

Look at what this sample list shows: the haircut, which brings in less than the massage package, is the one with the highest margin percentage. Run it with your own numbers, and it's the real snapshot of your business. One service can fill up your calendar and leave you with little, while another can go almost unnoticed and still be the one you should push hardest. Without this calculation, you wouldn't know: you'd be deciding on a hunch.

What you'll walk away with
  • You have the formula: sale price minus direct cost, in dollars and as a percentage
  • You know how to tell which expenses belong to that service and which belong to the whole business
  • You've calculated the real margin on at least three of your services, not just your bestseller
  • The next lesson adds the one thing this math is still missing: your time

Sources

  1. Pricing & fees. Stripe, accessed October 2026.
  2. 3.1 Explain Contribution Margin and Calculate Contribution Margin per Unit, Contribution Margin Ratio, and Total Contribution Margin, in Principles of Accounting, Volume 2: Managerial Accounting, by Mitchell Franklin, Patty Graybeal, and Dixon Cooper. OpenStax, Rice University, 2019.
NextThe time you put in has to be billed too