Case mix index is the total MS-DRG relative weight of your discharges divided by the discharge count. The formula, a worked example and four common mistakes.
Case mix index (CMI) is calculated by adding up the MS-DRG relative weights of all inpatient discharges in a period and dividing by the number of discharges. The result is the average relative weight per stay. CMS defines a hospital's CMI exactly this way, using all of its Medicare discharges.
CMI = sum of MS-DRG relative weights ÷ number of discharges
For what makes the number go up or down, see what actually moves case mix index.
Step by step
- Pick the period and population. A fiscal year, quarter or month, and either Medicare only or all payers.
- Group every discharge to its final MS-DRG using one grouper version.
- Look up the relative weight for each MS-DRG in Table 5 of the IPPS final rule for that fiscal year.
- Add up the weights.
- Divide by the number of discharges.
Worked example
A small hospital has 10 Medicare discharges in a month. The weights below are illustrative, not FY 2027 values.
| Discharges | MS-DRG family tier | Relative weight | Total weight |
|---|---|---|---|
| 4 | Medical, without CC/MCC | 0.80 | 3.20 |
| 3 | Medical, with CC | 1.10 | 3.30 |
| 2 | Medical, with MCC | 1.60 | 3.20 |
| 1 | Surgical | 3.50 | 3.50 |
| 10 | 13.20 |
CMI = 13.20 ÷ 10 = 1.32
A CMI of 1.32 means the average stay that month was weighted 32 percent above a stay with a relative weight of 1.0.
Four mistakes that skew the number
| Mistake | What goes wrong | Fix |
|---|---|---|
| Mixing grouper versions | Weights change every October 1, so a year that crosses it mixes two scales | Regroup both periods with one version before comparing |
| Comparing all-payer to Medicare CMI | Different patient populations; not comparable | Compare like with like |
| Ignoring transfers | CMS also publishes a transfer-adjusted CMI that counts early transfers as partial cases | Know which version you're quoting |
| Small samples | One transplant or tracheostomy moves a monthly CMI sharply | Use rolling quarters or longer |
Doing it in a spreadsheet
Most hospitals calculate CMI from an abstract export with one row per discharge. Add the fiscal year's relative weight to each row with a lookup against Table 5 on the MS-DRG number, then divide the sum of the weight column by the count of rows. The same file can be filtered to give CMI by service line, by attending physician or by payer, which is far more useful than a single hospital-wide figure.
Two checks keep the spreadsheet honest. Confirm that every row matched a weight, since a blank lookup quietly drops a case from the sum but not the count. And confirm that the grouper version on the export matches the weight table you're using.
Medicare vs all-payer CMI
CMS publishes each hospital's CMI from Medicare discharges, with and without transfer adjustment. For FY 2027, the values are in Table 2 of the IPPS final rule, listed by CMS Certification Number.
Many hospitals also calculate an all-payer CMI by applying MS-DRG weights to every discharge. It's useful for internal trending, but it isn't comparable to CMS's figure, and payers that use APR-DRGs weight cases differently.
Get the inputs right
CMI is only as accurate as the MS-DRG on each claim, and the MS-DRG depends on the principal diagnosis and the CCs and MCCs behind it. MEDIQCODE uses AI-assisted coding with coder sign-off: each stay's severity-driving diagnoses are shown with their supporting record evidence, so the weights that feed CMI are ones you can defend.
Related questions
Where do I find MS-DRG relative weights?
In Table 5 of the IPPS final rule for each fiscal year, posted on CMS's IPPS final rule page. The weights take effect for discharges on or after October 1.
What is a good case mix index?
There's no single benchmark. CMI reflects the services a hospital provides, so compare against your own trend and against hospitals with similar service lines.
Does a higher CMI mean higher payment?
Usually, because MS-DRG payments scale with relative weight. But payment also depends on the hospital's wage index, add-on payments, transfer adjustments and outliers, so revenue doesn't move one for one with CMI. Treat CMI as a measure of case complexity, not a revenue forecast.
Does CMI include outpatient or observation stays?
No. CMI covers inpatient discharges grouped to MS-DRGs. Observation and outpatient encounters aren't included, which is why moving short stays to observation can raise CMI.
This article is general coding education, not a coding determination for any specific encounter.