Margin and Sales Tax Calculator

Calculate sales tax, profit margin, and markup for your products. This versatile calculator helps you determine net prices, gross prices, and convert between margin and markup percentages.

Sales Tax
Profit Margin
Margin ↔ Markup
Quick Reference

Understanding Sales Tax, Margin, and Markup

When running a business or making purchases, understanding how sales tax, profit margin, and markup work is essential. These concepts are fundamental to pricing strategy, profitability analysis, and consumer awareness.

What is Sales Tax?

Sales tax is a consumption tax imposed by the government on the sale of goods and services. It's typically calculated as a percentage of the purchase price and is collected by retailers at the point of sale. The retailer then remits the collected tax to the government.

How Sales Tax Works

When you purchase an item, the sales tax is added to the net price (price before tax) to arrive at the gross price (total price you pay). The formula is straightforward:

Sales Tax Formulas:

Gross Price = Net Price × (1 + Tax Rate / 100)

Sales Tax Amount = Net Price × (Tax Rate / 100)

Net Price = Gross Price / (1 + Tax Rate / 100)
Sales Tax Example:

An item costs $100 (net price) with an 8.25% sales tax:

Sales Tax = $100 × 0.0825 = $8.25

Gross Price = $100 + $8.25 = $108.25

Conversely, if the gross price is $200 with a 5% tax rate:

Net Price = $200 / 1.05 = $190.48

What is Profit Margin?

Profit margin represents the percentage of revenue that exceeds the cost of goods sold. It's a key profitability metric that shows how much profit a company makes for every dollar of sales.

Profit Margin Formulas:

Profit = Selling Price - Cost Price

Profit Margin (%) = (Profit / Selling Price) × 100

Profit Margin (%) = [(Selling Price - Cost Price) / Selling Price] × 100

What is Markup?

Markup is the difference between a product's cost and its selling price, expressed as a percentage of the cost. While margin is based on the selling price, markup is based on the cost price.

Markup Formula:

Markup (%) = [(Selling Price - Cost Price) / Cost Price] × 100

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

Margin vs. Markup: Key Differences

While margin and markup are related, they're calculated differently and serve different purposes:

Aspect Profit Margin Markup
Base Selling Price Cost Price
Formula Profit / Selling Price Profit / Cost Price
Maximum Value Less than 100% Can exceed 100%
Best For Profitability analysis Pricing decisions

Converting Between Margin and Markup

You can convert between margin and markup using these formulas:

Conversion Formulas:

Markup = Margin / (1 - Margin)

Margin = Markup / (1 + Markup)

Note: Use decimal form (e.g., 0.25 for 25%)
Conversion Example:

If you have a 20% profit margin:

Markup = 0.20 / (1 - 0.20) = 0.20 / 0.80 = 0.25 = 25%

So a 20% margin equals a 25% markup.

Common Margin and Markup Equivalents

Profit Margin Markup
10%11.11%
15%17.65%
20%25%
25%33.33%
30%42.86%
40%66.67%
50%100%

Sales Tax Rates by State (US)

Sales tax rates vary significantly across US states. Here are some examples:

State State Rate Max Local Rate Max Combined
California7.25%2.50%10.25%
Texas6.25%2.00%8.25%
New York4.00%4.875%8.875%
Florida6.00%2.00%8.00%
Oregon0%0%0%
Delaware0%0%0%

Frequently Asked Questions

What is the net price given a gross price and tax rate?

To find the net price (before tax) from a gross price (after tax), divide the gross price by (1 + tax rate as a decimal). For example, if the gross price is $200 and the tax rate is 5%: Net Price = $200 / 1.05 = $190.48.

What is the markup given a 20% margin?

A 20% profit margin equals a 25% markup. Use the formula: Markup = Margin / (1 - Margin) = 0.20 / 0.80 = 0.25 or 25%.

Why is markup always higher than margin?

Markup is calculated on the lower number (cost price), while margin is calculated on the higher number (selling price). Since you're dividing the same profit by a smaller number, markup is always higher than margin.

Can margin ever be 100% or more?

No, profit margin cannot reach or exceed 100% because the profit can never be equal to or greater than the selling price. The cost would have to be zero or negative, which isn't realistic. Markup, however, can exceed 100%.

How does sales tax differ from VAT?

Sales tax is typically applied only at the final point of sale to consumers. VAT (Value Added Tax) is applied at each stage of production and distribution, with businesses claiming credits for VAT paid on inputs. The end result for consumers is similar, but the collection mechanism differs.