AixKit
All-in-One Online Calculators
Part of: Finance →
Most pricing mistakes happen when business owners rely on intuition rather than numbers. This profit margin calculator lets you calculate profit margin %, gross margin ratio, and markup together for every scenario — so you can see whether a price actually generates profit before you commit to it. Ideal for retail, ecommerce, and any business that needs to price from real numbers: use it to validate existing prices, set a profitable selling price from cost, or find your true margin floor.
A small pricing mistake can reduce your profit more than a drop in sales — this calculator helps prevent that.
Key Profit Formulas
Margin (%) = (Profit ÷ Selling Price) × 100
Markup (%) = (Profit ÷ Cost Price) × 100
Example: Cost 100 → Selling Price 150 → Profit 50 → Margin 33.33% → Markup 50%
Used by ecommerce sellers, retailers, and business owners to make confident pricing decisions. No data stored. Calculations run instantly in your browser.
Tip: Use “Selling Price from Margin” mode to find the exact price needed to hit your target profit margin.
Profit Margin (%) = (Selling Price − Cost Price) ÷ Selling Price × 100
This formula shows how much of your selling price becomes profit after covering cost.
Profit margin measures how much of your revenue remains as profit after covering the cost of goods sold. It is the single most important pricing metric for any business — telling you in plain percentage terms how efficiently each sale converts into actual profit.
Whether you run an ecommerce store, a retail shop, a wholesale operation, or a service business, knowing your gross margin before setting prices is essential. This calculator uses the standard gross profit margin formula applied in real-world invoicing, financial reporting, and business planning.
Gross Profit = Revenue − Cost of Goods Sold (COGS)
Gross Margin % = (Gross Profit ÷ Revenue) × 100
These two figures use the same underlying numbers but measure entirely different things. Confusing margin and markup is one of the most common and costly pricing errors in business.
| Factor | Gross Margin | Markup |
|---|---|---|
| Based on | Selling price (revenue) | Cost price |
| Formula | (Profit ÷ Selling Price) × 100 | (Profit ÷ Cost Price) × 100 |
| Always | Lower (for the same transaction) | Higher (for the same transaction) |
| Who uses it | Finance, accounting, investors | Procurement, sales, retail buyers |
| Example (Cost 100, Sell 150) | 33.33% | 50% |
Cost Price: 100 | Selling Price: 150
Profit = 150 − 100 = 50
Gross Margin % = (50 ÷ 150) × 100 = 33.33% — profit as a share of selling price
Markup % = (50 ÷ 100) × 100 = 50% — profit as a share of cost price
The rule: Margin is always lower than markup for a profitable product. A supplier who quotes "50% markup" has not created a 50% margin — the actual gross margin is 33.33%. This gap grows significantly as the percentage rises. Always confirm which figure is being used before building a pricing structure or accepting a deal.
Most pricing decisions start with a known cost and a target return. Here are the two most common reverse-calculation scenarios.
Selling Price = Cost Price ÷ (1 − Target Margin% ÷ 100)
Selling Price = Cost Price × (1 + Markup% ÷ 100)
Both modes are available in the calculator above. Each result shows both the gross margin and the markup percentage so you always see the complete picture regardless of which mode you use.
Once you have your net selling price, use the GST Calculator to add the applicable tax rate and calculate the GST-inclusive price for customer invoices.
Online sellers typically buy at a wholesale cost and need to cover platform fees (5–15%), payment processing (1.5–3%), shipping, returns, and still achieve a target margin. The correct approach is to add all variable costs to the product cost before calculating margin — the selling price must cover all of them, not just the purchase price.
Retailers track gross margin by category. High-margin categories (seasonal, branded, private label) subsidise low-margin must-carry lines. Reviewing margin by SKU helps identify which products to promote, discontinue, or reprice. A 10-point margin improvement on 100 units generates more profit than doubling sales at the same thin margin.
Wholesalers apply markup to landed cost to set trade prices, then check whether the resulting margin is sustainable at expected volume. Bulk pricing tiers, early payment discounts, and freight all erode effective margin — calculating at each tier prevents agreeing to deals that look profitable but are not.
Service businesses define COGS as direct labour time plus materials or tools. A freelancer with a 500 daily cost (time + software) quoting a 700 project achieves only a 28.6% margin — below the 40%+ that most service businesses need to cover overheads. Running mode 1 of this calculator confirms whether a quote is actually profitable.
Gross margin appears on the income statement above operating expenses and is the first profitability figure investors and lenders review. Consistent gross margins above industry benchmark signal pricing discipline. Declining margins quarter-over-quarter indicate rising COGS or pricing pressure. For loan-based business financing, the Loan Calculator and Interest Calculator help model the debt cost that must be recovered through margin.
Product cost (from supplier): 28 | Platform fee (12%): 4.80 | Processing fee (2%): 0.80
Total effective COGS: 28 + 4.80 + 0.80 = 33.60
Selling price: 40 | Gross Profit: 40 − 33.60 = 6.40
Gross Margin: (6.40 ÷ 40) × 100 = 16% | Markup on supplier cost: 42.9%
The markup looks healthy but the actual margin is only 16% once platform and processing fees are included.
Purchase cost: 60 | Target gross margin: 55%
Selling Price = 60 ÷ (1 − 0.55) = 60 ÷ 0.45 = 133.33
Profit: 73.33 | Markup on cost: 122.2%
Direct cost (labour + materials): 800 | Project quote: 1,400
Gross Profit: 600 | Gross Margin: (600 ÷ 1,400) × 100 = 42.9%
Markup on cost: (600 ÷ 800) × 100 = 75%
At 42.9% margin, this project contributes strongly to covering fixed overheads.
After setting your margin, use the Percentage Calculator for quick percentage cross-checks. Use the Discount Impact Calculator to understand how discounts reduce your margin and how much extra volume is needed to recover the lost profit. Use the Break-even Calculator to see how your margin affects break-even — the exact revenue your business needs to earn before profit begins.
Use your sector benchmark as a minimum target, not a ceiling. Margins above benchmark indicate efficient pricing or sourcing. Margins consistently below benchmark signal either pricing pressure or cost inefficiency that needs addressing.
Beyond calculating margin on a known cost and price, this tool works as a practical selling price calculator, a markup calculator, and a pricing calculator for everyday business decisions.
Enter your cost and a target gross margin percentage. The calculator returns the exact selling price you need to charge to hit that margin. This is the fastest way to price a new product, set a quote for a client, or validate that a proposed price is actually profitable — not just covering cost. For a dedicated tool with additional pricing modes, use the Selling Price Calculator to set the correct selling price from margin, markup, profit amount, or revenue goal.
Enter cost and markup percentage to find the selling price and confirm the resulting gross margin. Because markup and margin are different measures, seeing both together prevents the common error of believing a 50% markup creates a 50% margin (it creates 33.33%).
Enter revenue and COGS to produce the gross profit and gross margin ratio. Use this mode when reviewing product category performance, preparing financial summaries, or comparing margins across different product lines to identify where pricing or sourcing improvements are needed.
After calculating your profit margin, use the GST Calculator to determine the final selling price including tax without affecting your true margin. For promotional scenarios, the Discount Calculator shows how discounting impacts your gross margin. Use the Percentage Calculator for quick percentage cross-checks on any figure.