Pricing and profit margin: how do you set the right price?
By: Ciro · · 8 min read
Adding 20% to cost does not give you a 20% profit. The difference between margin and markup, the right price formula, and how to raise prices without losing customers.
The pricing method small shops use most often is simple: add a percentage to the cost of the item. The method is sound, but when it is unclear what the percentage is calculated on, the expected profit never arrives. In this article we look at the difference between profit margin and markup, the right price formula, and how to talk to customers about a price increase.
Markup and profit margin are not the same
The two terms measure the same difference against two different numbers:
- Markup: Profit as a share of the cost.
- Profit margin (gross margin): Profit as a share of the selling price.
An example from the University of Maine’s small business guide shows this clearly: an item bought for 1.00 and sold for 1.50 earns a profit of 0.50. That is 50% of the cost, but only 33.3% of the selling price.1
According to the same guide, adding 40% to the cost (1.40) gives a margin of about 28.6%. If you really want a 40% margin, the price needs to be about 1.66.1
A common mistake: “I added 20%, so I earn 20%”
The watermelon example from Penn State University’s retail pricing guide:2
- The watermelon costs 1.00 and the target is a 20% gross margin.
- If 20% is added to the cost, the price is 1.20; that price gives only a 16% margin.
- The correct price is 1.25.
The difference looks small, but it repeats with every sale. Because your margin has to cover fixed costs such as rent, electricity and salaries, a difference of a few points in the calculation can turn into a loss by the end of the month.
The right price formula
If you know your target margin, you find the price like this:
Selling price = Cost ÷ (1 − Target margin)
Example: You buy an item for 80 and want a 30% gross margin on the selling price. 80 ÷ (1 − 0.30) = 80 ÷ 0.70 = 114.29. If you had added 30% to the cost and sold at 104, your margin would fall to 23%.
In this calculation, cost is not only the purchase price. Shipping, an allowance for waste and spoilage, and the POS commission on card sales are also part of the unit cost.
Three ways to look at price
- Cost floor: The formula above gives you the price you should not go below.
- Customers and competitors: If every shop in your neighbourhood sells the same product, the price range is narrow. For products where you offer something special, fresh or fast, there is more room.
- The role of the product: A common approach is to keep a low margin on products that bring customers into the shop, such as bread and milk, and a higher margin on the items they buy alongside. What matters is that the total margin of the basket meets your target.
A well-known study published in Harvard Business Review points out that the right price can grow profit faster than selling more units.5 Increasing sales takes effort; setting the price correctly is often just a matter of calculation.
Raising prices without losing customers
When a price increase cannot be avoided, how you do it also matters. According to an HBR article published in 2021, announcing a price increase carries a risk of complaints and lost customers; the way to reduce that risk is to explain the reason.3 Another HBR article from 2026 notes that prices have been rising for six years and customers have become cautious about new increases.4
In practice:
- Instead of raising prices across all shelves on the same day, start with the products whose cost has gone up.
- Give loyal customers a short explanation: “The supplier price went up 15% this month; we passed on 8%.”
- Small, regular updates draw less reaction than one large increase that has built up over time.
See your margin with Ciro
The right price starts with knowing your cost. In Ciro:
- Purchase price on stock items: You record the unit purchase price of each product, so you do not have to guess the cost when you update a price. Details: Inventory management.
- Profit report and monthly income–expenses: Your monthly income and expenses are broken down by category, and purchases paid in cash appear as expenses in the report. You see in numbers which expense is eating into your margin.
- Operating contribution (in Ciro Premium): On the Cash flow screen you see how much is left each month after estimated sales, the cost of goods rate and fixed costs. The “stress scenario” tests low sales and high cost of goods together, and shows how strong your margin is before you raise prices.
You can download Ciro from the App Store or Google Play.
Summary
- Markup is calculated on cost; profit margin is calculated on the selling price.
- For a target margin, price = cost ÷ (1 − margin).
- Include shipping, waste and POS commission in your cost.
- Explain price increases, and make them in small, regular steps.
Sources
- Bulletin #3000: Basic Pricing Strategies for Small Businesses — University of Maine Cooperative Extension, 2018
- Retail Farm Market – Pricing — Penn State Extension, December 2025
- If You're Going to Raise Prices, Tell Customers Why — Harvard Business Review, June 2021
- Is This the Time to Raise Prices? — Harvard Business Review, June 2026
- Managing Price, Gaining Profit — Harvard Business Review, September 1992
This article is general information, not investment, legal or tax advice. Talk to your accountant or bank before making decisions. Rates and rules change; check the source for the current version.