📉 Margin Calculator • modern UI
💱 Currency
?
🧩 Amount unit
?
🛠️ Inputs (enter any two)
💸 Cost
?
Money
$
📐 Margin
?
💵 Revenue
?
Money
$
📊 Profit
?
Money
$
📊 Results (auto)
⚡ Quick summary
Enter any two fields above to compute the rest.
🧩 Step-by-step derivation
Waiting for input…
📚 Reference formulas
Core relationships:
Profit = Revenue − Cost
Margin (decimal) = Profit ÷ Revenue
Margin (%) = (Profit ÷ Revenue) × 100
Revenue = Cost ÷ (1 − Margin)
Cost = Revenue × (1 − Margin)
Profit = Margin × Revenue
These are standard gross margin identities widely used in finance/accounting texts.