Smart Finance
Margin Calculator — Calculations & Slabs for FY 2026-27
Enter your cost price and selling price -- or target margin percentage -- to instantly compute gross margin, markup, and profit amount.
$
$
📊 Margin vs. Markup Equations
Many business owners confuse margin and markup, but they measure different things. Gross margin is a percentage of revenue, while markup is a percentage increase over cost.
Core Calculations
Gross Profit = Selling Price - Cost
Gross Margin (%) = (Gross Profit / Selling Price) × 100
Markup (%) = (Gross Profit / Cost) × 100
Formulas for Specific Targets
- Calculate Selling Price from Cost and desired Margin:
Selling Price = Cost / (1 - Margin/100) - Calculate Selling Price from Cost and desired Markup:
Selling Price = Cost × (1 + Markup/100) - Calculate Cost from Selling Price and desired Margin:
Cost = Selling Price × (1 - Margin/100) - Calculate Cost from Selling Price and desired Markup:
Cost = Selling Price / (1 + Markup/100)