margin calculator··3 min read

How to Calculate Profit Margin, Markup, and Platform Fees Without Spreadsheets

Stop confusing markup with gross margin. Learn the exact formulas for product pricing, marketplace GP fees, and VAT — and calculate them in seconds on iPhone or Mac.

If you price a product by adding 30% to your cost and expect a 30% profit margin, you are quietly losing money on every order. A 30% markup only leaves you with a 23.08% gross margin — and once marketplace commissions and sales tax come off the top, your net profit shrinks even further.

Here is the fast, exact way to calculate selling price, gross margin, markup, and VAT without opening a spreadsheet every time you quote a customer or list a new SKU.

Markup vs. Gross Margin: The Formula Difference

The confusion comes down to what sits in the denominator:

  • Markup measures profit as a percentage of cost: Markup % = ((Selling Price - Cost) / Cost) × 100
  • Gross Margin measures profit as a percentage of selling price: Gross Margin % = ((Selling Price - Cost) / Selling Price) × 100

To find the exact selling price that hits a target gross margin, divide your cost by (1 − Margin):

Selling Price = Cost / (1 - Target Margin)

Worked Example: $100 Cost, 30% Target Margin

  • Wrong (30% Markup): 100 × 1.30 = $130.00 → Profit is $30, which is $30 / $130 = 23.08% margin.
  • Right (30% Margin): 100 / (1 - 0.30) = $142.86 → Profit is $42.86, which is exactly 30.00% of the selling price.

Accounting for Marketplace GP Fees and Sales Tax / VAT

Selling on delivery apps, e-commerce marketplaces, or B2B invoices adds two extra traps:

  1. Platform GP (Gross Profit) Commission + VAT on Fee: If a marketplace charges a 30% GP fee and applies 7% VAT to that commission, your effective fee rate is not 30% — it is 30% × 1.07 = 32.10%. To keep $100 net in your pocket, you must list at 100 / (1 - 0.321) = $147.28.
  2. Extracting Tax From a Gross Price: Removing 7% VAT from a $107.00 gross receipt is not 107 × 0.93 = $99.51. The true pre-tax base is 107 / 1.07 = $100.00.

Step-by-Step: Running Pricing Math on Paper Tape in Seconds

Opening Excel or Google Sheets for a quick supplier quote breaks your flow, while a standard phone calculator hides every previous step the moment you press =.

With ClickCalc on iPhone, iPad, or Mac, you can run exact decimal pricing math and keep a printed audit trail:

  1. Insert a Pricing Cartridge: Switch from STD (Standard Tape with TAX+ / TAX−) to the built-in E-Commerce Margin (GP%) or Tax & WHT (TAX) cartridge — both included free — or the one-time Business (BIZ) pack for full Platform GP, Markup/Margin, and Loan/DCA sheets.
  2. Enter Your Cost Once: Type your unit cost (e.g., 100) and tap +GP or +MRG. ClickCalc computes the selling price, fee/profit, and net payout using an exact Decimal engine (no floating-point rounding drift).
  3. Verify Every Line on the Paper Tape: Each calculation prints as a labeled line on the tape (Selling price, Platform GP, VAT included). Tap any previous line to re-enter its exact stored value into a new calculation.
  4. Tear Off a Slip for Your Records: Swipe sideways on the tape to tear off a clean, shareable pricing slip and save it directly to History — or drop it into chat or notes for your team.
  5. Need a Custom Formula? With ClickCalc Pro, build your own reusable .clickcalc cartridge (for example, a wholesale tier formula or specific marketplace commission rate) and share it with your staff.

Ready to ditch spreadsheet tabs for quick pricing checks?
Download ClickCalc on the App Store — Universal app for iPhone, iPad, and Mac. Free core cartridges, zero ads, and one-time upgrades with no subscriptions.