Skip to content

Finance & analysis

Gross-margin calculator

Calculate gross profit and gross margin from revenue and cost of goods sold.

For owners checking contribution after cost of goods sold.

XLSX
A sunlit wildflower meadow and a river leading toward distant peaks

Calculate with your assumptions

Ordinary arithmetic in your browser. No account, AI request, or usage charge. Starting values are a fictional example.

Revenue for one defined period, in your chosen currency.

Use the same period and currency as revenue.

Optional: build a deeper model in Workspace

Start with your brief

Prepare the request here, then review it in Workspace before starting. Add files securely after signing in.

Revenue for one defined period, in your chosen currency.

Use the same period and currency as revenue.

Your text stays out of links and analytics. This draft is kept in this tab for up to 24 hours; finish sign-in in the same tab. Kona’s existing account allowance applies.

What you can request

Calculate gross profit and gross margin from revenue and cost of goods sold.

Start with the required details, then add files and authorized context in Workspace. Review progress, revise the result, and export the supported format that fits your task. Your account’s existing usage limits apply.

  • A margin percentage is undefined when revenue is zero. Costs greater than revenue correctly produce a negative margin.

How to use gross-margin calculator

Enter revenue and cost of goods sold for the same period and currency. Be explicit about which costs belong in cost of goods sold.

Gross profit equals revenue minus cost of goods sold. Gross margin divides that profit by revenue, while markup uses cost as the denominator.

Inspect how price, mix, and input costs change the result. A gross margin is not net profit because operating expenses and other items remain outside the calculation.

What to check before using the result

The calculation does not include operating expenses, interest, or tax.

  • Match periods.
  • Keep the cost definition consistent.
  • Do not substitute markup for margin.

Inspect a worked example

Prepared fictional example · not a live AI run or customer story

Starting information

Revenue
10000
Cost of goods sold
4000

Prepared output excerpt

  1. Gross profit: 10,000 − 4,000 = 6,000.
  2. Gross margin: 6,000 / 10,000 = 60%.

The calculation does not include operating expenses, interest, or tax.

Questions about this workflow

Can gross margin be negative?

Yes. If the supplied cost of goods sold exceeds revenue, gross profit and margin are negative.

What happens at zero revenue?

The calculator reports gross profit but leaves the percentage undefined rather than dividing by zero.

Sources and scope

Methods and product boundaries reviewed 2026-10-11. The example is a prepared fixture; it is not proof of a live provider run.

Continue with the next decision