Calcrux
Ecommerce Seller OperationsFree Β· No sign-upReal-time

Product Pricing Calculator

Back-solve the selling price that hits your exact target net margin after all costs.

Updated Reviewed by Sajid HussainΒ· Editor

ShareLinkedIn

Try it with your numbers

Results update in real time as you type β€” no submit needed.

Your numbers

Unit cost

The direct cost per unit you need to recover.

Your all-in cost per unit: manufacturing or wholesale cost, packaging, and direct production costs.

Percentage-based costs

All costs expressed as a % of selling price. The calculator solves for the price that makes the total work.

Allocated overhead costs as a % of revenue: rent, salaries, software, fulfilment overhead. Typically 8–15% for lean ecommerce operations.
Your blended marketing spend as a % of revenue. Paid ads for most ecommerce brands run 10–20%. Enter 0 if you rely on organic traffic.
Combined marketplace and payment processing fee as a % of selling price. Shopify Payments ~3.5%; Amazon ~15%; Etsy ~12%; WooCommerce ~3%.
The net profit margin % you want to achieve. The calculator back-solves the selling price that delivers exactly this margin after all costs.

Results

⚑

Results appear as you type

No submit button needed

Why trust this calculator

Last updated

June 9, 2026

Coverage

9 markets Β· 8 currencies

Privacy

Calculated in-browser Β· no data stored

Pricing

Free forever Β· no sign-up

Product pricing β€” from cost to target margin

How to set a selling price that actually hits your profit target

A product pricing calculator is a back-solve tool: you specify COGS, a target net margin, and all percentage-based costs, and it returns the exact selling price that satisfies every constraint simultaneously. **The core problem:** Most pricing mistakes come from the same source β€” adding a markup to cost without accounting for costs expressed as percentages of revenue. When you run paid ads at 15% of revenue, pay a marketplace 3.5% of every sale, and allocate 10% to overhead, those percentages directly reduce the margin your markup is meant to deliver.

**The back-solve approach:** Enter COGS, your target net profit margin, and the share of revenue each cost takes. The calculator returns the exact selling price where all costs and profit sum to 100% of revenue. Formula: Selling Price = COGS Γ· (1 βˆ’ (Overhead% + Marketing% + Platform% + Net Margin%) Γ· 100). The denominator is the fraction of selling price left for COGS once all other claims on revenue are satisfied.

**Reading the results:** Gross margin shows how much revenue remains after COGS β€” but that is not net profit. Marketing, overhead, and platform fees each peel away another layer. This calculator shows the full decomposition: at the required selling price, exactly how much goes to each cost line and how much you actually keep. A 50% gross margin with 30% combined percentage costs leaves a 20% net margin β€” not 50%.

How it works

Enter your cost structure, get the price that delivers your target margin

Enter your COGS and all percentage-based costs β€” the calculator solves for the selling price.

01

Enter cost of goods per unit

Your direct unit cost: manufacturing or wholesale price, packaging, and any variable production costs. This is the only fixed-dollar cost in the formula β€” all others scale with revenue.

02

Set your overhead percentage

Divide your total monthly overhead (rent, salaries, software, admin) by monthly revenue to get the percentage. For lean ecommerce operations, 8–15% is typical.

03

Set your marketing percentage

Your blended ad and marketing spend as a % of revenue. Paid social-heavy brands often run 15–25%; organic-first brands may be under 5%. Honest input here prevents underpricing.

04

Add your platform fee rate

The combined fee rate from your selling channel and payment processor. Shopify Payments ~3.5%, Amazon ~15%, Etsy ~12%. If you sell on multiple channels, use a weighted average.

05

Set your target net profit margin

The net margin % you want to keep after all costs. The calculator outputs the exact selling price that achieves this target, plus the gross margin and markup that result from that price.

Steps to use the Product Pricing Calculator: Enter cost of goods per unit, Set your overhead percentage, Set your marketing percentage, Add your platform fee rate, Set your target net profit margin.

Formula

The back-solve pricing formula

The algebra behind the required selling price β€” derived from the constraint that all costs and target margin must sum to 100% of revenue.

01

Required selling price (back-solve)

Selling Price = COGS Γ· (1 βˆ’ (Overhead% + Marketing% + Platform% + Net Margin%) Γ· 100)

The denominator is the fraction of selling price that COGS represents. Dividing COGS by this fraction finds the price at which COGS, all percentage costs, and net profit exactly account for 100% of revenue.

Example: COGS = 15, overhead = 10%, marketing = 15%, platform = 3.5%, target margin = 20%: Price = 15 Γ· (1 βˆ’ 0.485) = 15 Γ· 0.515 = 29.13

02

Gross margin

Gross Margin = (Selling Price βˆ’ COGS) Γ· Selling Price Γ— 100

Profit above COGS as a % of selling price. Overhead + marketing + platform fee + net margin together equal the gross margin at the required price.

03

Markup on COGS

Markup % = (Selling Price βˆ’ COGS) Γ· COGS Γ— 100

The percentage added on top of COGS to arrive at the selling price. Always higher than gross margin % for the same product.

04

Per-unit cost breakdown

Each cost = Selling Price Γ— Cost% Γ· 100

At the required selling price, each percentage cost translates directly to a per-unit dollar figure that sums to the total gross profit per unit.

Worked example

Pricing a unit with COGS 15 to a 20% net margin

Default inputs: COGS = 15, overhead 10%, marketing 15%, platform fee 3.5%, target net margin 20%.

Scenario

Your product costs $15.00 per unit. You allocate 10% of revenue to overhead, spend 15% on marketing, and pay 3.5% in platform fees. You want to keep 20% as net profit.

1

Step 1 Β· Sum all percentage costs

10% overhead + 15% marketing + 3.5% platform fee + 20% target margin = 48.5% of selling price. The remaining 51.5% must cover COGS.

48.5% of price consumed by costs + target margin

2

Step 2 Β· Solve for selling price

Selling price = $15.00 Γ· (1 βˆ’ 0.485) = $15.00 Γ· 0.515 = $29.13. At this price, exactly 51.5% of revenue covers COGS and 48.5% goes to the cost percentages.

Required selling price: $29.13

3

Step 3 Β· Per-unit cost breakdown

Overhead: $2.91 | Marketing: $4.37 | Platform fee: $1.02 | Net profit: $5.83. These four figures plus $15.00 COGS sum to exactly $29.13.

Net profit per unit: $5.83

4

Step 4 Β· Gross margin and markup

Gross margin = ($29.13 βˆ’ $15.00) Γ· $29.13 Γ— 100 = $48.49%. Markup on COGS = 94.2%. These are the headline ratios used in competitive price comparisons.

Gross margin: $48.49% | Markup: 94.2%

The takeaway

To keep 20% net margin after overhead, marketing, and platform fees, you need to charge $29.13 for a product that costs $15.00 β€” a 94.2% markup. Before finalising, verify that $29.13 is competitive in your market.

Benchmarks

Product pricing and margin benchmarks for ecommerce

Typical target ranges for net margin, overhead, and marketing costs across ecommerce business types.

MetricPoorAverageGoodExcellent

Target net profit margin (ecommerce)

NYU Stern Sector Margins 2025
< 5%5–15%15–25%25%+

Overhead as % of revenue (lean DTC)

Shopify Ecommerce Benchmarks 2024
> 25%15–25%8–15%< 8%

Marketing spend as % of revenue (DTC)

Shopify Ecommerce Benchmarks 2024
> 30%15–25%10–15%< 10%

Gross margin (physical products)

NYU Stern Sector Margins 2025
< 20%20–35%35–55%55%+

Platform fees (selling channel)

Shopify & Amazon Fee Schedules 2025
> 20%10–20%5–10%< 5%
Why Calcrux

Calcrux vs other product pricing calculators

Most pricing calculators do simple cost-plus markup. Calcrux back-solves from your target net margin, accounting for all percentage-based costs so your price actually delivers the margin you need.

FeatureCalcruxSimple Markup CalculatorShopify Profit Calculator
Back-solve from target net margin
Overhead as % of selling price input
Marketing spend as % input
Platform fee rate input
Gross margin and markup both shown
Per-unit cost breakdown for each cost line
Impossible pricing guard with clear message
Thin margin and high cost warnings
Works in any currency
Free, no signup required
Common mistakes

6 product pricing mistakes that destroy margins

Adding markup to cost without accounting for percentage-based costs

Why it matters

A 100% markup on a product costing 15 gives a price of 30. After 15% marketing, 10% overhead, and 3.5% platform fees, only 21.5% of revenue remains β€” not the 50% gross margin that a 100% markup implies.

Fix

Use the back-solve formula: price = COGS Γ· (1 βˆ’ sum of all % costs including target margin). This is what this calculator does.

Using revenue-based overhead allocation as a fixed-dollar figure

Why it matters

Overhead expressed as a % of revenue changes with selling price. A 10% overhead on a price of 30 is 3 per unit; on a price of 20 it is only 2. Using a fixed dollar amount in a percentage-based pricing model causes the math to not close.

Fix

Convert overhead to a % of revenue (total monthly overhead Γ· total monthly revenue) and use that percentage consistently.

Ignoring the platform fee in pricing

Why it matters

Amazon takes 15%, Etsy 12%, and Shopify/payment processing about 3.5%. Leaving these out means you price for a margin that evaporates on the first sale.

Fix

Include the platform fee as one of the percentage cost inputs. If you sell on multiple channels, use a weighted-average fee rate.

Setting a price without checking market competitiveness

Why it matters

The formula may produce a required selling price that is above the market price. The math is correct β€” the product simply is not viable at those costs and that margin target.

Fix

Check the required price against actual market prices before committing. If the price is uncompetitive, reduce COGS (supplier negotiation), lower the margin target, or find a lower-cost channel.

Confusing gross margin with net margin

Why it matters

A product with 40% gross margin and 25% combined overhead + marketing + fees has a 15% net margin β€” not 40%. Presenting gross margin as if it were the take-home profit creates false confidence.

Fix

This calculator shows both. Gross margin is what you keep after COGS; net margin is what you keep after all costs. Make decisions based on net margin.

Not revisiting pricing when costs change

Why it matters

Supplier costs, platform fee schedules, and ad costs all change over time. A price set 12 months ago may no longer deliver the target margin if any of these have increased.

Fix

Run this calculator quarterly with current costs. A 5% increase in marketing spend translates to a price increase requirement β€” model it before you are surprised by a margin compression.

Tips

6 product pricing strategies that protect your margin

Price from market, not cost

Find the maximum price your market supports, then work backward using this calculator to check whether the implied margin is sufficient given your cost structure. If COGS + costs leave no viable margin at market price, the product is not suitable for your channel.

Model multiple channel scenarios

Run the calculator with platform fees for Amazon, your DTC Shopify store, and a wholesale channel. The channel with the best required-price-to-market-price fit is often not the obvious one β€” DTC margins frequently beat marketplace margins once platform fees are removed.

Source to your target price

If the required selling price is uncompetitive, you have a cost problem, not a pricing problem. Use the target price and known costs to calculate the maximum COGS you can afford (max COGS = target price Γ— fraction left for COGS), then source to that spec.

Separate launch and target pricing

During launch you may accept lower margins to build reviews and ranking. Model a temporary launch price in the calculator with reduced margin target β€” and set a clear date to switch to the target-margin price to avoid the discount becoming permanent.

Stress-test rising ad costs

Paid ad costs are volatile. Run the calculator with marketing % at 1.5Γ— your current rate to find the selling price that stays profitable in an adverse ad market. If that price is still competitive, your pricing has room.

Review overhead allocation quarterly

As revenue grows, overhead as a % of revenue typically falls (fixed costs spread over more units). Update the overhead % each quarter β€” lower overhead means the required selling price drops, giving you room to reduce prices or increase net margin.

Use cases

Who uses a product pricing calculator

The Product Pricing Calculator works across every stage of the workflow.

DTC Brand Founder / Product Owner

Enters COGS, full overhead allocation, and paid social marketing budget to find the selling price that delivers a 20% net margin target before the first ad campaign runs.

Amazon Seller / Private Label Researcher

Inputs the Amazon category referral fee and estimated ad spend percentage to check whether the required selling price is competitive with existing listings in the category.

Finance Analyst / Ecommerce Controller

Runs each SKU through the calculator with actual cost allocations to find which products are priced below their required selling price and contributing to margin compression.

Etsy Seller / Small Business Owner

Formalises the overhead and marketing costs they had been ignoring, then recalculates prices to ensure every product covers all costs and generates real profit.

Brand Owner / Supply Chain Manager

Uses the calculator to model the new required price at the higher COGS and compare it to the old price, then communicates the price change to customers based on the documented cost increase.

Operations Manager / Finance Lead

Uses the formula to document the pricing methodology for the team, ensuring every new product is priced using the same back-solve approach rather than ad-hoc markup rules.

Glossary

Product pricing β€” key terms

Every important term you'll encounter in this calculator and the broader topic.

Cost of goods sold (COGS)
The direct cost per unit: manufacturing or wholesale cost, packaging, and direct production expenses. The only fixed-dollar cost in the pricing formula β€” all other costs scale with revenue as percentages.
Overhead
Indirect operating costs not tied to a specific unit: rent, salaries, software subscriptions, utilities, and admin. Expressed as a % of revenue for pricing purposes.
Net profit margin
Revenue minus all costs (COGS, overhead, marketing, platform fees) as a percentage of revenue. The true take-home profit after everything is paid. Target 15–20%+ for sustainable ecommerce.
Gross margin
(Selling price βˆ’ COGS) Γ· selling price Γ— 100. Profit after COGS only β€” before overhead, marketing, and platform fees are deducted. Always higher than net margin.
Back-solve pricing
The approach this calculator uses: defining the target net margin and all cost percentages as constraints, then solving for the selling price that satisfies all constraints simultaneously.
Platform fee
The percentage of each sale taken by your selling channel (Amazon, Etsy, Shopify) and/or payment processor. A direct deduction from revenue that must be included in pricing.
Markup percentage
(Selling price βˆ’ COGS) Γ· COGS Γ— 100. How much you added above COGS to set the price. Always higher than gross margin % for the same product.
Impossible pricing
The condition when overhead + marketing + platform fee + target margin β‰₯ 100% β€” there is no selling price that can cover the product cost AND all the percentage costs simultaneously.
Help & answers

Frequently asked questions

Everything you need to know about how the Product Pricing Calculator works.

01How do I calculate the selling price of a product?

Selling Price = COGS Γ· (1 βˆ’ (Overhead % + Marketing % + Platform Fee % + Target Net Margin %) Γ· 100). This formula back-solves for the price that covers all costs expressed as percentages of revenue, plus the product cost, and leaves you with the desired net margin.

02What is cost-plus pricing?

Cost-plus pricing sets the selling price by adding a fixed markup percentage to the cost of goods. It is simple but ignores market prices and does not account for variable costs expressed as percentages of revenue (platform fees, ad spend). This calculator uses a more complete approach: all percentage-based costs are subtracted from 1 before dividing into COGS.

03What costs should be included in the overhead percentage?

Overhead includes all indirect operating costs: warehouse rent, employee salaries not directly tied to production, software subscriptions, utilities, insurance, and administrative costs. Divide total monthly overhead by total monthly revenue to get your overhead as a % of revenue β€” that is the figure to enter here.

04What marketing percentage should I use for ecommerce?

Most ecommerce brands spend 10–20% of revenue on marketing. If you are relying on organic SEO or word-of-mouth, this might be 3–5%. If you run heavy paid social (Facebook, TikTok), it could be 20–30%. Divide your total monthly ad and marketing spend by your total monthly revenue to find your current marketing percentage.

05What is a target net profit margin?

Net profit margin is what you keep after all costs β€” COGS, overhead, marketing, platform fees, and any other expenses. For product businesses, 10–20% is a typical target. Below 10% leaves little buffer for cost overruns; above 30% is excellent. This calculator solves for the exact selling price that achieves your chosen target.

06Why does the calculator return zero for impossible pricing?

If overhead + marketing + platform fee + target margin equals or exceeds 100%, there is no possible selling price that satisfies all the constraints β€” the costs consume more than 100% of revenue before COGS even appears. Reduce one or more cost percentages until the total is meaningfully below 100%.

07How is this product pricing calculator different from a markup calculator?

A markup calculator applies a fixed percentage to COGS to find a price. This calculator works from a target net margin and back-solves the price, accounting for all costs that scale with revenue: overhead, marketing, and platform fees. It is the correct approach when you have a P&L target you need to hit.

08What platform fee should I enter for Amazon?

Amazon typically charges 8–15% referral fee depending on category, plus FBA fulfilment fees if applicable. For a simple platform fee in this calculator, use the referral fee percentage for your category. If you are also factoring in FBA fees, convert them to a percentage of your selling price and add them to the platform fee input.

09What is gross margin vs net margin in product pricing?

Gross margin = (Selling price βˆ’ COGS) Γ· Selling price Γ— 100. Net margin = what remains after deducting overhead, marketing, and platform fees from gross margin. If gross margin is 50% and overhead+marketing+fees total 30%, net margin is roughly 20%. This calculator shows both so you can see how each cost layer erodes the gross margin.

10How do I verify my selling price is competitive?

After calculating the required selling price, compare it to actual market prices on Amazon, Google Shopping, or your primary channel. If the required price is higher than the market, you have a cost structure problem β€” the product is not viable at current costs and market price. Either reduce COGS (negotiate with supplier), reduce overhead allocation, or lower your margin target.

11Can I use this calculator for physical and digital products?

Yes. For digital products (courses, software, downloads), COGS is typically very low (hosting, delivery), overhead covers team and infrastructure, and there are no fulfilment fees. The formula works the same way β€” adjust the percentage inputs to reflect your actual cost structure.

12Does this pricing calculator work in any currency?

Yes β€” fully global. Enter your COGS in any currency and all outputs display in the same currency. Switch your region using the globe icon to change the currency symbol and locale formatting. The underlying pricing formula is currency-neutral.

Category

Ecommerce Seller Operations

Subcategory

financial profitability

Availability

Global Β· 9 markets

Price

Free forever

Topics

product pricing calculatorhow to price a productselling price calculator from costproduct price calculator net marginecommerce pricing calculatorcost plus pricing calculatorpricing formula for profitretail price calculatortarget margin pricing calculatormarkup calculator with overheadproduct selling price from COGSpricing for profit ecommerce

Explore 500+ more tools

Calculators, simulators, and decision tools for every stage of business operations.