Average Length of Stay (ALOS)

Metric · 2 min read · Unit: Duration · Published November 27, 2026

Average length of stay (ALOS): formula and how to calculate it

Average Length of Stay (ALOS) is the average number of days a patient spends in the hospital per inpatient stay. It shows how quickly care and discharge move.

Formula

ALOS=Inpatient DaysNumber of Inpatient Stays

Example. If 200 inpatient stays together add up to 1,000 inpatient days, ALOS is 1,000 ÷ 200 = 5 days per stay.

Try it

ALOS—

Hand this to your AI

Your average length of stay mixes routine admissions with complex cases, so a longer stay never tells you which ward or condition is holding beds.

Paste this into your AI assistant. With OWOX Data Marts, it calculates average length of stay from your admission and discharge records, split by department and diagnosis group, and shows the trend next to readmissions.

The prompt

calculate average length of stay for inpatient stays from my admission and discharge records, by department and diagnosis group, by month, with the 30-day readmission rate beside it

Overview

What it is

Average Length of Stay (ALOS) is the mean number of days per inpatient stay. Outpatient and emergency visits are not counted. When there is no inpatient stay in the selection, the metric has no value.

Why it matters

Each extra day in a bed ties up capacity, staff and cost. Shorter stays free beds for other patients, but a stay cut too short can bring readmissions. ALOS lets a hospital see how efficiently care moves from admission to discharge, by department and over time.

How it is calculated

Add up the days of all inpatient stays, then divide by the number of inpatient stays. Leave outpatient and emergency visits out of both sides.

Good and bad values

A good value

A good ALOS is one that is appropriate for the case mix. Compare departments and conditions with themselves over time. A stable or falling ALOS, with no rise in readmissions, shows that discharge flow is working.

A bad value

A rising ALOS can reflect delayed discharges, waiting for tests or beds elsewhere, or sicker patients. A falling one is not automatically good: check that patients are not being sent home too soon.

Do and avoid

Do

  1. 01

    Cut by discharge month

    Count a stay in the month it ended, so the figure matches the standard monthly report.

  2. 02

    Compare like with like

    Compare by department or condition, since a surgical ward and a medical ward have different norms.

  3. 03

    Read it with occupancy

    Use it with Bed Occupancy Rate to see whether crowding is due to more patients or longer stays.

Avoid

  1. Including outpatient or emergency visits dilutes the figure. Dividing by all encounters instead of inpatient stays does the same. Mixing admission dates and discharge dates between periods produces numbers that cannot be compared.

Data Model Templates

Data Model Templates with Average Length of Stay

Roll out a model of your business in a few clicks.

Customer stories

Trust

The Data Partner You Can Trust

users

166K Source: Internal OWOX data as of 2026-11-15

Executives and data analysts across 20+ industries

G2 rating

4.9★2

“A trusted data analytics partner” — verified review

npm installs

171K3

In Open Source We Trust

Customers

We use OWOX data to develop regional KPIs.

© Vladimir Panasenko, Head of Digital Marketing

OWOX provides us with app data that we can actually trust.

© Domas Raulinaitis, Head of Performance Marketing