Margin & Markup Calculator
Calculate profit margin and markup percentage from cost and selling price, or solve for any missing field with instant two-way recalculation.
Pricing Inputs
Currency
Gross Margin
Markup: 50.0%
Cost
$100.00
Revenue
$150.00
Profit
$50.00
Cost vs Profit Share of Revenue
Advertisement
Overview
The Margin & Markup Calculator lets business owners, freelancers, and product managers convert freely between cost, selling price, profit, gross margin percentage, and markup percentage. Adjust any single value and every other field recalculates instantly, so you can model pricing scenarios without ever reaching for a spreadsheet.
Formula
The calculator uses the standard gross-profit relationships:
1. Profit = Selling Price − Cost 2. Margin % = (Profit / Selling Price) × 100 3. Markup % = (Profit / Cost) × 100 4. Selling Price from Markup = Cost × (1 + Markup %) 5. Selling Price from Margin = Cost / (1 − Margin %)
Practical Example
A retailer buys a product for $$40 and applies a 50% markup. The selling price becomes $$40 × 1.50 = $$60. Profit is $$20. The resulting margin is $$20 / $$60 × 100 = 33.3%. Reversing the scenario, targeting a 33.3% margin on the same $$40 cost yields a selling price of $$40 / (1 − 0.333) = $$60, confirming both paths agree.