Skip to content
Unitly

Gross Margin Calculator

Gross margin is the share of revenue left after direct product costs — the first checkpoint of pricing power and cost control.

Inputs

Results

Gross margin

57.0%

Gross profit
$23,000

Formula

Gross Margin = (Revenue − COGS) ÷ Revenue

FAQ

What's a healthy gross margin?

Software often runs 70–85%, retail 25–50%, services vary widely. The right comparison is your industry and your own trend.

How do I improve it?

Three levers: raise prices, reduce product costs, or shift the mix toward higher-margin offerings.