40.00% is the example result. COGS should describe the goods or services sold in the same period as revenue. Gross margin does not deduct all operating expenses.
Gross margin measures the share of revenue left after cost of goods sold (COGS). Enter revenue and the corresponding direct cost total to review product economics. Operating expenses are outside this calculation.
What belongs in the cost figure
COGS should correspond to the goods or services behind the revenue entered. Use the same period and a consistent treatment of returns, discounts and direct costs. The calculator uses your total without checking its accounting classification. Confirm that classification with the records used for your business reporting.
Compare like-for-like product economics
Use a supplier price change or a revised selling price as a separate scenario. Hold the other input constant so the reason for the movement remains visible. A stronger gross margin does not establish stronger net profit if overhead or other expenses also rise.
Read the result alongside volume
Gross margin is a percentage, not the total cash generated by sales. A high-margin product with low sales can contribute less money than a lower-margin product with substantial volume. Review the revenue less COGS amount alongside the percentage before changing product priorities.
Example with the supplied inputs
Revenue: 50000; COGS: 30000. Result: 40.00%. The values are illustrative.
Compare one changed input
Revenue changes from 50000 to 55000. The result becomes 45.45%. All other inputs remain fixed.
Calculation rule
Gross margin (%) = (revenue − cost of goods sold) ÷ revenue × 100.
Inputs and output
| Input | Example value | Entry convention |
|---|---|---|
| Revenue | 50000 | Use revenue on the currency and period basis shown by the formula. Keep gross amounts, net amounts and unit amounts distinct; the page does not fetch a price or exchange rate. |
| COGS | 30000 | Use the source quantity represented by cogs. Keep the counted population fixed and avoid mixing a unit value with a period total. |
Output: 40.00% is the example result. COGS should describe the goods or services sold in the same period as revenue. Gross margin does not deduct all operating expenses. Use the formula to distinguish a cash amount, count, percentage or ratio.
How to use the page
Collect the inputs
Gather Revenue, COGS. Use one period and the units shown in the form.
Run the calculation
Enter the values and select the action. The calculation rule above explains how the inputs produce the result.
Compare a scenario
Change Revenue on its own, keeping the other inputs fixed. Read both results before changing another assumption.
Worked example
With the example inputs listed above, the result is 40.00%.
Change Revenue from 50000 to 55000 while keeping every other value fixed. The result becomes 45.45%. This comparison isolates that input; it does not forecast how other variables will respond.
Check the stated formula, units and limits before using the result in a decision.
Keep the displayed formula, input units and model scope with the result. Corrections or questions can be sent through the request section on this page.
