yodai Academy Analytics

Academy › Publishing › Analytics

The number that counts is what you keep, not what you charge

You'll come away knowing that a customer's value is calculated on the margin of each sale, not on revenue, and you'll know which costs to subtract and which to leave out.

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

7 min read

A customer is measured by what they bring you in a year, not by the size of their first purchase. When you turn that idea into real numbers, a common mistake creeps in. You take the total that customer paid over twelve months and use it as is to decide how much you can afford to spend to land another one like them.

Picture an online clothing store that brings in $180 a year from a repeat customer. If the owner looks at that number and decides they can spend up to $150 on ads to land a new customer, that's the mistake. The $180 is what the business brought in. It's not what stayed in your pocket, and what stays in your pocket, the margin, is what you need to make a smart call on how much to spend on getting customers.

What you collect versus what you keep

Money leaves every sale before it's really yours. The materials or product you deliver, the box and shipping, the fee the payment processor takes when someone pays by card, sometimes a commission to whoever referred that customer. What's left after paying all that is the margin, and margin is the building block for figuring out a customer's value over time. Not the full invoice.

If a customer spends $180 a year with you but $70 of that goes to costs, what that customer actually leaves you is $110. It's that $110 you'll use, two lessons from now, to decide how much you can spend to bring in someone similar. If you used the $180, you'd overspend, and that excess comes straight out of your pocket every time you run the campaign again.

To see it sale by sale, jot down in a spreadsheet, next to each product or service, what it costs you every time you sell it. With the price right there, subtracting one from the other gives you the margin on each sale. Your order or payment log tells you what you charged; what you actually kept, you work out with that spreadsheet.

Which costs you subtract, one by one

Not every cost in a business subtracts from a sale's margin. Only the ones that change depending on whether you sell one more unit or one less. The cost of the product or materials is the most obvious one. Shipping and packaging, if you're the one paying for it, also count. The payment processor's fee, usually a small percentage plus a flat amount per transaction, always subtracts, no matter where you collect it. And if you work with someone who brings you customers for a cut, that commission subtracts just like the rest.

There's one case that often gets overlooked: your own work time when you sell a service. If you teach a one-hour class and charge $40, and that hour of yours is worth $15 because that's what you'd pay someone else to teach it in your place, that $15 subtracts just like materials would in a store. Ignoring the cost of your own time is the most common way to believe a service leaves you more margin than it actually does.

Which number you should base your decisions on
The full invoice
  • It's the number from your sales summary, no extra math needed
  • It tells you how much the business bills, not how much it earns
  • If you use it to decide on a spend, that spend comes out inflated
The margin
  • Requires subtracting each sale's costs before drawing conclusions
  • It's the money you actually get to keep and reinvest
  • It's the right basis for any decision about how much to spend on acquiring customers
  • It changes from one product to another, so it's worth checking item by item and not just overall

Which one to use: Use total sales to see how your business is doing in volume. Use the margin for any decision about money you're going to spend: advertising, a referral commission, a welcome discount. Mix the two up, and the spending decision always goes wrong.

Cost breakdown of a sale
Sale price: $15. Product and materials: $3.50. Box and shipping: $2.80. Payment processor fee: $0.30. Total costs for this sale: $6.60. Margin on this sale: $8.40.
How to figure out the margin on a sale
  1. 1Write down the price
    The price you charge today for that sale, exactly as it reaches the customer, without discounts you don't always apply.
  2. 2Subtract what that sale costs you
    Materials, shipping, payment processing fee, referral commission, and the cost of your time if you're selling a service. Anything that changes depending on whether you sell one more unit or one less.
  3. 3Leave out rent and your own salary
    Those costs exist whether or not you sell anything that day, so they don't belong in the cost of a specific sale.
  4. 4What's left is your margin
    That number, multiplied by how many times a year a customer who sticks around buys from you, is what they truly leave you.
The mistake of folding rent into the math
It's tempting to split rent or your own salary across the month's sales and subtract it from the margin too. Don't. If your rent is $900 a month and you divide it across 60 sales, that's $15 per sale you're subtracting from the margin even though that particular sale has nothing to do with the rent. With that math, a product that actually leaves you $20 in margin would show up as just $5, and you'd end up thinking it's not worth selling. The problem wouldn't be the product, it would be the math. Those fixed costs exist whether you make a sale or not, and they belong in a separate calculation from this one.

With the margin on a single sale, you now have the missing piece. In the next lesson, you'll multiply that number by how many times a customer buys again in a year.

What you'll walk away with
  • You know how to calculate the margin on a sale: price minus the costs that change with that sale
  • You've left rent and other fixed costs out of the calculation
  • You have the building block you'll use to figure out a customer's real value over time

Three cases to decide

Answer before opening each one. If one gives you trouble, go back to the section that explains it.

1. You bill $12,000 this quarter and want to set how much to spend on advertising for the next one. What figure should you base that budget on?

On the quarter's margin, not on the $12,000 billed. Basing it on the invoice inflates the budget because it hasn't subtracted product cost, shipping, or fees, and you'll pay that excess out of your own pocket the moment you launch the campaign.

2. You rent a chair at a hair salon for a fixed $400 a month, and each haircut costs you $3 in product. You charge $25 a haircut. Do you subtract the $400 from each haircut's margin?

No. The rent is fixed, it exists whether or not that particular haircut happens, so the margin on each haircut is $25 minus $3, or $22. The rent gets accounted for separately, as a monthly expense, not as the cost of that sale.

3. You sell a product for $20 in your online store. It costs you $6, shipping is $2.50, and the payment processor takes 4% of the price. What's the margin on that sale, and what does that number tell you that the sale price didn't?

Your margin is $20 minus $6, minus $2.50, minus $0.80 in fees: $10.70. The sale price only tells you what you charge; the $10.70 is what you actually keep, and that's the number you should use to decide how much to spend on bringing in your next customer.

NextHow many times a year a repeat customer buys