Every hospital statistic starts from a few counts
Hospital statistics are built from a handful of counts: inpatient days, admissions, discharges, beds and the days in the period. Many measures divide one of these counts by another; others subtract dates, as a length of stay does, or combine individual stays, as a geometric mean does.
The sources do not define the counts the same way. The Centers for Medicare & Medicaid Services (CMS) counts inpatient days for Medicare payment and cost reports. The Healthcare Cost and Utilization Project (HCUP) computes length of stay (LOS) in its databases. The National Center for Health Statistics (NCHS) reports the American Hospital Association's (AHA) method for average length of stay and occupancy. A result is right only under the definition it names, so always say whose definition you used.
CMS counts inpatient days at midnight
For CMS, a day begins at midnight and ends 24 hours later, and inpatient care is counted only in full days. Hospitals must use this midnight-to-midnight method for Medicare reporting even if they define a day differently for their own statistics.
A patient who is an inpatient at midnight is included in that night's census of the inpatient routine care area. Where the patient is at midnight does not matter: in a routine bed, in an ancillary area, or not yet placed in a routine bed since admission. A patient who used beds in two routine care areas on one day is counted only in the area where the patient was at midnight. A patient who is in an ancillary area at midnight is counted in the routine care area the patient left to go there. Maternity patients have their own counting rule.
The Medicare Benefit Policy Manual calls these counts inpatient days, and the Provider Reimbursement Manual calls them patient days. The two counts follow the same midnight rule but can differ. When a patient is admitted and transferred to another participating provider before midnight the same day, both providers count a patient day, but only the receiving provider counts a Medicare inpatient day.
How CMS counts the days of a stay
Day of admission
Counts as a full inpatient day, although the patient spends only part of it in the hospital.
Day of discharge or death
Not counted, unless it is also the day of admission. Ancillary services given on that day are still covered.
Same-day stay
When admission and discharge or death fall on the same day, the day is treated as a day of admission and counts as one inpatient day.
Leave of absence
The day a leave begins is treated as a day of discharge and is not counted unless the patient is back by midnight. The day the patient returns is treated as a day of admission and counts if the patient is present at midnight.
Transfer before midnight
A patient admitted and transferred to another participating provider before midnight of the same day is counted for a day at both providers, except for utilization. Medicare charges a day of utilization only for the admission to the second provider.
Late discharge
Fractional or full days caused by a late discharge are left out of total patient days.
Maternity patient
A maternity patient in the labor and delivery room at midnight is in the routine care census only if the patient has occupied an inpatient routine bed at some point since admission. No routine care days are counted for a maternity patient discharged without ever occupying one.
HCUP measures length of stay from the dates
HCUP computes LOS by subtracting the admission date from the discharge date. A same-day stay is therefore 0 days, and leave days are not subtracted.
For a stay that crosses midnight and has no leave, CMS's count and HCUP's LOS give the same number, because CMS counts the day of admission and not the day of discharge. Two differences are common. A same-day stay is one inpatient day for CMS and 0 days of LOS for HCUP. A leave of absence that runs past midnight lowers the CMS count but not the HCUP LOS. Other special counting rules, such as a same-day transfer between providers, can also make the two differ.
One stay, two counts
Use the count the question names.
CMS inpatient days
- Counted midnight to midnight, in full days
- The day of admission counts; the day of discharge or death does not
- A same-day stay counts as 1 day
- A day on which a leave begins is not counted unless the patient is back by midnight
HCUP length of stay
- Discharge date minus admission date
- Each discharge carries its own LOS
- A same-day stay is 0 days
- Leave days are not subtracted
Worked example
Six March discharges counted two ways
A hospital discharged six patients in March 2026. A was admitted on 1 March and discharged on 5 March. B was admitted and discharged on 2 March. C was admitted on 3 March and discharged on 10 March. D was admitted on 4 March and died on 6 March. E was admitted on 8 March, left on a leave of absence on the morning of 9 March, came back on 10 March and stayed past midnight, and was discharged on 13 March. F was admitted and discharged on 11 March. Count each stay as CMS counts inpatient days and as HCUP measures LOS.
- 1
Stays that cross midnight with no leave
A: CMS counts 1, 2, 3 and 4 March, which is 4 days; HCUP gives 5 − 1 = 4 days. C: CMS counts 3 to 9 March, 7 days; HCUP gives 10 − 3 = 7. D: CMS counts 4 and 5 March, 2 days; HCUP gives 6 − 4 = 2.
- 2
The same-day stays
B and F each count as 1 inpatient day for CMS, 2 days in all. HCUP gives each 0 days.
- 3
The stay with a leave
E: CMS counts 8 March (admission), skips 9 March (the leave began and E was not back by midnight), counts 10 March (the return, with E present at midnight), counts 11 and 12 March, and skips 13 March (discharge). That is 4 days. HCUP gives 13 − 8 = 5 days, because leave days are not subtracted.
- 4
Totals
CMS: 4 + 1 + 7 + 2 + 4 + 1 = 19 inpatient days. HCUP: 4 + 0 + 7 + 2 + 5 + 0 = 18 days of LOS.
- 5
Average per discharge
HCUP's LOS averaged over the 6 discharges is 18 ÷ 6 = 3.0 days. The CMS day count over the same discharges is 19 ÷ 6 = 3.17, or 3.2 days.
Result: The same six stays give 19 inpatient days under CMS's rules and 18 days of LOS under HCUP's. The two same-day stays add 2 days to the CMS count, and the leave of absence adds 1 day to the HCUP count.
| Patient | Admitted | Left | CMS inpatient days | HCUP LOS (days) |
|---|---|---|---|---|
| A | 1 March | 5 March | 4 | 4 |
| B | 2 March | 2 March | 1 | 0 |
| C | 3 March | 10 March | 7 | 7 |
| D | 4 March | 6 March (died) | 2 | 2 |
| E | 8 March | 13 March | 4 | 5 |
| F | 11 March | 11 March | 1 | 0 |
| Total | 19 | 18 |
E was on a leave of absence at midnight on 9 March, so CMS does not count that day; HCUP does not subtract leave days.
Average length of stay has two denominators
Average length of stay (ALOS) is the average number of days a patient stays at a facility. Sources divide by different counts.
The AHA, as NCHS reports it, divides the number of inpatient days by the number of admissions. A discharge-based ALOS follows from HCUP's definition instead. HCUP gives each discharge an LOS, so the average adds up the LOS of the patients discharged in the period and divides by the number of those discharges. HCUP's notes do not print this formula; it is derived from HCUP's LOS.
The two results can differ because they divide by different counts and draw on different patients and days. Patients still in the hospital at the end of the period add inpatient days but no discharges. Patients admitted before the period starts bring LOS days from before it into the discharge-based sum.
Two ways to average length of stay
By admissions (AHA, as NCHS reports it)
- ALOS = inpatient days ÷ admissions
- Both counts cover the same period
By discharges (from HCUP's LOS)
- ALOS = sum of the LOS of discharged patients ÷ discharges
- Each discharge's LOS is measured from its own dates
- A same-day stay adds 0 days but still adds a discharge
Average daily census and occupancy
Average daily census is the average number of inpatients per day. For a year, NCHS computes it as inpatient days divided by 365.
NCHS, reporting the AHA's figures, defines the occupancy rate as the estimated percentage of staffed beds that are occupied. It divides the average daily census by the number of hospital beds. Multiply the result by 100 to state it as a percentage.
Worked example
A year at a 150-bed hospital
In 2025, a 365-day year, a community hospital with 150 staffed beds recorded 43,800 inpatient days and 9,600 admissions. It discharged 9,500 patients, whose LOS added up to 44,650 days. Find ALOS both ways, the average daily census and the occupancy rate, each to one decimal place.
- 1
ALOS by admissions (AHA, as NCHS reports it)
43,800 ÷ 9,600 = 4.5625, or 4.6 days.
- 2
ALOS by discharges (from HCUP's LOS)
44,650 ÷ 9,500 = 4.7 days.
- 3
Average daily census (NCHS)
43,800 ÷ 365 = 120.0 patients.
- 4
Occupancy rate (NCHS)
120.0 ÷ 150 = 0.800, or 80.0%.
Result: ALOS is 4.6 days by admissions and 4.7 days by discharges. The hospital averaged 120.0 inpatients a day, an occupancy rate of 80.0% by NCHS's definition.
CMS counts beds through bed days available
CMS's cost report counts beds through bed days available: the number of beds available throughout the period multiplied by the number of days in the period. If the number of available beds changes during the period, each part of the period is multiplied by the beds available in that part, and the products are added.
Medicare's regulation on indirect medical education payments counts a hospital's beds the same way. It takes the available bed days in the cost reporting period and divides them by the number of days in the period. The cost report instructions for Worksheet E, Part A, line 4, divide the bed days available by the number of days in the cost reporting period: 365, or 366 in a leap year. The regulation uses this bed count in the hospital's ratio of residents to beds.
What counts as a bed
A bed
An adult or pediatric bed, or a newborn intensive care bed, maintained in a patient care area for lodging inpatients. Newborn bassinets are not beds.
Not a bed
Beds in postanesthesia and postoperative recovery rooms, outpatient areas, emergency rooms, ancillary departments and staff residences, and in other areas used for only part of a stay or not for lodging inpatients. Labor and delivery beds have their own rules.
An available bed
The cost report instructions for Worksheet S-2, line 15, define available beds as beds permanently maintained for lodging inpatients, available for use and housed in patient rooms or wards. They exclude beds in corridors and temporary beds.
Bed days the indirect medical education count leaves out
Unused units
Beds in a unit or ward not occupied to provide care payable under the acute care inpatient prospective payment system (IPPS) at any time in the 3 preceding months.
Units that cannot open quickly
Beds in a unit or ward that could not be made available for inpatient occupancy within 24 hours for 30 consecutive days.
Excluded units
Beds in excluded distinct part hospital units.
Beds used for other services
Beds used for outpatient observation services, skilled nursing swing-bed services or inpatient hospice services.
Healthy newborn nursery
Beds or bassinets in the healthy newborn nursery.
Custodial care
Custodial care beds.
Two occupancy formulas, and when they agree
NCHS divides the average daily census by staffed beds. With CMS's figures, the matching measure is inpatient days divided by bed days available. No federal source in this course prints that second formula. It follows from CMS's bed count: dividing the average daily census by the bed count gives (inpatient days ÷ days in the period) ÷ (bed days available ÷ days in the period), and the days in the period cancel.
The two give the same result when the same beds are counted for the whole period. They part when the number of beds changes during the period, which CMS prorates, or when staffed beds and available beds are different numbers.
Worked example
A bed count that changes mid-year
A hospital's cost reporting period is 2025, a 365-day year. It had 100 beds available from 1 January to 30 June (181 days) and 110 from 1 July to 31 December (184 days), and it recorded 30,660 inpatient days. Find the bed days available, CMS's bed count, and occupancy computed against bed days available and against the 110 beds in place at year end.
- 1
Bed days available (CMS)
100 × 181 = 18,100, and 110 × 184 = 20,240. Bed days available = 18,100 + 20,240 = 38,340.
- 2
Bed count (CMS)
38,340 ÷ 365 = 105.04 beds.
- 3
Occupancy against bed days available
30,660 ÷ 38,340 = 0.7997, or 80.0%.
- 4
Average daily census
30,660 ÷ 365 = 84.0 patients.
- 5
Occupancy against the year-end beds
84.0 ÷ 110 = 0.7636, or 76.4%.
Result: Prorated bed days put occupancy at 80.0%. Dividing the same census by the 110 beds in place at year end gives 76.4%, because it treats the extra 10 beds as available all year. Dividing the census by CMS's bed count gives 84.0 ÷ 105.04 = 0.7997, or 80.0% again.
MS-DRG tables publish two mean lengths of stay
Table 5 of the fiscal year (FY) 2027 IPPS final rule lists each Medicare severity diagnosis-related group (MS-DRG) with its relative weight and two mean lengths of stay: the geometric mean and the arithmetic mean.
The arithmetic mean adds the stays and divides by their number. The Centers for Disease Control and Prevention (CDC) defines the geometric mean as the mean of a set of data measured on a logarithmic scale. For positive values, take the logarithm of each value, average the logs, then take the antilog of that average. Multiplying the n values together and taking the nth root gives the same result.
The geometric mean dampens the effect of extreme values. It is less sensitive than the arithmetic mean to one or a few very long stays. It is never larger than the arithmetic mean, and the two are equal only when every value is the same.
Worked example
Five stays in one MS-DRG
Five discharges in one MS-DRG had LOS of 2, 2, 2, 8 and 16 days. Find the arithmetic mean and the geometric mean, to one decimal place.
- 1
Arithmetic mean
(2 + 2 + 2 + 8 + 16) ÷ 5 = 30 ÷ 5 = 6.0 days.
- 2
Geometric mean from the product
2 × 2 × 2 × 8 × 16 = 1,024. The fifth root of 1,024 is 4, because 4 × 4 × 4 × 4 × 4 = 1,024. The geometric mean is 4.0 days.
- 3
Geometric mean from logarithms
The base-2 logarithms of the stays are 1, 1, 1, 3 and 4. Their sum is 10 and their mean is 10 ÷ 5 = 2. The antilog is 2² = 4.0 days, the same result.
Result: The arithmetic mean is 6.0 days and the geometric mean 4.0 days. The single 16-day stay pulls the arithmetic mean up much further than the geometric mean.
How CMS pays a short transfer by the geometric mean
- 1
Compare the stay with the GMLOS
Under the post-acute care transfer policy, when a patient is transferred and the LOS is shorter than the geometric mean length of stay (GMLOS) for the case's MS-DRG, the transferring hospital is generally paid a graduated per diem instead of the full MS-DRG payment.
- 2
Find the per diem
Divide the full MS-DRG payment by the GMLOS.
- 3
Pay the days
The first day is paid at twice the per diem, and each later day at the per diem.
- 4
Apply the cap
The total never exceeds the full MS-DRG payment that would have been made had the patient been discharged without a transfer.
- 5
Special payment MS-DRGs
For MS-DRGs whose costs fall early in the stay, the first day is paid at 50 percent of the full MS-DRG payment plus the per diem, and later days at the per diem. An MS-DRG meets the criteria when its GMLOS is more than 4 days and its 1-day discharges average at least 50 percent of the average charges for all its cases. When one MS-DRG meets them, every MS-DRG that shares its base MS-DRG qualifies too.
Try it
Compare like with like
An analyst finds that your hospital's ALOS for 2026 is 4.4 days, computed from discharge records with HCUP's LOS. The state's figure, computed by the AHA's method, is 4.7 days. She concludes that your patients stay shorter than the state average. What should you check before accepting that?
Hint: Look at what each figure divides, and at how each counts a same-day stay.
The two figures use different definitions. The AHA divides inpatient days by admissions; the discharge-based figure divides the summed LOS of discharged patients by discharges. HCUP also counts a same-day stay as 0 days, so a hospital with many same-day stays averages lower on HCUP's measure than on a count that gives each such stay a day. Recompute your hospital's ALOS with the AHA's method, inpatient days divided by admissions for 2026, before comparing.