GASP
Finance Profitability Metrics Outcome

Net Income Margin

Net Income Margin: Net income as a percentage of revenue.

Formula

Net Income Margin = Net Income / Revenue × 100

Computable definition

The canonical formula in the GASP formula grammar. The MCP server compiles it to SQL over the datasets listed below.

sum(field.net_income) / metric.revenue_gaap

Unit: percent (the formula yields an unscaled ratio)

Data requirements

Grain: Monthly aggregate · Frequency: Monthly · Aggregation: aggregate (month) · Staged: no · Main source: Finance / ERP.

Field Dataset Type
net_income financials decimal
period_start financials date
revenue financials decimal
Example SQL (Postgres)
SELECT (CAST((SELECT COALESCE(SUM(net_income), 0) FROM financials WHERE period_start >= :period_start AND period_start <= :period_end) AS DOUBLE PRECISION) / NULLIF(((SELECT COALESCE(SUM(revenue), 0) FROM financials WHERE period_start >= :period_start AND period_start <= :period_end)), 0)) AS net_income_margin

From an agent: with the GASP MCP server, call lookup_metric({ "name": "Net Income Margin" }) or generate_query({ "metric": "Net Income Margin", "adapter": "<your adapter JSON>" }).

What It Tells You

Bottom line profitability.

Try searching for:

↑↓navigate↵select