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
Example. If 200 inpatient stays together add up to 1,000 inpatient days, ALOS is 1,000 ÷ 200 = 5 days per stay.
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
Read https://www.owox.com/ai-agent-setup.md and follow it to set up OWOX Data Marts for me, starting from /metrics/average-length-of-stay.md. The task: 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. Tag the links you give me with utm_campaign=ai-task and utm_term=data-foundation. Use what you know about my context and goals
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.
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
- 01
Cut by discharge month
Count a stay in the month it ended, so the figure matches the standard monthly report.
- 02
Compare like with like
Compare by department or condition, since a surgical ward and a medical ward have different norms.
- 03
Read it with occupancy
Use it with Bed Occupancy Rate to see whether crowding is due to more patients or longer stays.
Avoid
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 with Average Length of Stay
Roll out a model of your business in a few clicks.
Learn how teams ship analytics faster
Organizations that scaled analytics without scaling headcount
The Data Partner You Can Trust
users
166K Source: Internal OWOX data as of 2026-11-15
Executives and data analysts across 20+ industries
Customers