Freelancers and service businesses rarely sell boxes off a shelf, so margin can feel like a number meant for shops. It is not. Margin is simply profit expressed as a share of the price, and it works just as well for an hour of your time or a finished project as it does for a product. The catch is the unit. A margin calculator works per unit: one cost, one price, one result. For service work, you choose what the unit is, one hour or one project, and then you have to be honest about what that one unit costs you to deliver.

This guide shows how to run that calculation with the free Profit Margin Calculator on Ovatly, using the calculator's own worked example, and is plain about where the per-unit fit is imperfect.

Contents

  • Quick answer
  • Margin and markup are two views of the same profit
  • The unit: one hour or one project
  • The full cost of one unit
  • How to calculate your margin, step by step
  • Worked example: a unit that costs 80 and sells for 100
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion

Quick answer

Pick your unit first: one hour or one project. Enter the full cost of delivering that one unit and the price you charge for it into the Profit Margin Calculator. The calculator shows the profit per unit, the margin as a percentage of the price, and the markup as a percentage of the cost. In its worked example, a cost of 80 and a price of 100 give a profit of 20, a margin of 20.00 percent and a markup of 25.00 percent. One rule decides whether the answer means anything: the cost must be complete, because whatever you leave out of the cost flatters the margin.

Margin and markup are two views of the same profit

Margin and markup describe the same profit from two different directions, and mixing them up is the most common pricing error in any trade. Margin divides the profit by the selling price, so it answers this question: of the money a client pays me, how much do I keep? Markup divides the same profit by the cost, so it answers a different question: how much did I add on top of what this cost me?

With a cost of 80 and a price of 100, the profit is 20 either way. As a margin it is 20 divided by 100, which is 20 percent. As a markup it is 20 divided by 80, which is 25 percent. Both numbers are correct; they are measured against different bases. That is why a 25 percent markup always equals a 20 percent margin, and why quoting one when you mean the other quietly changes your price.

The unit: one hour or one project

The calculator is built around a unit: a cost per unit and a selling price per unit. Products come in units naturally. Services do not, until you name one. For service work the unit is whatever you sell in a single, repeatable piece: one hour of your time, or one whole project at a fixed price.

Either choice works, as long as the cost and the price describe the same unit. Enter the price of one hour alongside the cost of one project and the result is meaningless, however precise it looks. If clients buy hours, run the numbers per hour. If clients buy finished projects, run them per project, one at a time.

The calculator also has an optional units-sold field. Enter how many units you sell and it shows total revenue, total cost and total profit, which turns a per-unit margin into the picture for a whole batch of work.

The full cost of one unit

Cost here means whatever you put in it, and that is both the strength and the trap of the tool. The calculator cannot know what delivering your hour or your project really costs; it only works on the figure you type. The calculator's own notes carry a warning worth repeating: if you leave out overheads, packaging or platform fees, the margin shown will flatter the product.

For service work the flattery is easy to fall into, because the costs of a single hour or project are easy to forget: the share of your overheads that the unit carries, and the fees taken out of what the client pays. Those figures are yours, not ours. The discipline is the point: before you trust a margin, ask what the unit truly costs you, all in, and enter that figure.

How to calculate your margin, step by step

  1. Decide your unit: one hour or one project.
  2. Enter the cost per unit: the full cost of delivering that one unit, with nothing left out.
  3. Enter the selling price per unit: what the client pays for that same unit.
  4. Read the profit per unit, the margin and the markup. Percentages are shown to 2 decimal places.
  5. Optionally, enter the number of units sold to see revenue, total cost and total profit across all of them.
  6. To work backwards from a target, use the target fields: enter the cost, set the target margin or markup, and read the price needed at that same cost.

Worked example: a unit that costs 80 and sells for 100

Use the calculator's own example, read as service work. One unit, one hour or one project, costs you 80 to deliver and you charge 100 for it. The profit per unit is 20. The margin is 20.00 percent: the 20 of profit measured against the 100 the client paid. The markup is 25.00 percent: the same 20 measured against the 80 it cost you.

Now scale it with the units-sold field. At 250 units, the calculator shows 25,000 of revenue, 20,000 of total cost and 5,000 of total profit. The margin is still 20 percent, because margin is a property of the price and the cost, not of how many units you sell. Volume changes the totals. Only price and cost change the margin.

Limitations and honest tradeoffs

Be plain about the fit: this calculator was built per unit, around one cost per unit and one price per unit, and service work does not always divide into identical units. The tool has one cost field and one price field, so each unit has to be run with the cost you judge honest for that unit; there is no setting that averages your jobs for you.

Two further limits come straight from the arithmetic. Margin can never reach 100 percent unless the cost is zero, so a margin target can demand a surprising price: the price needed for a target margin rises steeply as the target approaches 100 percent. And the calculator will just as calmly show you a loss: a price lower than cost produces negative profit, margin and markup, which is honest, if unwelcome.

Common mistakes

  • Leaving costs out. Every cost you forget raises the margin on paper and nowhere else. Enter the full cost of the unit.
  • Mixing units. A price per hour against a cost per project produces a precise, useless number. Cost and price must describe the same unit.
  • Confusing margin with markup. Adding 30 percent to the cost is a markup, not a 30 percent margin. Use the target fields to find the price a margin target really needs.
  • Expecting volume to fix a thin margin. Selling more units multiplies the totals, good or bad. It does not change the percentage.

FAQs

What is the difference between margin and markup? Margin divides the profit by the selling price. Markup divides the same profit by the cost. Because the two are measured against different bases, a 25 percent markup always equals a 20 percent margin.

Why does my margin look better than it should? Because the cost entered is incomplete. Cost means whatever you put in it: if you leave out overheads, packaging or platform fees, the margin shown will flatter the product. The same warning applies to the cost of delivering one hour or one project of service work.

Can a margin be negative? Yes. A price lower than cost still works in the calculator and shows negative profit, margin and markup, the honest picture of selling at a loss.

How do I find the price I need for a 30 percent margin? Enter the cost, set the target margin to 30, and the Price needed panel shows the price. It is not cost plus 30 percent; that would be a markup.

Can a margin ever reach 100 percent? Only when the cost is zero. Margin can never reach 100 percent unless the cost is zero, and the price needed for a target margin rises steeply as the target approaches 100 percent.

Conclusion

For service work, margin comes down to two honest inputs: name your unit, one hour or one project, and enter the full cost of delivering it next to its price. Do that, and the Profit Margin Calculator gives you a number you can price from. The companion guide in this series, Contribution Margin Explained for Small Business Owners, covers the related idea of what each sale leaves toward your fixed costs. For more guides like these, see the Business and Finance guides.