Skip to main content

Price Calculator

Determine selling price from cost and markup percentage, profit margin, or fixed profit amount with automatic cross-calculation of all three pricing methods. Tax, discount, and quantity adjustments produce a full per-unit and total revenue breakdown with step-by-step formula derivation.

Runs entirely in your browser

This tool sends nothing over the network. Everything you enter is processed on your device and never reaches our servers.

Finance
Marketing
Loading the tool
Reference

Documentation

A price calculator derives a selling price from a unit cost using one of three pricing methods, then cross-calculates the other two so all three profit metrics can be compared at once. Markup percentage adds a percentage of cost on top of cost. Profit margin percentage treats the margin as the percentage of the selling price that is profit. Fixed profit amount adds a flat dollar amount to cost.

Unit cost accepts decimals (10.50), fractions (21/2), mixed numbers (10 1/4), and values with currency symbols ($15.00) or commas (1,250). The value entered for the chosen method is the markup percentage (for example, 50 for a 50% markup), the target margin percentage (for example, 33.33 for a one-third margin), or the dollar amount of profit per unit.

A tax rate percentage adds tax to the selling price, and a discount percentage applies before tax. Quantity scales the per-unit result to total revenue and total profit for a batch of units. A step-by-step view displays the mathematical derivation of each result.

Selling Price (markup) = Cost x (1 + Markup% / 100). Selling Price (margin) = Cost / (1 - Margin% / 100). Markup percentage from a known selling price = (Selling Price - Cost) / Cost x 100. Margin percentage = (Selling Price - Cost) / Selling Price x 100. Discounted Price = Selling Price x (1 - Discount% / 100), applied before tax. Final Price = Discounted Price x (1 + Tax% / 100).

A $10 unit cost with a $5 fixed profit gives a $15.00 selling price, a 50% markup, and a 33.33% margin. At a quantity of 100, that is $1,500.00 in total revenue and $500.00 in total profit. Adding an 8% tax rate brings the price a customer pays to 15 x 1.08 = $16.20 per unit.

Pricing decisions affect profitability at every level of a business, from retail shelf tags to wholesale contracts. Cost, markup, and margin interact in the same way across each of the scenarios below.

  • Retail Pricing: A store owner who buys inventory at $8.00 per unit and wants a 60% markup finds the $12.80 selling price; the cross-calculated margin of 37.5% is useful for comparing against industry benchmarks.
  • Restaurant Menu Pricing: A chef targeting a 70% food cost margin on a dish that costs $4.20 in ingredients enters 30 as the margin percentage to find the $6.00 menu price needed to hit that target.
  • Wholesale Negotiation: A distributor quotes $22.50 per case and the retailer needs at least $7.50 profit per case; entering $22.50 as cost and $7.50 as fixed profit confirms the $30.00 minimum selling price and shows the equivalent 33.33% markup and 25% margin.
  • E-commerce with Tax: An online seller lists products at $49.99 with an 8.25% sales tax; the tax setting reveals the $54.12 total the customer pays, while the per-unit profit remains visible for margin tracking.
  • Seasonal Promotions: A retailer running a 15% off sale on items normally marked up 80% sees the reduced selling price, the new effective margin, and whether the promotion still covers costs.
  • Batch Ordering: A purchasing manager evaluating a 500-unit order at $3.40 per unit with a 45% markup sets quantity to 500 to see total revenue of $2,465.00 and total profit of $765.00 for the entire order.
  • Freelance Project Quoting: A consultant with $120 in material costs per project and a target 40% margin finds the $200.00 quote price, confirming $80.00 profit per engagement.
  • Comparison Shopping: Switching between markup and margin modes on the same cost reveals how the two metrics differ: a 100% markup yields a 50% margin, clarifying pricing conversations with partners who use different terminology.
Inputs, outputs, and what the Price Calculator computes

What the Price Calculator asks for and what it returns, as a plain list. Defaults, units, and ranges are the ones the form loads with.

Inputs

  • Unit Cost (text input)
  • Markup Percentage / Profit Margin Percentage / Fixed Profit Amount · default: Markup Percentage
  • Markup Percentage (%) (text input)
  • Profit Margin Percentage (%) (text input)
  • Profit Amount per Unit (text input)
  • Tax Rate (%) (text input) · default: 0
  • Discount (%) (text input) · default: 0
  • Quantity (text input) · default: 1
  • Show step-by-step formulas · default: off

Controls

Calculate · Reset

Example

A $10 unit cost with a $5 fixed profit gives a $15.00 selling price, a 50% markup, and a 33.33% margin.