Settings

What to find

Cost rate = cost ÷ price. Gross margin = 100% − cost rate. Everything is computed in your browser — nothing is uploaded.

Result

Cost rate
Gross profit
Gross margin
Cost rate

A cost rate calculator. Choose what to find — cost rate, selling price or cost — and enter the other two. In cost-rate mode, enter the cost and selling price and it computes cost rate = cost ÷ price × 100, plus the gross profit (price − cost) and gross margin. In selling-price mode, enter the cost and a target cost rate and it back-calculates the price = cost ÷ cost rate (handy for working out "what price gives a 30% cost rate?"). In cost mode, enter the selling price and a target cost rate and it finds the allowable cost = price × cost rate (useful for capping what you pay for ingredients or stock). The result always shows the cost rate, gross profit and gross margin (= 100% − cost rate). Presets fill in a typical target cost rate for the selling-price mode: restaurant 30%, izakaya 28%, café 30%, ramen 35%, retail 50%. Every calculation runs in your browser; the amounts and rates you enter are never sent to any server or API. The cost rate shown is only a guide — set your real prices with labour, rent and other overheads (FL cost, etc.) in mind too.

How to use

  1. Choose what to find: cost rate, selling price or cost — picking a preset switches to selling-price (back-calc) mode.
  2. Cost-rate mode: enter cost and price. Selling-price mode: enter cost and target rate. Cost mode: enter price and target rate.
  3. Read off the result together with the cost rate, gross profit and gross margin — nothing is sent.

FAQ

Are the amounts I enter sent anywhere?

No. All cost-rate calculations run in your browser. The cost, price and rate you enter are never sent to any server or API — everything stays on your device.

What is the cost rate formula?

Cost rate (%) = cost ÷ selling price × 100. For example, a $3 cost at a $10 price gives a 30% cost rate. Gross profit is price − cost ($7 here) and gross margin is profit ÷ price × 100 (70% = 100% − cost rate).

How do I find the selling price for a target cost rate?

Set "what to find" to selling price, then enter the cost and the target cost rate (e.g. 30%). It back-calculates price = cost ÷ cost rate. A $3 cost at a 30% target gives a $10 price. Presets for restaurant 30%, izakaya 28%, café 30%, ramen 35% and retail 50% are included.

Can it work out the allowable cost from a price?

Yes. Set "what to find" to cost, then enter the selling price and target cost rate. It computes allowable cost = price × cost rate. To keep a $10 item under a 30% cost rate, the cost should be $3 or less.