Every price a business sets rests on a handful of interconnected numbers — cost price, selling price, markup, margin, discount, tax and unit price — and mixing any of them up can quietly erode profit or lead to a price that undercuts costs entirely. Cost price is what you paid to acquire or produce an item; selling price is what a customer pays; profit is the difference between the two; markup expresses that profit as a percentage of cost, while margin expresses it as a percentage of selling price — two numbers that look similar but tell different stories. This calculator instantly runs eight pricing calculations — selling price, cost price, profit, markup, discount, sales tax, unit price and break-even price — all updating live as you type, with the exact formula shown alongside every result. It's built for retailers, wholesalers, manufacturers, eCommerce businesses, freelancers, accountants, financial analysts, entrepreneurs and students working on retail pricing, inventory management, financial planning and pricing strategy.
✓ No signup ✓ 8 calculation modes ✓ Works on mobile
Everything you need to price products and services with confidence.
Cost price is the total amount it takes to acquire or produce an item before any profit is added — raw materials, manufacturing labor, wholesale purchase cost, shipping and any other direct expense involved in getting the product ready to sell. Every other pricing calculation on this page starts from an accurate cost price.
Selling price is the amount a customer actually pays for a product or service. It's built from the cost price plus a profit component, and it's the number that ultimately determines whether a business is sustainable — set it too low and margins evaporate; set it too high and sales volume can suffer.
Profit is simply Selling Price minus Cost Price — the dollar amount left over after covering what it cost to acquire or make the item. Profit can be expressed as a flat amount, or as a percentage using either markup or margin, which is where a lot of pricing confusion begins.
Markup expresses profit as a percentage of cost price: Markup = Profit ÷ Cost Price × 100. Margin expresses the exact same dollar profit as a percentage of selling price instead: Margin = Profit ÷ Selling Price × 100. Because the denominators differ, a 50% markup is only a 33.33% margin, and confusing the two is one of the most expensive pricing mistakes a business can make — a retailer aiming for a 40% margin who mistakenly applies a 40% markup will actually earn less profit than intended.
Gross margin is the same margin calculation applied at the business level rather than per item — total revenue minus total cost of goods sold, divided by total revenue. It's a key profitability metric used in financial statements and investor reporting, calculated with exactly the same formula as a single-item margin.
Net profit goes a step further than gross profit by also subtracting operating expenses — rent, salaries, utilities, marketing and other overhead — from gross profit. A healthy per-item margin doesn't guarantee a profitable business if operating expenses consume the difference; this calculator focuses on per-item pricing maths, but net profit should always be checked against the full expense picture.
A discount reduces an original price by a percentage. Discount Amount = Original Price × Discount %, and Final Price = Original Price − Discount Amount. A $500 item at a 15% discount saves $75, bringing the final price to $425. Businesses need to track discounts carefully since they cut directly into the profit built into the original price.
Sales tax adds a percentage on top of a price rather than removing one. Tax Amount = Price × Tax Rate %, and Total Price = Price + Tax Amount. A $200 item at 18% tax adds $36, for a total of $236. Unlike a discount, sales tax doesn't affect the seller's profit directly — it's collected on behalf of the tax authority — but it does affect the final price the customer sees.
Unit price divides a total price by a quantity to find the cost per individual item: Unit Price = Total Price ÷ Quantity. A $480 order of 24 units works out to $20 per unit. Unit pricing is essential for comparing bulk deals, wholesale quotes and multi-pack products on a like-for-like basis.
Break-even price is the minimum selling price needed to hit a target profit margin on a known cost price. Using the margin-based selling price formula — Selling Price = Cost Price ÷ (1 − Margin ÷ 100) — a $250 cost item with a 30% desired margin needs a minimum selling price of $357.14 to hit that target, not simply $250 × 1.30.
Cost-plus pricing sets a price by adding a fixed markup to cost. Value-based pricing sets a price according to what customers perceive the product is worth, independent of cost. Competitive pricing benchmarks against what similar products sell for in the market. Most businesses blend all three depending on the product and the competitive landscape.
Retailers commonly work backward from a target margin to set shelf prices, using the Selling Price formula above to ensure every item hits the store's target profitability after accounting for typical markdowns, returns and seasonal promotions.
Wholesale prices sit between manufacturing cost and eventual retail price, usually calculated with a lower markup than the final retail markup, since wholesale buyers purchase in bulk and expect a volume discount that retailers then mark up again for individual sale.
Manufacturers need an accurate cost price that includes raw materials, direct labor, and an allocated share of factory overhead before applying any markup or margin — underestimating true production cost is a common source of thin, unsustainable margins.
Dynamic pricing adjusts selling price in real time based on demand, inventory levels, competitor pricing or time-sensitive factors, but every adjustment still needs to be checked against the underlying cost price to avoid accidentally pricing below break-even.
Financial planning uses margin and markup figures to forecast revenue and profitability across a product line, while inventory pricing decisions — clearance sales, seasonal markdowns, bundle pricing — all rely on the same discount and margin formulas applied consistently across SKUs.
Online sellers juggle product cost, platform fees, shipping cost, payment processing fees and advertising cost, all of which should be folded into an all-in cost price before applying a markup or margin, or the resulting "profit" can be illusory once every fee is accounted for.
Accountants track cost of goods sold, gross profit and gross margin as core profitability metrics on the income statement, using the exact same formulas covered above — the difference from a single-item calculation is simply that the inputs are aggregated across an entire product line or reporting period.
Four steps from raw cost and price figures to a complete pricing breakdown.
Select from selling price, cost price, profit, markup, discount, sales tax, unit price or break-even price.
Type in cost, selling price, a percentage rate, or a quantity — only the fields each mode needs are shown.
The correct formula is applied instantly, with results and the formula used updating live as you type.
See profit, margin, markup, tax or discount amounts clearly broken out, ready to copy into your records.
The exact maths behind every calculation mode.
Eight worked calculations covering every mode.
Common pricing scenarios at a glance.
| Cost | Margin | Selling Price |
|---|---|---|
| $100 | 20% | $125 |
| $100 | 25% | $133.33 |
| $250 | 30% | $357.14 |
| $500 | 15% | $588.24 |
| Discount | Savings on $100 |
|---|---|
| 5% | $5 |
| 10% | $10 |
| 15% | $15 |
| 20% | $20 |
| 50% | $50 |
| Markup | Margin |
|---|---|
| 10% | 9.09% |
| 25% | 20% |
| 50% | 33.33% |
| 100% | 50% |
Why retailers, freelancers and finance teams rely on it daily.
Selling price, cost price, profit, markup, discount, tax, unit price and break-even — all in one tool.
Display results in USD, EUR, GBP, INR, CAD, AUD, JPY and more.
See cost vs. selling price visualized instantly as an animated bar chart.
Results and the formula used update instantly as you enter values.
Choose 0 to 4 decimal places to match your invoicing or reporting format.
Fully responsive design that works on desktop, tablet and mobile.
Where price, profit and margin calculations show up across business.
Set shelf prices that reliably hit a target profit margin.
Balance bulk discounts against sustainable per-unit margins.
Fold platform fees and shipping into cost before setting a price.
Track raw materials, labor and overhead in a true cost price.
Calculate gross margin and cost of goods sold for financial statements.
Price markdowns and clearance stock without dipping below cost.
Forecast revenue and profitability across a full product line.
Model how margin or markup changes affect projected profit.
Set project rates that reliably cover cost and desired profit.
Apply the same margin logic to hourly or project-based services.
Test different margin and markup scenarios before committing.
Estimate costs and expected revenue for upcoming purchases.
Get accurate pricing results by watching for these errors.
A 50% markup is only a 33.33% margin — using the wrong one produces less profit than intended.
Quoting a price without factoring in sales tax can surprise customers and misstate true revenue.
Not accounting for a discount before calculating margin overstates actual profit on a sale.
Subtracting the wrong base price, or mixing up cost and selling price, produces a meaningless profit figure.
Applying a discount or promotion without checking it against cost price can result in a loss-making sale.
A healthy item-level margin doesn't guarantee overall business profitability once overhead is included.
Common questions about price, profit and margin calculations.
A price calculator applies standard pricing formulas — margin, markup, discount, tax and more — to help set or verify prices quickly and accurately.
Cost price is the total amount spent to acquire or produce an item before any profit is added.
Selling price is the amount a customer pays, built from cost price plus a profit component.
Markup is profit divided by cost price; margin is the same profit divided by selling price — the two percentages are always different for the same sale.
Subtract cost price from selling price to get the profit amount, which can then be expressed as a margin or markup percentage.
Multiply the original price by the discount percentage to find the savings, then subtract that from the original price for the final price.
Multiply the pre-tax price by the tax rate to get the tax amount, then add it to the original price for the total.
Unit price is the total price divided by quantity, giving the cost per individual item in a bulk order.
Divide cost price by (1 − desired margin ÷ 100) to find the minimum selling price needed to hit that margin target.
Use margin if you think in terms of "percentage of revenue," and markup if you think in terms of "percentage added to cost" — both describe the same profit differently.
Yes. It uses standard financial formulas for pricing, profit, markup, margin, tax and discounts with adjustable decimal precision.
Yes, this calculator is completely free to use with no signup required.
Yes. The layout and calculator are fully responsive and work on phones, tablets and desktops.
Retailers, wholesalers, manufacturers, eCommerce sellers, freelancers, accountants and students all benefit from quick, accurate pricing maths.
It removes the risk of manual pricing errors — especially markup/margin confusion — that can silently erode profit across many sales.
Quickly calculate selling prices, profits, discounts, taxes, margins and pricing strategies using this free Price Calculator — built for retail, eCommerce, freelancing and financial planning.