How to Calculate Gross Profit and Gross Profit Margin

Written by True Tamplin, BSc, CEPF®

Reviewed by Subject Matter Experts

Updated on March 29, 2023

Get Any Financial Question Answered

Define Gross Profit and Gross Profit Margin

Gross profit is the total earnings retained after subtracting the cost of goods sold from a company's revenue, presented as a dollar value.

Gross profit margin is the gross profit presented as a percentage of a company's revenue.

Formula for Gross Profit

The formula for gross profit is:

  • Gross Profit = Revenue - Cost of Goods Sold


  • Revenue is equal to net sales, or total sales less returns, discounts, and rebates.
  • Cost of goods sold is the variable costs associated with each unit of production.
  • Revenue is income earned by a company prior to any expenses. It is known as the "top line" because it's the top line on an income statement, whereas net profit is referred to as the "bottom line" because it is the bottom line on an income statement.

The cost of goods sold are the costs incurred necessary to fulfill orders and do not include fixed costs, which are costs that will be incurred regardless of whether a unit is produced.

Examples of expenses included in the cost of goods sold are:

  • Hourly labor
  • Materials for production
  • Equipment used in production
  • Packaging
  • Sales commissions
  • Shipping and fulfillment

Formula for Gross Profit Margin

Gross profit is used to calculate gross profit margin. The gross profit margin formula is:

  • Gross Profit Margin = Gross Profit / Revenue

Gross profit margin (or just "gross margin" ) is gross profit as a percentage of a company's revenue.

Implications of Gross Profit Margin

Since the cost of producing goods is an inevitable expense, some investors view gross margin as a measure of a company's overall ability to generate profit.

The margin remaining after subtracting the cost of goods sold is used to pay for all other expenses, and if the company is profitable, the money left over is known as "net profit."

How to Calculate Gross Profit and Gross Profit Margin FAQs

About the Author

True Tamplin, BSc, CEPF®

True Tamplin is a published author, public speaker, CEO of UpDigital, and founder of Finance Strategists.

True is a Certified Educator in Personal Finance (CEPF®), author of The Handy Financial Ratios Guide, a member of the Society for Advancing Business Editing and Writing, contributes to his financial education site, Finance Strategists, and has spoken to various financial communities such as the CFA Institute, as well as university students like his Alma mater, Biola University, where he received a bachelor of science in business and data analytics.

To learn more about True, visit his personal website or view his author profiles on Amazon, Nasdaq and Forbes.

Discover Wealth Management Solutions Near You