Skip to content
FinCalcHub

Gross Margin Calculator

Business

Gross margin strips out everything but the direct cost of what you sell, revealing how much each sale contributes before overheads — enter revenue and COGS to see it instantly.

In short: The Gross Margin Calculator is a free online tool that lets you find gross profit and gross margin from your revenue and cost of goods sold — instantly, with charts, a worked example and the exact formula.

Gross margin

40%

Gross profit

₹40,000

COGS share

60%

of revenue

Revenue, COGS and gross profit

How much of your revenue is direct cost and how much is gross profit.

Gross profit breakdown

Gross profit breakdown
MetricAmount
Revenue₹1,00,000
Cost of goods sold₹60,000
Gross profit₹40,000

Gross profit is revenue left after only the direct cost of goods sold.

How the Gross Margin Calculator works

Formula

Gross profit = Revenue − COGS • Gross margin = Gross profit / Revenue × 100
Revenue
Net sales, excluding GST
COGS
Direct cost of goods sold
Gross profit
Revenue minus COGS

Step-by-step calculation

Worked with the default values.

  1. 1

    Gross profit

    ₹1,00,000 − ₹60,000

    = ₹40,000

  2. 2

    Gross margin

    Gross profit ÷ Revenue × 100

    = 40%

  3. 3

    COGS share

    COGS ÷ Revenue × 100

    = 60%

How it works

  • Gross profit is revenue minus only the direct cost of producing what you sold (COGS).
  • Gross margin turns that profit into a percentage of revenue you keep before overheads.
  • The COGS share is the mirror image — the slice of every rupee eaten by direct costs.

Examples

₹1,00,000 in sales with ₹60,000 of COGS

₹40,000 gross profit → a 40% gross margin; COGS is 60% of revenue.

A trader selling ₹5,00,000 of goods bought for ₹3,50,000

₹1,50,000 gross profit → a 30% gross margin.