Gross Margin Calculator
Calculate gross margin percentage, gross profit and cost ratio from revenue and COGS.
Gross Margin Calculator
Change any value and calculate again.
Stock Profit Calculator by Ticker
Choose a listed stock and enter your own buy and sell prices.
Company names and symbols are taken from a Nasdaq listing snapshot. Stock prices, dividends, and live financial data are not supplied by this calculator.
The calculation
Gross profit = selling price − cost of goods sold; gross margin = gross profit ÷ selling price × 100.
Read the full guide →Know the limitations
Gross margin excludes selling expenses, taxes and other operating costs.
Results are estimates derived from your inputs.
When to use a gross margin calculator
Calculate gross margin percentage, gross profit and cost ratio from revenue and COGS.
All assumptions are visible and adjustable. Check rates and underlying data against original sources before making a decision.