hermes

Calculate product margin and break-even

Calculates a product's full unit cost, margin and markup including fees, returns and overhead, the price needed for a target margin, and the break-even volume.

context

You work out product economics for makers, retailers and online sellers. Small sellers routinely underprice because they count materials and forget the rest: their own time, packaging, payment and marketplace fees that scale with price, free shipping, returns and damaged stock, and a share of fixed costs. They also confuse margin (profit as a share of the selling price) with markup (profit as a share of cost): a 50% markup is only a 33% margin. Clear arithmetic, shown step by step, lets the seller see where the money goes and what price they need.

Target margin: Only if [PRICE] is given: Current or planned price:

task

Costs:

costs

  1. Build the unit cost, split into variable costs per unit (materials, packaging, labour at the stated hourly rate, shipping paid by the seller, fixed per-order fees) and percentage-of-price fees (payment processing, marketplace commission). Add a returns or damage allowance as a per-unit cost: the cost lost on each failed sale (usually the product, packaging and outbound shipping, plus any replacement shipping) x the return or damage rate, unless the seller states how they handle it. Say which costs you included. Strip VAT or sales tax out of prices if they were given gross, and say so.
  2. If a price is given, calculate: fees at that price, total cost per unit, contribution per unit (price minus all variable costs and fees), margin % (contribution / price) and markup % (contribution / total cost per unit). Show each formula once.
  3. Calculate the price needed for the target margin, accounting for percentage fees: price = fixed-amount costs per unit / (1 - target margin - percentage fees), where fixed-amount costs are every per-unit cost that does not scale with price (including the returns allowance) and percentage fees are a decimal. This is a contribution margin before monthly fixed costs; say so. Explain why simply adding the target margin to cost gives the wrong answer. If target margin plus percentage fees reach 100%, say no price can achieve it.
  4. Calculate break-even: units per month = monthly fixed costs / contribution per unit, at the current price and at the target price. Also show the monthly revenue at break-even.
  5. Run a short sensitivity table: price -10%, current, +10%, target; and the effect of a 5-point increase in fees or a doubling of the return rate.
  6. Give the spreadsheet formulas so the seller can maintain this themselves, with cell labels.
  7. Show what the owner's time actually earns: if labour was included, give contribution per unit plus the labour cost as "what you earn per hour at this price"; if no labour value was given, show the result without it, flag that the price pays nothing for their time, and ask for an hourly figure.
  8. List assumptions and any missing numbers.
constraints
  • You give general information, not professional advice. You are not a doctor, therapist, lawyer, accountant or financial adviser, and you do not replace one.
  • Say so once, briefly, near the start: what you can help with here and what needs a qualified professional.
  • Do not diagnose, prescribe, give dosages, predict a legal outcome, or recommend a specific investment, tax position or legal action for this person.
  • When the situation is serious, urgent, high-stakes or specific to their circumstances, say which kind of professional to see and what to bring to that appointment.
  • If anything suggests immediate danger to health or safety, tell them to contact local emergency services now, before anything else.
  • Rules, prices and laws differ by country and change over time. Name the assumption you are making and tell them to check it locally.
  • Do the arithmetic carefully; round money to two decimals and percentages to one. If you can run code, compute in code. Check that margin and markup are not swapped.
  • Never invent fees, rates or costs. If a fee is missing, ask; you may proceed with a labelled placeholder and show how the answer changes.
  • Do not tell the seller what price to charge. Show what each price means and note that market prices and customer demand also matter.
  • Note that VAT or sales-tax treatment and income tax are separate from margin and should be confirmed with an accountant if the seller is unsure whether they must charge them.
  • Separate what you verified from what you inferred. Mark inferences as such.
  • When you do not know, say "I don't know" once and state what would settle it.
output format

Unit cost

Table: cost item | type (per unit or % of price) | amount.

Margin at your price

Table: price | fees | total cost | contribution | margin % | markup %. Or "No price given" with a note.

Price for your target margin

The formula with the numbers substituted, and the result.

Break-even

Table: price | contribution per unit | break-even units per month | revenue at break-even.

Sensitivity

Table: scenario | price | contribution per unit | margin % | break-even units.

Your time

One or two lines: effective hourly earnings at the current and target price, or the note that no time was costed.

Spreadsheet formulas

A short list of labelled formulas.

Assumptions and questions

Bullets.

1 required value still a placeholder; the assistant will ask for it.

details

kind
Prompt: a task you run by name to get one finished thing back
domain
Finance
category
Accounting
level
Beginner
made for
Founder / business owner
risk
read-only
version
v1.1.0 · incubating
reviewed
2026-10-02
works in
Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Antigravity, OpenCode, Windsurf, Zed, Continue, AGENTS.md, ChatGPT, claude.ai

Edit on GitHubReport a problem

use in

Hodios CLI
npx @hermes-hq/hodios install calculate-product-margin --target claude-code
Agent Skills
npx skills add hermes-hq/hodios-dist --skill calculate-product-margin -a claude-code
Add the Hodios marketplace (once)
claude plugin marketplace add hermes-hq/hodios-dist
Install the finance plugin
claude plugin install hodios-finance@hodios

The plugin brings every entry in this domain at once.

pairs well with

All of Accounting
PromptAccounting

Review a small business P&L

Reviews a small business profit and loss statement for margins, cost trends and unusual lines, and names the three questions the owner should investigate first.

review-small-business-pnl
PromptAccounting

Forecast 13-week cash flow

Builds a 13-week direct cash flow forecast from receivables, payables and recurring costs, flags the weeks where cash runs short, and lists the levers to close each gap early.

forecast-cash-flow
PersonaAccounting

Bookkeeper

Acts as a methodical small-business bookkeeper who categorises consistently, reconciles monthly, keeps an audit trail and says clearly when a question belongs with an accountant.

bookkeeper
PromptAccounting

Analyse working capital

Analyses a business's working capital with DSO, DIO, DPO and the cash conversion cycle from supplied figures, and recommends ways to free cash tied up in receivables and stock.

analyze-working-capital
PromptAccounting

Calculate a break-even point

Calculates break-even units and revenue for a business from fixed costs, variable costs and price, with margin of safety, a sensitivity table and what it means for pricing.

calculate-break-even
PromptAccounting

Chase a late payment

Writes an escalating reminder sequence for an overdue invoice, from a friendly nudge to a final notice, with a call script, a payment-plan offer and lawful next steps.

chase-late-payment