On this page
- What this pricing calculator computes and when to use each mode
- Building an accurate landed unit cost before you price
- Margin versus markup: conversion table and the underpricing trap
- Exact pricing formulas and merchant fee gross-up mathematics
- Industry gross margin benchmarks and wholesale-to-retail architecture
- Choosing a pricing framework: cost-plus, market-based, and value-based
- Indirect taxes (VAT, GST, sales tax) and currency considerations
- Discounting, markdowns, and required sales volume lift
- Three worked pricing examples across physical, import, and service models
- Common pricing mistakes that quietly drain working capital
- Financial disclaimer, model limitations, and professional guidance
- Sources and accounting references
What this pricing calculator computes and when to use each mode
Setting a selling price is the single highest-leverage financial decision in a commercial business: every extra percentage point of price integrity flows directly to gross profit without requiring extra inventory, warehouse space, or delivery hours. This calculator determines the exact tax-exclusive selling price a product, digital asset, or service engagement requires to achieve your target profit—either as a gross margin percentage of the selling price or as a markup percentage on top of unit cost—while algebraically reversing out merchant payment processing fees when customers pay by card, digital wallet, or mobile money.
Along with the headline selling price, the tool outputs net profit per unit after gateway settlement, effective gross margin, equivalent markup, transaction fee cost per sale, a five-tier sensitivity table (20% to 60%), and—when you supply expected monthly unit sales—projected monthly revenue, monthly contribution profit, and annualised contribution before fixed overheads. All arithmetic runs locally in JavaScript inside your browser tab, so confidential supplier costs, import margins, and client rate cards never leave your device.
Use Target margin mode when aligning prices with income statements, investor reporting, SaaS or e-commerce unit economics, and break-even overhead coverage, because accountants express operating expenses as a percentage of revenue. Switch to Target markup mode when pricing multi-SKU wholesale catalogues, hardware inventory, or cost-reimbursable contractor quotes where adding a fixed multiplier on landed cost matches your purchasing workflow.
Building an accurate landed unit cost before you price
No pricing formula can rescue an incomplete cost input. Under both International Financial Reporting Standards (IAS 2 Inventories) and small-business tax accounting rules (such as IRS Publication 334), the direct cost of a unit extends well beyond the factory or wholesale invoice price. If you price off raw ex-works supplier cost and forget freight, customs duties, packaging, or spoilage, those omitted variable costs silently eat into your realised gross profit on every single order.
Before typing a number into Total unit cost, sum the variable components that scale with every unit produced or delivered, while keeping fixed monthly company overheads separate:
- Raw materials, components, or wholesale unit purchase price: Net of trade discounts, converted at your actual bank or remittance settlement exchange rate rather than mid-market spot rates.
- Inbound logistics, customs duties, and clearing charges: Sea or air freight, marine insurance, port handling, import tariffs, and last-mile haulage to your storeroom divided across the sellable units in the shipment.
- Direct production or service delivery labour: The exact time spent fabricating, assembling, testing, or delivering one unit multiplied by a realistic fully loaded hourly wage—including your own founder hours if you make the product or deliver the client work yourself.
- Primary packaging, outbound mailers, and fulfilment pick-pack fees: Jars, labels, tamper seals, corrugated shipping cartons, void fill, and third-party logistics (3PL) pick fees not billed separately to the buyer.
- Shrinkage, spoilage, defect, and return allowance: If 4 out of every 100 units arrive cracked, expire before sale, or require a non-resellable refund, divide batch cost by the 96 sellable units (multiplying base cost by
100 / 96 = 1.0417) so good units pay for normal wastage.
Keep fixed monthly expenses—shop or office rent, salaried bookkeeping, business insurance, base software subscriptions, and brand retainers—outside unit cost. Once you know your unit net contribution from this calculator, enter your monthly fixed expenses into our Break-Even Calculator or Startup Cost Calculator to see the exact monthly unit volume required to cover overheads.
Margin versus markup: conversion table and the underpricing trap
Gross margin and markup measure the exact same monetary profit against two different denominators. Gross margin divides unit profit by the selling price, showing what share of each revenue unit you keep after direct costs. Markup divides unit profit by the unit cost, showing how much above cost you raised the price tag.
Confusing the two always errs against the seller because cost is smaller than selling price—meaning a given markup percentage always yields a numerically smaller gross margin percentage. A merchant who buys stock at $40.00, applies a 50% markup to reach $60.00, and assumes they have a 50% gross margin to fund a 25% advertising budget and 20% fixed overhead actually earns only a 33.3% gross margin ($20 profit divided by $60 revenue), pushing the business into a 11.7% operating loss on every sale. Achieving a true 50% gross margin on a $40.00 cost requires a 100% markup—often called keystone pricing in retail—bringing the selling price to $80.00.
| Target Gross Margin | Required Markup on Cost | Cost Multiplier | Price on $40.00 Cost | Unit Profit |
|---|---|---|---|---|
| 15.0% margin | 17.6% markup | 1.176x | $47.06 | $7.06 |
| 20.0% margin | 25.0% markup | 1.250x | $50.00 | $10.00 |
| 25.0% margin | 33.3% markup | 1.333x | $53.33 | $13.33 |
| 33.3% margin | 50.0% markup | 1.500x | $60.00 | $20.00 |
| 40.0% margin | 66.7% markup | 1.667x | $66.67 | $26.67 |
| 50.0% margin (Keystone) | 100.0% markup | 2.000x | $80.00 | $40.00 |
| 60.0% margin | 150.0% markup | 2.500x | $100.00 | $60.00 |
| 75.0% margin | 300.0% markup | 4.000x | $160.00 | $120.00 |
| 80.0% margin | 400.0% markup | 5.000x | $200.00 | $160.00 |
If you already have a proposed selling price and want to audit its margin and markup backwards from cost and revenue, pair this page with our Profit Margin Calculator.
Exact pricing formulas and merchant fee gross-up mathematics
Four algebraic equations drive this calculator. Expressing percentages as decimals (for example, 45% = 0.45 and 2.90% = 0.029), the required selling price is computed as follows:
Why naive fee addition falls short
Suppose your landed unit cost is $10.00, your target gross margin is 40% (0.40), and your online payment processor charges 3.49% + $0.49 per transaction. Without fees, your selling price is $10.00 / 0.60 = $16.67, yielding $6.67 profit. Many sellers mistakenly compute the fee on $16.67 ($16.67 * 0.0349 + $0.49 = $1.07) and simply tack $1.07 onto $16.67 to charge $17.74. Yet at $17.74, the processor takes 3.49% of the higher $17.74 price ($1.11 fee), leaving $6.63—only a 37.4% margin on the new selling price rather than 40.0%.
Using Formula 2 above, this calculator subtracts both the target margin and the percentage fee rate inside the denominator: ($10.00 + $0.49) / (1 - 0.40 - 0.0349) = $10.49 / 0.5651 = $18.56. At $18.56, the gateway deducts $1.14 ($18.56 * 0.0349 + $0.49), you pay $10.00 for the product, and you retain $7.42—an exact 40.0% net contribution margin on the $18.56 transaction. To compare published domestic and cross-border card rates across Stripe, PayPal, and Square in detail, see our Payment Processor Fee Calculator.
Mathematical boundary check: In Target Margin mode, if Target Margin + Processor Fee Rate equals or exceeds 100% (for example, requesting a 98% margin with a 2.9% card fee), no finite selling price exists because every additional currency unit of price requires more than one unit of combined profit and fee. The calculator detects this condition automatically and prompts you to lower either percentage.
Industry gross margin benchmarks and wholesale-to-retail architecture
Acceptable gross margins vary sharply by business model because industries carry vastly different operating expenses below the gross profit line. A grocery store turns inventory dozens of times per year with minimal per-item marketing, whereas a direct-to-consumer (DTC) skincare or apparel brand often spends 25% to 35% of revenue on paid customer acquisition and return logistics.
| Sector / Business Model | Typical Gross Margin | Typical Markup | Primary Below-the-Line Expenses Funded by Margin |
|---|---|---|---|
| Supermarkets, FMCG & staple distribution | 18% – 30% | 22% – 43% | Cold-chain power, store lease, high-frequency restocking labour. |
| Light manufacturing & B2B wholesale | 25% – 45% | 33% – 82% | Equipment depreciation, trade credit financing, sales reps, warranty support. |
| Specialty retail, apparel & DTC e-commerce | 50% – 68% | 100% – 212% | Digital ad acquisition (CAC), seasonal markdowns, size exchanges, storefront rent. |
| Restaurants, cafes & commercial catering | 60% – 72% | 150% – 257% | Kitchen & front-of-house payroll, commercial utilities, occupancy, food prep waste. |
| Professional agencies, engineering & consulting | 45% – 62% | 82% – 163% | Unbilled business development, bench capacity between projects, professional indemnity. |
| SaaS, online courses & digital templates | 75% – 90% | 300% – 900% | Upfront software engineering R&D, customer onboarding, cloud infrastructure, churn. |
Multi-channel margin stacking (DTC vs. wholesale stockists)
One of the costliest early mistakes consumer product founders make is pricing exclusively for direct website sales—for instance, taking a $10.00 landed unit cost and selling online at $19.00 (a comfortable 47.4% DTC gross margin). Twelve months later, when a pharmacy chain, supermarket, or boutique offers to stock the brand, the retailer demands a standard 45% to 50% retail margin off the $19.00 shelf price—meaning the retailer will only pay $9.50 to $10.45 wholesale, wiping out the founder's entire profit. If wholesale distribution is part of your roadmap, build at least a 3.5x to 4.5x ratio between landed COGS and suggested retail price (MSRP) from day one so you retain a 40% to 50% manufacturer margin on wholesale orders and earn an even stronger margin on direct orders.
Choosing a pricing framework: cost-plus, market-based, and value-based
Financial analysts treat cost-plus arithmetic—the calculation performed on this page—as the floor of a pricing decision, never the ceiling in isolation. Sound commercial pricing triangulates three distinct reference points along a strategic pricing corridor:
- Cost-plus pricing (your financial floor): Starts from fully landed unit cost plus transaction fees and adds the minimum gross margin needed to pay company overheads and earn an acceptable return on capital. Any non-promotional sale below this floor destroys cash as volume scales.
- Market-based or competitive pricing (your category reference): Maps what buyers currently pay for credible alternatives. If competitors cluster at $45 while your cost-plus floor requires $58, you immediately know before ordering inventory that you must either re-engineer unit costs downward or differentiate clearly enough to exit commodity comparison.
- Value-based pricing (your profit ceiling): Prices a differentiated product or specialised service as a fraction (often 10% to 25%) of the quantifiable financial benefit, risk reduction, or time saved for the client. A payroll compliance audit that costs a consultant $600 in internal hours to deliver—yet saves a 50-employee firm $12,000 in statutory penalties and 30 hours of internal bookkeeping—easily commands $2,400 to $3,000 rather than a $1,090 cost-plus quote. Independent consultants can model billable capacity alongside overhead in our Freelance Rate Calculator.
Indirect taxes (VAT, GST, sales tax) and currency considerations
Value-Added Tax (VAT), Goods and Services Tax (GST), and state or provincial retail sales taxes do not belong to the seller: a registered business collects output tax as an unpaid fiscal agent for the tax authority. Mixing indirect tax into revenue or margin calculations distorts unit profitability. Follow this three-step sequence when pricing in tax-inclusive retail jurisdictions (such as the UK at 20% VAT, South Africa at 15% VAT, Kenya at 16% VAT, Nigeria at 7.5% VAT, or Ghana's VAT and statutory levy regime):
- Enter costs net of reclaimable input VAT (only if VAT-registered): If your business is registered to reclaim input VAT on inventory and packaging, enter the ex-VAT unit cost here. If your business sits below the VAT registration threshold or falls under a flat-rate turnover scheme where input VAT cannot be reclaimed, your gross tax-inclusive supplier invoice is your true economic unit cost.
- Adjust the payment processor rate slightly upward when cards swipe tax-inclusive totals: Payment gateways charge their percentage fee on the gross tax-inclusive amount paid by the shopper, not your pre-tax subtotal. Multiply your gateway's percentage rate by
(1 + VAT rate)before entering it—for example, a2.90%card fee on a product subject to16%VAT equals an effective2.90% * 1.16 = 3.36%fee against your pre-tax selling price. - Multiply the calculator's required selling price by
(1 + VAT rate)for the shelf tag: If this calculator returns a required ex-tax selling price of100.00and local VAT is15%, display115.00(tax-inclusive) on consumer shelf tags or generate itemised tax lines cleanly using our Invoice & Receipt PDF Generator.
For businesses importing stock in USD, EUR, or CNY while selling locally in GHS, NGN, KES, ZAR, or INR, always price against replacement landed cost at current forward or settlement exchange rates—checked via our Real-Time Currency Converter—rather than six-month-old historical invoice rates. Otherwise, currency depreciation leaves your sales proceeds unable to restock the exact same quantity of inventory.
Discounting, markdowns, and required sales volume lift
Promotional discounts look deceptively gentle when quoted as a percentage of selling price, yet they cut directly into unit profit dollar-for-dollar while unit cost remains completely fixed. Before approving a seasonal 15% coupon code, festive flash sale, or B2B volume rebate, check how many extra units you must sell simply to earn the exact same total gross profit you earned before the discount:
| Price Discount | At 25% Margin | At 35% Margin | At 40% Margin | At 50% Margin | At 60% Margin |
|---|---|---|---|---|---|
| 5% off | +25.0% units | +16.7% units | +14.3% units | +11.1% units | +9.1% units |
| 10% off | +66.7% units | +40.0% units | +33.3% units | +25.0% units | +20.0% units |
| 15% off | +150.0% units | +75.0% units | +60.0% units | +42.9% units | +33.3% units |
| 20% off | +400.0% units | +133.3% units | +100.0% units | +66.7% units | +50.0% units |
| 25% off | Zero profit | +250.0% units | +166.7% units | +100.0% units | +71.4% units |
Notice the left column at a 25% baseline gross margin: offering a seemingly modest 20% discount leaves only 5% gross profit per unit, requiring +400% extra volume (5x unit sales) to avoid losing gross dollars! Whenever you want to reward larger orders without gutting unit economics, prefer tiered order thresholds (for example, free shipping above $75 or a high-margin bonus accessory) over sitewide percentage markdowns.
Three worked pricing examples across physical, import, and service models
Every figure in the three real-world scenarios below matches the exact arithmetic of the calculator at the top of this page so you can enter the inputs directly to test alternative volumes or fee schedules.
Handmade soy candle brand selling online with card processing
Unit cost build-up: Wax, fragrance oil, wick, glass jar, and label cost £4.50; pouring, curing, and finishing take 20 minutes at an internal maker rate of £10.00/hour (£3.33); protective shipping carton and tissue add £0.40. Total landed unit cost = £8.23.
Target & fees: Target gross margin = 45.0%; online card gateway = 2.90% + £0.30; expected volume = 100 candles/month.
Exact calculation: Without merchant fees, the price would be £8.23 / (1 - 0.45) = £14.96. Reversing out the card fee gives (£8.23 + £0.30) / (1 - 0.45 - 0.029) = £8.53 / 0.521 = £16.37. At £16.37 per candle, the processor deducts £0.77, unit cost consumes £8.23, and the maker retains £7.37 net profit per candle (exact 45.0% margin, 89.5% markup)—generating £736.76/month (£8,841.07/year) in contribution toward workshop overhead and marketing.
Solar charge controller stocked by an electronics merchant in Accra
Unit cost build-up: Wholesale invoice, air freight share, customs duty, and port clearing total GH₵ 320.00 per unit; local warranty seal and inner box add GH₵ 15.00. Total landed unit cost = GH₵ 335.00.
Target & fees: Merchant prices inventory using a 60.0% target markup on cost and accepts mobile-money/card checkout at 1.95% + GH₵ 0.00.
Exact calculation: Target unit profit = GH₵ 335.00 * 0.60 = GH₵ 201.00, so net proceeds after gateway settlement must equal GH₵ 536.00. Grossing up for the 1.95% gateway fee gives GH₵ 536.00 / (1 - 0.0195) = GH₵ 546.66 (ex-VAT). The gateway deducts GH₵ 10.66, leaving exact GH₵ 201.00 unit profit (60.0% markup on cost, equivalent to a 36.8% gross margin on the GH₵ 546.66 price).
Technical website audit & conversion engagement
Unit cost build-up: 12 specialist delivery hours at $45.00/hour ($540.00) + 4 non-billable scoping, client call, and revision hours at $45.00/hour ($180.00) + $30.00 project crawling licence = $750.00 total engagement cost.
Target & fees: Agency targets a 55.0% gross margin and bills international clients via online invoice checkout at 3.49% + $0.49 across 6 engagements/month.
Exact calculation: ($750.00 + $0.49) / (1 - 0.55 - 0.0349) = $750.49 / 0.4151 = $1,807.97. After the $63.59 processor fee and $750.00 internal delivery cost, the agency nets $994.38 per engagement (55.0% margin, 132.6% markup), producing $5,966.28/month ($71,595.41/year) to cover non-billable sales, software stack, and agency operating profit. Evaluate capital equipment or campaign paybacks alongside this model in our ROI Calculator.
Common pricing mistakes that quietly drain working capital
- Selecting Markup when you meant Margin (or vice versa): Typing
50in Markup mode yields a 33.3% margin, leaving one-third less profit per revenue dollar than typing50in Margin mode. Always verify both output cards in the dark summary bar before quoting a buyer. - Pricing off historical purchase invoices during high inflation or FX shifts: If supplier costs or freight rose 18% since your last container arrived, pricing old inventory off the old invoice leaves you short of cash to buy the replacement batch. Price against next-shipment replacement cost.
- Treating founder production labour as zero cost: Omitting your own making, packing, or service hours hides negative unit economics until the day you try to hire your first assistant and discover the selling price has zero room for payroll.
- Ignoring return shipping, chargebacks, and marketplace commissions: Selling on third-party marketplaces often adds 8% to 15% referral commissions on top of payment processing. Include marketplace referral rates inside your percentage fee input when modelling third-party channel prices.
- Applying one flat margin across every SKU in a catalogue: Smart merchants blend margins intentionally—pricing fast-moving comparison staples competitively (25% to 35% margin) while earning 55% to 75% margins on proprietary bundles, spares, consumables, and extended service tiers.
Financial disclaimer, model limitations, and professional guidance
Estimates only — not professional financial, accounting, or tax advice: All selling prices, profit figures, margins, markups, and volume projections generated by this calculator and discussed in this article are mathematical estimates provided strictly for general informational and educational planning. Results depend entirely on the completeness and accuracy of the cost, volume, and fee assumptions you enter.
This single-unit deterministic model does not account for price elasticity of demand, competitor retaliation, tiered supplier rebates, working-capital financing interest, inventory holding obsolescence, corporate income taxes, statutory levies, or jurisdiction-specific VAT/GST registration rules. Nothing on this page constitutes financial, investment, legal, or certified accounting advice, nor does it guarantee commercial profitability or sales volume. Always verify your landed cost sheets, merchant acquirer statements, and indirect tax obligations against primary records, and consult a qualified chartered accountant, tax practitioner, or licensed financial advisor before committing to binding commercial contracts, wholesale rate cards, or capital expenditure.
Sources and accounting references
- U.S. Small Business Administration (SBA). Market research, competitive analysis, and pricing your product. sba.gov/business-guide
- Internal Revenue Service (IRS). Publication 334: Tax Guide for Small Business — Chapter 6, How to Figure Cost of Goods Sold. irs.gov/publications/p334
- IFRS Foundation. IAS 2 Inventories — Costs of purchase, costs of conversion, and net realisable value. ifrs.org — IAS 2
- Business Development Bank of Canada (BDC). How to price your product: 5 common strategies and margin vs. markup arithmetic. bdc.ca
- Harvard Business Review. Pricing Strategy, Cost-Plus Traps, and Value-Based Pricing Research. hbr.org/topic/subject/pricing-strategy
- Stripe. Online Payment Processing Pricing & Merchant Settlement Fee Schedules. stripe.com/pricing
- Organisation for Economic Co-operation and Development (OECD). Consumption Tax Trends — VAT/GST and Indirect Tax Mechanics. oecd.org/tax/consumption