Profit Margin

Returns the net profit margin for a company, calculated as net income divided by total revenue. This is a key profitability metric that shows how much of each dollar in revenue translates to profit.

Supported Symbols

Type Format Example
US Stocks SYMBOL AAPL, MSFT
ETFs SYMBOL SPY, QQQ

Notes

  • Value is returned as a decimal (0.25 = 25%)
  • Based on trailing twelve months (TTM) data
  • Also known as net profit margin or net margin

Syntax

=ProfitMargin(Symbol)
Excel Desktop (Windows)

Returns

number

Profit margin as a decimal (e.g., 0.25 = 25%)

Examples

=ProfitMargin("AAPL")
Apple's profit margin
=ProfitMargin("MSFT")
Microsoft's profit margin
=ProfitMargin("GOOGL")
Alphabet's profit margin
=ProfitMargin(A1)
Symbol from cell reference

When to Use

  • Analyzing company profitability
  • Comparing profit efficiency across companies
  • Screening for highly profitable stocks
  • Fundamental analysis and valuation

When NOT to Use

Scenario Use Instead
Need gross margin GrossMargin()
Need operating margin OperatingMargin()
Need EBIT margin EBITMargin()
Need pre-tax margin PreTaxProfitMargin()

Common Issues & FAQ

Why am I getting "NA"?

Check that:

  • Symbol is valid and actively traded
  • Company has reported financials
  • Symbol format is correct (no exchange suffix needed for US stocks)

Is this TTM or quarterly?

This returns trailing twelve months (TTM) profit margin.

Excel Templates Using Profit Margin

These ready-made MarketXLS templates call ProfitMargin() in their worksheet formulas. Open one to see the function working inside a complete model.

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 Profit Margin and Other Financial Formulas
How does MarketXLS work?