Skip to content
Embed

Paste this on your site. The attribution link is required and is what makes embedding free.

Price Calculator — Free Online Pricing Tool

Calculate the optimal selling price for your products using target margin or markup.

$
Pricing Method
%

Margin vs Markup Pricing

Margin-based pricing sets a target percentage of the selling price as profit. Markup-based pricing adds a percentage of the cost as profit. A 40% margin requires a 66.67% markup.

Pricing Results

Selling Price$83.33
Profit Amount$33.33
Profit Margin40.00%
Markup Percentage66.67%
Cost Price$50.00

Cost vs Profit Breakdown

Cost: 60.0%Profit: 40.0%
Cost60.0%
Profit40.0%

Margin and Markup Pricing Reference Table

Cost 30% Margin Price 40% Margin Price 50% Margin Price 60% Margin Price
$10.00 $14.29 $16.67 $20.00 $25.00
$25.00 $35.71 $41.67 $50.00 $62.50
$50.00 $71.43 $83.33 $100.00 $125.00
$100.00 $142.86 $166.67 $200.00 $250.00
$250.00 $357.14 $416.67 $500.00 $625.00
$500.00 $714.29 $833.33 $1,000.00 $1,250.00

Related Calculators

About this calculator

Understanding the Pricing Formulas

Pricing from cost involves two primary formulas depending on whether you use margin or markup as your target. Understanding both ensures you can price products accurately regardless of which convention your business or industry uses.

From Margin: Selling Price = Cost / (1 − Margin% / 100)

From Markup: Selling Price = Cost × (1 + Markup% / 100)

Where each variable represents:

  • Cost = Total direct cost to acquire or produce one unit
  • Margin% = Target profit as a percentage of the selling price
  • Markup% = Target profit as a percentage of the cost
  • Selling Price = The resulting price to charge the customer
  • Profit = Selling Price − Cost

Step-by-Step Margin-Based Example

A coffee roaster wants to sell a bag of specialty coffee at a 55% margin. The cost per bag is $8.50 (beans, packaging, label, roasting labor). Calculate the selling price:

  1. Apply the margin formula: $8.50 / (1 − 0.55) = $8.50 / 0.45 = $18.89
  2. Calculate profit: $18.89 − $8.50 = $10.39
  3. Verify margin: $10.39 / $18.89 = 55.0% (correct)
  4. Calculate markup: $10.39 / $8.50 = 122.2%

The roaster should charge approximately $18.89, which they might round to $18.99 using psychological pricing. At this price, 55% of every dollar of revenue is profit, and the markup is a healthy 122% of cost.

Step-by-Step Markup-Based Example

A hardware store wants to apply a 65% markup on a power tool that costs $120 wholesale. Calculate the selling price:

  1. Apply the markup formula: $120 × (1 + 0.65) = $120 × 1.65 = $198.00
  2. Calculate profit: $198.00 − $120.00 = $78.00
  3. Calculate margin: $78.00 / $198.00 = 39.4%
  4. Verify markup: $78.00 / $120.00 = 65.0% (correct)

The store would price the tool at $198.00 (or $197.99 for psychological appeal). The 65% markup translates to a 39.4% margin, meaning about 39 cents of every revenue dollar is profit.

Sources

  • U.S. Small Business Administration — Business Guide: sba.gov
  • U.S. Bureau of Labor Statistics — Occupational Employment and Wages: bls.gov
  • Federal Reserve — Consumer Credit Statistical Release: federalreserve.gov

Disclaimer: This calculator is for informational purposes only and does not constitute financial advice. Consult a qualified financial advisor before making financial decisions.

Last updated: November 3, 2026