GASP
People Compensation Metrics Operational

Compa-Ratio

Compa-Ratio: Employee salary relative to market midpoint.

Formula

Compa-Ratio = Actual salary / Market midpoint × 100

Computable definition

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

avg(field.salary / field.market_midpoint)

Unit: percent (the formula yields an unscaled ratio)

Data requirements

Grain: Annual snapshot · Frequency: Annual · Aggregation: snapshot (year) · Staged: no · Main source: HRIS.

Field Dataset Type
market_midpoint employee decimal
salary employee decimal
snapshot_date employee date
Example SQL (Postgres)
SELECT (SELECT AVG((CAST(salary AS DOUBLE PRECISION) / NULLIF(market_midpoint, 0))) FROM employee WHERE snapshot_date = :period_end) AS compa_ratio

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

Try searching for:

↑↓navigate↵select