{
  "id": "compa-ratio",
  "version": "227e66fbcf99",
  "status": "published",
  "name": "Compa Ratio Calculator",
  "question": "What is my compa ratio?",
  "summary": "Works out the compa-ratio (pay ÷ the pay range midpoint, as a percent) and the range penetration (where pay sits between the range minimum and maximum).",
  "category": "finance",
  "subcategory": "tax-and-pay",
  "url": "https://www.acalculator.org/finance/compa-ratio-calculator",
  "markdown": "https://www.acalculator.org/finance/compa-ratio-calculator.md",
  "kind": "function",
  "method": "Midpoint = the typed midpoint, or (range minimum + range maximum) ÷ 2. Compa-ratio = pay ÷ midpoint × 100. Range penetration = (pay − minimum) ÷ (maximum − minimum) × 100.",
  "assumptions": [
    "Pay and the range are in the same terms (yearly salary, or an hourly rate), base pay only.",
    "Arithmetic is exact on the typed decimals; percents show to 2 decimals and money to the cent, halves rounded up."
  ],
  "inputs": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "pay": {
        "title": "Pay",
        "description": "The employee’s salary or pay rate, in the same terms as the range (a year, or an hour).",
        "type": "number",
        "x-unit": "USD",
        "minimum": 0.01,
        "maximum": 1000000000000
      },
      "min": {
        "title": "Range minimum",
        "description": "The lowest pay of the range or grade. Optional with a midpoint.",
        "type": "number",
        "x-unit": "USD",
        "minimum": 0,
        "maximum": 1000000000000
      },
      "max": {
        "title": "Range maximum",
        "description": "The highest pay of the range or grade. Optional with a midpoint.",
        "type": "number",
        "x-unit": "USD",
        "minimum": 0.01,
        "maximum": 1000000000000
      },
      "mid": {
        "title": "Midpoint or market rate",
        "description": "The range midpoint or target market rate. Optional: empty is halfway between the minimum and maximum.",
        "type": "number",
        "x-unit": "USD",
        "minimum": 0.01,
        "maximum": 1000000000000
      }
    }
  },
  "outputs": {
    "compa": {
      "label": "Compa-ratio",
      "description": "Pay ÷ midpoint × 100.",
      "format": "percent"
    },
    "ratio": {
      "label": "As a ratio",
      "description": "Pay ÷ midpoint, where 1.00 is pay at the midpoint.",
      "format": "number"
    },
    "penetration": {
      "label": "Range penetration",
      "description": "(Pay − minimum) ÷ (maximum − minimum) × 100: 0% at the minimum, 100% at the maximum. Shown when both are typed.",
      "format": "percent"
    },
    "midpoint": {
      "label": "Midpoint used",
      "description": "The typed midpoint, or (minimum + maximum) ÷ 2.",
      "format": "money"
    },
    "gap": {
      "label": "Pay above the midpoint",
      "description": "Pay − midpoint; below 0 when pay is under the midpoint.",
      "format": "money"
    }
  },
  "defaultAnswer": {
    "inputs": {
      "pay": 65000,
      "min": 48333,
      "max": 82971
    },
    "outputs": {
      "compa": 99.00688478644976,
      "ratio": 0.9900688478644977,
      "penetration": 48.11767423061378,
      "midpoint": 65652,
      "gap": -652
    },
    "text": "Pay of $65,000.00 against a $65,652.00 midpoint is a compa-ratio of 99.01%."
  },
  "examples": [
    {
      "given": {
        "pay": 65000,
        "mid": 70000
      },
      "expect": {
        "compa": 92.85714285714286,
        "ratio": 0.9285714285714286,
        "mid": 70000,
        "gap": -5000
      },
      "source": "University of Wisconsin–Madison, School of Medicine and Public Health HR, Compensation Glossary of Terms (compa-ratio and position in range examples), https://kb.wisc.edu/smphhr/105906: $65,000 ÷ $70,000 = 92.857…% (the page cuts it to 92.85%)"
    },
    {
      "given": {
        "pay": 65000,
        "min": 48333,
        "max": 82971
      },
      "expect": {
        "penetration": 48.11767423061378,
        "mid": 65652,
        "compa": 99.00688478644976,
        "gap": -652
      },
      "source": "University of Wisconsin–Madison, School of Medicine and Public Health HR, Compensation Glossary of Terms (compa-ratio and position in range examples), https://kb.wisc.edu/smphhr/105906: position in range (65,000 − 48,333) ÷ (82,971 − 48,333) = 48.12%; New Mexico State Personnel Board, 1.7.1.7 NMAC, definitions I (compa-ratio) and W (midpoint), https://www.srca.nm.gov/parts/title01/01.007.0001.html (midpoint halfway); hand calculation in content.mdx; Python 3 check in docs/progress/WP-137/xcheck.py"
    },
    {
      "given": {
        "pay": 24.5,
        "min": 20,
        "max": 30
      },
      "expect": {
        "compa": 98,
        "ratio": 0.98,
        "penetration": 45,
        "mid": 25,
        "gap": -0.5
      },
      "source": "New Mexico State Personnel Board, 1.7.1.7 NMAC, definitions I (compa-ratio) and W (midpoint), https://www.srca.nm.gov/parts/title01/01.007.0001.html; hand calculation in content.mdx; Python 3 check in docs/progress/WP-137/xcheck.py: midpoint 25; 24.50 ÷ 25 = 98%; (24.50 − 20) ÷ 10 = 45%"
    }
  ],
  "sources": [
    "University of Wisconsin–Madison, School of Medicine and Public Health HR, Compensation Glossary of Terms (updated 2025-09-02): compa-ratio = pay rate ÷ market rate, with the $65,000 ÷ $70,000 example; position in range = (pay − range minimum) ÷ (range maximum − range minimum), with the $48,333 to $82,971 example (48.12%); a market competitive range of 85% to 115% compa-ratio. https://kb.wisc.edu/smphhr/105906 (retrieved 2026-10-19)",
    "New Mexico State Personnel Board, 1.7.1.7 NMAC, definitions: compa-ratio is pay as a percent of the midpoint of a pay band; the midpoint is midway between the minimum and maximum and is a compa-ratio of 100%. https://www.srca.nm.gov/parts/title01/01.007.0001.html (retrieved 2026-10-19)",
    "University of Colorado Boulder, Human Resources, Glossary of Compensation Terms: compa-ratio = pay rate ÷ grade midpoint; position in range (range penetration). https://www.colorado.edu/hr/compensation/compensation-strategy/glossary-compensation-terms (retrieved 2026-10-19)"
  ],
  "related": [
    "salary",
    "pay-raise",
    "hourly-to-salary"
  ],
  "changelog": []
}
