Skip to main content

    Profit margin calculator

    Gross Profit Margin Calculator

    This gross profit margin calculator shows how much of each sales dollar a company keeps after the direct cost of what it sold, then works out its operating, net and EBITDA margins too. Enter a ticker to fill revenue and profit from the company's latest annual income statement, or calculate profit margin from your own numbers.

    Free to use. No account or sign-up needed.

    Your numbers

    Fills in revenue, cost of revenue, operating income, net income and depreciation from the company's latest annual income statement.

    Total sales for the period, before any costs.

    The direct cost of what was sold, also called cost of goods sold (COGS).

    Profit after operating costs, before interest and taxes. A loss is negative.

    Profit after every cost, interest and tax. A loss is negative.

    Added to operating income for EBITDA. Leave it empty to skip the EBITDA margin.

    Use the same unit for every amount, such as dollars or millions of dollars.

    Results

    ResultValue
    Gross profit margin40.00%
    Gross profit$16.00B
    Operating margin15.00%
    Net profit margin10.00%
    EBITDA margin20.00%
    EBITDA$8.00B

    On $40.00B of revenue, gross profit of $16.00B is a 40.00% gross profit margin. The operating margin is 15.00% and the net profit margin is 10.00%. The EBITDA margin is 20.00%.

    Gross profit margin formula

    Gross profit is revenue minus cost of revenue, the direct cost of the goods or services a company sold. For a manufacturer that means materials, factory labor and plant costs. For a retailer it is mostly what it paid for the goods on its shelves.

    The gross profit margin formula divides gross profit by revenue and multiplies by 100. A 40% gross margin means the company keeps 40 cents of every sales dollar after making or buying what it sold, before it pays for sales staff, research, offices, interest and taxes.

    Gross margin is a measure of pricing power and production cost. A company that can charge more than its rivals for the same cost, or make the same product for less, shows it here first.

    A worked example

    Say a company sold $40.00B last year and the goods it sold cost $24.00B to make. Gross profit is $40.00B minus $24.00B, or $16.00B, and $16.00B divided by $40.00B is a 40.00% gross profit margin.

    After its other operating costs it kept $6.00B of operating income, a 15.00% operating margin. After interest and taxes, $4.00B of net income is a 10.00% net profit margin.

    Adding back $2.00B of depreciation and amortization gives $8.00B of EBITDA, a 20.00% EBITDA margin.

    Other profit margins

    Operating margin is operating income divided by revenue. Operating income is gross profit minus operating costs such as selling, general and administrative spending and research, so the operating margin shows what the core business earns before interest and taxes.

    Net profit margin is net income divided by revenue. It is what most people mean when they ask how to calculate profit margin: the share of revenue left after every cost, interest payment and tax. One-time gains or charges can push it up or down in a single year.

    EBITDA margin adds depreciation and amortization back to operating income before dividing by revenue. Those charges spread the cost of past spending on equipment and acquired assets over many years, so EBITDA margin sits closer to the cash the operations bring in, though it ignores the money needed to replace that equipment.

    To see how many years of EBITDA would pay off net debt, use the net debt calculator.

    Good profit margins

    There is no single good number, because margins follow the business model. Software and drug makers often keep most of each sales dollar as gross profit, while grocers, retailers, distributors and car makers keep far less and earn their return on volume.

    As a rule of thumb, compare a company with peers in the same industry and with its own past. A gross margin that holds steady or rises over several years usually says more than one high reading, and a falling margin is worth a closer look at prices and costs.

    Read the margins together. A wide gap between gross and operating margin points to heavy selling or research spending, and a wide gap between operating and net margin points to interest, taxes or one-time items.

    Using a ticker

    Enter a ticker to fill the fields from the company's newest annual income statement on file at GNG. Revenue, operating income and net income are the reported figures. Cost of revenue is revenue minus the reported gross profit, so the gross margin matches the company's own gross profit line.

    Depreciation and amortization is the EBITDA on file minus operating income, so the EBITDA here agrees with the net debt calculator for the same company. Every filled field stays editable, and a figure that is not on file stays empty for you to enter.

    Fields fill only for companies that report in US dollars. Funds have no income statement of their own. Banks, insurers and other lenders do not report a cost of revenue the way other companies do, so their gross margin needs care.

    What the calculator assumes

    • Every amount covers the same period, usually one fiscal year, and uses one unit.
    • Cost of revenue is the direct cost of what was sold, as the company reports it.
    • EBITDA here is operating income plus depreciation and amortization.
    • Losses stay negative, so a margin can be below 0%.
    • The margins describe a past period. They do not predict future results or the share price.

    Gross profit margin calculator FAQ

    What is gross profit margin?

    Gross profit margin is the share of revenue a company keeps after paying the direct cost of what it sold. It shows how much each sales dollar leaves to cover operating costs, interest, taxes and profit.

    How do you calculate gross profit margin?

    Subtract cost of revenue from revenue for gross profit, divide gross profit by revenue and multiply by 100. In the example, $40.00B of revenue less $24.00B of cost leaves $16.00B, a 40.00% gross profit margin.

    What is a good gross profit margin?

    It depends on the industry. Software and drug makers often keep most of each sales dollar, while grocers, retailers and car makers keep far less. Compare a company with peers in its own industry and with its own past margins.

    How do you calculate profit margin?

    Profit margin usually means net profit margin: net income divided by revenue, multiplied by 100. In the example, $4.00B of net income on $40.00B of revenue is a 10.00% net profit margin. Gross and operating margin use gross profit and operating income instead.

    What is the difference between gross margin and net margin?

    Gross margin takes out only the direct cost of what was sold. Net margin takes out every cost, including operating costs, interest and taxes, so it is usually lower: 40.00% against 10.00% in the example. Non-operating gains or tax benefits can lift net margin above gross margin.

    What is operating margin?

    Operating margin is operating income divided by revenue, multiplied by 100. It is what is left after the cost of revenue and operating costs such as selling, research and administration, before interest and taxes. In the example it is 15.00%.

    How do you calculate EBITDA margin?

    Add depreciation and amortization to operating income for EBITDA, then divide by revenue and multiply by 100. In the example, $6.00B plus $2.00B is $8.00B of EBITDA, a 20.00% EBITDA margin.

    Is this gross profit margin calculator free?

    Yes. It is free to use with no account or sign-up. The ticker fill reads revenue and profit from the company's reported annual income statement, and all the math runs in your browser.

    Screen stocks in the Research Terminal and track a portfolio with a free GNG account.

    Sign Up Free

    This calculator is for education and is not investment advice. Margins describe a past year and are not a forecast, and the numbers you enter or GNG fills in can contain errors. Read our disclosures.