Gross Profit

Returns the gross profit, calculated as total revenue minus cost of goods sold (COGS). This represents the profit before operating expenses.

Calculation

Gross Profit = Revenue - Cost of Goods Sold

Supported Symbols

Type Format Example
US Stocks SYMBOL AAPL, MSFT
ETFs SYMBOL SPY, QQQ
Canadian SYMBOL:CA SHOP:CA

Notes

  • Value is in the company's reporting currency (usually USD)
  • Uses trailing twelve months data
  • Shows profitability at the product level

Examples

=GrossProfit("AAPL")
Apple gross profit
=GrossProfit("MSFT")
Microsoft gross profit
=GrossProfit("GOOGL")
Alphabet gross profit
=GrossProfit(A1)
Symbol from cell reference
=GrossProfit("AAPL")/1e9
Convert to billions

When to Use

  • Product profitability analysis
  • Manufacturing efficiency
  • Gross margin calculation
  • Industry comparison
  • Trend analysis

When NOT to Use

Scenario Use Instead
Need gross margin (%) GrossMargin()
Need operating income EBIT/operating functions
Need net income hf_Net_Income()
Need total revenue Revenue()

Common Issues & FAQ

Q: How do I calculate gross margin from this? A: Gross Margin = GrossProfit / Revenue

Q: Why is the number so large? A: Values are in dollars. Divide by 1000000000 for billions.

Q: What's included in COGS? A: Direct costs of production including materials, direct labor, and manufacturing overhead.

Get Access to 1 Billion Usable Market data points IN YOUR EXCEL SHEETS WITH EASY TO USE EXCEL FUNCTIONS

Get started today
MarketXLS Excel Add-in Tutorial - How to Use Gross Profit and Other Financial Formulas
How does MarketXLS work?