Domain 4 /

How are hospital statistics counted?

By the endCompute hospital census, occupancy and length-of-stay statistics, naming whose definition each result follows.

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. 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. 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. 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. 4

    Totals

    CMS: 4 + 1 + 7 + 2 + 4 + 1 = 19 inpatient days. HCUP: 4 + 0 + 7 + 2 + 5 + 0 = 18 days of LOS.

  5. 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.

The six March 2026 stays, counted both ways
PatientAdmittedLeftCMS inpatient daysHCUP LOS (days)
A1 March5 March44
B2 March2 March10
C3 March10 March77
D4 March6 March (died)22
E8 March13 March45
F11 March11 March10
Total1918

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. 1

    ALOS by admissions (AHA, as NCHS reports it)

    43,800 ÷ 9,600 = 4.5625, or 4.6 days.

  2. 2

    ALOS by discharges (from HCUP's LOS)

    44,650 ÷ 9,500 = 4.7 days.

  3. 3

    Average daily census (NCHS)

    43,800 ÷ 365 = 120.0 patients.

  4. 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. 1

    Bed days available (CMS)

    100 × 181 = 18,100, and 110 × 184 = 20,240. Bed days available = 18,100 + 20,240 = 38,340.

  2. 2

    Bed count (CMS)

    38,340 ÷ 365 = 105.04 beds.

  3. 3

    Occupancy against bed days available

    30,660 ÷ 38,340 = 0.7997, or 80.0%.

  4. 4

    Average daily census

    30,660 ÷ 365 = 84.0 patients.

  5. 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. 1

    Arithmetic mean

    (2 + 2 + 2 + 8 + 16) ÷ 5 = 30 ÷ 5 = 6.0 days.

  2. 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. 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. 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. 2

    Find the per diem

    Divide the full MS-DRG payment by the GMLOS.

  3. 3

    Pay the days

    The first day is paid at twice the per diem, and each later day at the per diem.

  4. 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. 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.

02 / Questions

Answer 9 questions

Check 1 of 9recall · easy

Under the Medicare Benefit Policy Manual's rules for counting inpatient days, how many inpatient days does a hospital count for a patient admitted at 8 a.m. and discharged home at 6 p.m. the same day?

Check 2 of 9scenario · easy

Using the Healthcare Cost and Utilization Project (HCUP) definition of length of stay (LOS), what is the total LOS, in days, of two discharges? Patient A was admitted on 28 January 2026 and discharged on 3 February 2026. Patient B was admitted and discharged on 3 February 2026. Neither took a leave of absence.

Check 3 of 9scenario · medium

In April 2026 (30 days), the daily midnight census counts of a hospital's adult medical unit add up to 540. Each count was taken at the midnight that ends its day. During April, 6 patients were admitted to the unit and discharged home on the same day, and 45 other patients were discharged from it. No patient took a leave of absence. Counting days as the Centers for Medicare & Medicaid Services (CMS) does, how many inpatient days did the unit have in April?

Check 4 of 9scenario · medium

In 2026, a hospital recorded 31,200 inpatient days and 6,500 admissions. It discharged 6,400 patients, whose lengths of stay added up to 32,640 days. Using the American Hospital Association (AHA) method that the National Center for Health Statistics (NCHS) reports, what was the average length of stay (ALOS), to one decimal place?

Check 5 of 9scenario · easy

In 2025, a 365-day year, a community hospital had 29,200 inpatient days, 125 staffed beds and 150 licensed beds. Using the occupancy rate as the National Center for Health Statistics (NCHS) computes it from the American Hospital Association's survey, what was the hospital's occupancy rate, to one decimal place?

Check 6 of 9scenario · hard

A hospital's cost reporting period is 2025, a 365-day year. It had 120 beds available from 1 January to 31 March (90 days) and 140 beds available from 1 April to 31 December (275 days), and it recorded 36,500 inpatient days. Counting bed days available as the Centers for Medicare & Medicaid Services (CMS) cost report instructions do, and computing occupancy as inpatient days divided by bed days available, what was the occupancy rate, to one decimal place?

Check 7 of 9scenario · hard

Five Medicare discharges grouped to one Medicare severity diagnosis-related group (MS-DRG) had lengths of stay of 2, 2, 2, 4 and 16 days. MS-DRG tables publish a geometric and an arithmetic mean length of stay. Using the Centers for Disease Control and Prevention (CDC) method for a geometric mean, what is the geometric mean length of stay of these five discharges, to one decimal place?

Check 8 of 9scenario · hard

Under the post-acute care transfer policy described in the fiscal year (FY) 2027 inpatient prospective payment system final rule, a hospital transfers a patient after a length of stay of 2 days. The case's Medicare severity diagnosis-related group (MS-DRG) is subject to the policy but not to its special payment method. The full MS-DRG payment would be $12,000, and Table 5 lists a geometric mean length of stay of 4.0 days and an arithmetic mean of 4.8 days. Ignoring outlier payments, what does the transferring hospital receive, to the nearest dollar?

Check 9 of 9recall · medium

A hospital is counting its available bed days to set its bed count under 42 CFR 412.105(b), the Medicare rule for indirect medical education payments. Which beds' days does the rule exclude from the count?

03 / Recall

Answer without looking back

Give the formula for average length of stay as the AHA computes it, for the occupancy rate as NCHS computes it, and for bed days available as CMS counts them. Then say how CMS and HCUP each count a same-day stay.

Primary reading

Read the relevant section

Provider Reimbursement Manual Part 1, Chapter 22: Determination of Cost of Services to Beneficiaries (Transmittal 502) · §2205 and §2205.1, printed p. 22-16 ↗
Sources used in this lesson
  1. Provider Reimbursement Manual Part 1, Chapter 22: Determination of Cost of Services to Beneficiaries (Transmittal 502), §2205.1, Days of Admission and Discharge, printed p. 22-16 ↗Centers for Medicare & Medicaid Services
  2. Medicare Benefit Policy Manual, Chapter 3: Duration of Covered Inpatient Services (Pub. 100-02), §20.1, Counting Inpatient Days ↗Centers for Medicare & Medicaid Services
  3. HCUP NIS Description of Data Elements: LOS - Length of stay, cleaned (NIS notes), LOS, General Notes ↗Agency for Healthcare Research and Quality, Healthcare Cost and Utilization Project
  4. NHSN Patient Safety Component Manual, Chapter 16: General Key Terms, January 2026, Key Terms, Patient days, printed p. 16-6 ↗Centers for Disease Control and Prevention, National Healthcare Safety Network
  5. NHSN Patient Safety Component Manual, Chapter 4: Bloodstream Infection Event (CLABSI and non-central line BSI), January 2026, Table 7, Denominator Data Collection Methods, printed p. 4-22 ↗Centers for Disease Control and Prevention, National Healthcare Safety Network
  6. Average length of stay (Health, United States, Sources and Definitions), Average length of stay (Sources and Definitions) ↗National Center for Health Statistics
  7. Health, United States, 2017, Table 91: Occupancy rates in community hospitals and average annual percent change, by state, Table 91, footnote 1 ↗National Center for Health Statistics
  8. Provider Reimbursement Manual Part 2, Chapter 40: Hospital and Hospital Health Care Complex Cost Report, Form CMS-2552-10, instructions (Transmittal 25), §4005.1, Worksheet S-3 Part I, column 2 ↗Centers for Medicare & Medicaid Services
  9. 42 CFR 412.105, Special treatment: hospitals that incur indirect costs for graduate medical education programs (eCFR, current as of 2026-11-24), 42 CFR 412.105(b)(1) to (6) ↗Office of the Federal Register and U.S. Government Publishing Office (eCFR)
  10. Medicare Program; Hospital Inpatient Prospective Payment Systems for Acute Care Hospitals and the Long-Term Care Hospital Prospective Payment System and Policy Changes and Fiscal Year 2027 Rates (91 FR 49570, CMS-1849-F), Addendum section VI, title of Table 5, 91 FR 50408 ↗Centers for Medicare & Medicaid Services (Federal Register)
  11. Principles of Epidemiology in Public Health Practice, Third Edition: An Introduction to Applied Epidemiology and Biostatistics (SS1978), Lesson 2, Properties and uses of the geometric mean, printed p. 2-32 ↗Centers for Disease Control and Prevention
Glossary terms used in this lesson
Medicare
A national program the federal government administers, made up of Part A (Hospital Insurance), Part B (Medical Insurance), Part C (Medicare Advantage) and Part D (Prescription Drug Benefit).
Medicaid
A network of statewide programs that the federal and state governments fund. Each state administers its own program within broad federal guidelines, and each sets its eligibility standards, the type, amount, duration and scope of services, and payment rates.
CMSCenters for Medicare & Medicaid Services
The organization that administers Medicare, Medicaid and other federal health care programs and services.
IPPSInpatient Prospective Payment System
Medicare's payment system for acute inpatient hospital care. Hospitals that contract with Medicare accept predetermined IPPS rates as full payment, and Medicare pays an IPPS payment per inpatient case or discharge.
MS-DRGMedicare Severity Diagnosis-Related Group
Under the IPPS, a group of similar clinical conditions and services requiring similar resource use, to which each inpatient discharge is assigned. Principal diagnosis, secondary diagnoses, procedures, sex, age and discharge status determine the assignment; there are 768 MS-DRGs for FY 2027.
relative weight
The weight assigned to each MS-DRG, representing the average resources used to treat cases in that MS-DRG compared with the average for all MS-DRGs. Medicare multiplies the wage-adjusted standardized amount by it and adjusts the weights annually.
GMLOSGeometric mean length of stay
Geometric mean length of stay for an MS-DRG. When a transferred patient's stay is shorter than it, the transferring hospital is generally paid a per diem of the full MS-DRG payment ÷ GMLOS: twice the per diem for the first day and the per diem for each later day, up to the full payment.
NCHSNational Center for Health Statistics
The federal statistics agency that, with CMS, provides the official guidelines for coding and reporting with ICD-10-CM. The official version of ICD-10-CM is published on its website.
HCUPHealthcare Cost and Utilization Project
AHRQ's databases: nationwide databases (NIS, KID, NASS, NEDS and NRD) and state-specific databases (SID, SASD and SEDD), used to identify, track and analyze trends in health care utilization, access, charges, quality and outcomes.
geometric mean
The average of logarithmic values, converted back to the base. It tends to dampen the effect of extreme values and is less sensitive than the arithmetic mean to one or a few extreme values.
inpatient days
Medicare's count of days of care, in full days from midnight to midnight. The day of admission counts; the day of discharge or death does not, unless it is also the day of admission, when the stay counts as one day.
LOSLength of stay
In HCUP databases, the discharge date minus the admission date. Same-day stays are therefore coded 0, and leave days are not subtracted.
ALOSAverage length of stay
The average number of days a patient stays at a facility. The American Hospital Association computes it as the number of inpatient days ÷ the number of admissions.
average daily census
For a year, inpatient days ÷ 365, as NCHS computes it for the occupancy rate.
occupancy rate
The estimated percentage of staffed beds that are occupied: the average daily census (inpatient days ÷ 365) ÷ the number of hospital beds, as NCHS reports the American Hospital Association's data.
bed days available
On the Medicare cost report, the number of beds available throughout the period × the number of days in the period. When the bed count changes, each part of the period is multiplied by the beds available in it.