How to Determine Sample Size for Occupancy Studies
How to determine sample size for occupancy studies depends on your precision goal, expected attendance and weekday variability: set an explicit margin of error (for example ±5 percentage points at 95% confidence), convert that into person-days with the standard proportion formula, then spread observation days across multiple weeks to capture weekday effects.
How to determine sample size for occupancy studies?
Direct answer: Use a simple precision target for the attendance proportion (for example, ±5 percentage points at 95% confidence), convert that into the number of person-days you need with a standard formula, then translate person-days into calendar days given your average daily attendance. Adjust upward when you need reliable results by weekday, by team, or when reader coverage is incomplete.
Why this matters: occupancy and attendance are noisy. A single week can look very different from the next. Picking a sample size with an explicit margin of error lets you have a defensible conversation about how confident you are in typical and busy-day estimates.
How many observation days do I need to capture weekday variability?
Direct answer: Observe at least two full, non-consecutive work weeks (10 weekdays) as a practical minimum; aim for 3 to 6 weeks (15 to 30 weekdays) when weekday-by-week comparisons matter or patterns are irregular.
Explanation: Weekday patterns are often the largest source of variance in hybrid workplaces. A two-week minimum usually captures Monday–Friday cycles and a simple recurring peak (for example, busy Tuesdays), but it may miss monthly or policy-driven spikes. If your weekday profile is stable (same pattern every week) fewer days are tolerable. If your workplace shows irregular peaks or rotating schedules, plan for more weeks.
Practical note: When resources are limited, choose non-consecutive weeks that are representative: avoid holiday weeks, special events, or unusually quiet periods.
What simple rules of thumb work for quick planning?
Direct answer: Use these rules of thumb: 10 weekdays = minimum, 20 weekdays = reasonable confidence for most sites, 30+ weekdays = conservative for segmented analysis or sites with high variability.
How to apply them:
- 10 weekdays (minimum): Useful for a quick, directional read — enough to spot a weekday peak but not precise for margins of error.
- 20 weekdays (recommended): Balances effort and confidence for most operational decisions like cleaning schedules or catering levels.
- 30+ weekdays (conservative): Use this when making capacity or long-term portfolio decisions, or when your data are noisy.
These are practical rather than purely statistical rules. Use them alongside a simple calculation below if you want an explicit precision target.
How do I convert a precision target into person-days? (worked example)
Direct answer: For an attendance proportion, the usual sample formula is n = (z2 * p * (1-p)) / E2, where n is person-days, z is the z-score for your confidence level (1.96 for 95%), p is expected attendance proportion, and E is desired margin of error.
Worked example: Suppose you expect 30% of eligible staff to attend on a typical day, and you want ±5 percentage points at 95% confidence. Using z = 1.96:
- Calculation: n ≈ (1.962 * 0.3 * 0.7) / 0.052 ≈ 323 person-days.
- Translate to calendar days: if your building averages 150 people per day, 323 person-days / 150 ≈ 2.15 days. That means two to three separate observation days spread across weekdays, but remember this ignores day-to-day correlation: spread those days across multiple weeks to capture weekday effects.
When to use finite population correction: if your eligible population is small (for example under a few thousand), apply the finite population correction to reduce n slightly. For most medium-to-large office populations the simple formula is a good starting point.
When should I increase sample size for segmented teams or low reader coverage?
Direct answer: Increase sample size whenever you need reliable results for subgroups (teams, floors, or departments) or when your reader coverage detects only a fraction of occupants; each subgroup needs its own precision target and person-days estimate.
Guidance:
- Segmented teams: Decide which segments you must report separately. Each segment requires enough person-days to meet your margin of error. If a segment is small, you will need many observation days or consider grouping similar teams.
- Low reader coverage: If badge readers capture, say, 50% of building entries, you need roughly double the person-days to reach the same precision in estimates that represent the full population, because more of the variation is unexplained.
- Practical alternative: When subgroups are small, report broader categories (combined teams or floors) and be explicit about the limits of subgroup claims.
How should I prioritise sites when resources are constrained?
Direct answer: Prioritise sites where decisions depend on precise numbers: high-cost buildings, locations near capacity, and sites with unusual weekday patterns. Use sampling to get directional data from lower-priority sites.
A simple prioritisation checklist:
- Priority 1: Sites at or near capacity, or sites where a wrong decision is costly (leasing, major services). Allocate 20–30+ weekdays.
- Priority 2: Medium importance sites where operational changes are considered. Allocate 10–20 weekdays.
- Priority 3: Low-impact or satellite sites. Use 5–10 weekdays or a short representative sample.
When budget is tight, stagger studies across months: run deep studies at a few sites first, then use those patterns to choose representative weeks for other sites.
What common mistakes should I avoid?
Direct answer: Don’t plan only around averages, don’t assume badge swipes equal occupancy, and don’t ignore weekday variation or poor reader coverage when claiming precision.
Common pitfalls:
- Mistake: Treating a single week as definitive. Fix: Use at least two weeks or repeat samples separated in time.
- Mistake: Reporting subgroup results without meeting privacy or precision thresholds. Fix: Group small cohorts and state uncertainty.
- Mistake: Confusing attendance (people entering) with occupancy (desks or rooms used). Fix: Combine badge data with booking or observational snapshots for utilisation questions.
What next steps should I take after choosing a sample plan?
Direct answer: Create a simple sampling protocol, document expected margins of error, and record weekday and special-event exclusions so results are reproducible and defensible.
Checklist to finish planning:
1. Define the metric: daily headcount, unique attendees per day, or peak-in-day.
2. Set precision: choose margin of error and confidence level, or pick a rule-of-thumb cadence (10, 20, 30+ weekdays).
3. Choose days: spread observations across weekdays and weeks; avoid holidays and known anomalies.
4. Account for coverage: increase days for low reader coverage or small segments.
5. Document limits: state what your data do and do not show.
Illustrative note: BadgeIQ can help combine access-control exports and identify representative weeks, while keeping person-level records local and uploading only protected aggregates.
Finish: A defensible sample size starts with an explicit question and a clear precision goal. That makes results easier to interpret and, more importantly, easier to act on without overstating what the data prove.
Fiona Fernandes
Workplace Insights Lead
Fiona is Workplace Insights Lead at BadgeIQ, where she writes about workplace attendance, hybrid working patterns, occupancy and the data behind better workplace decisions. Her focus is on making workplace analytics practical and understandable - helping teams distinguish what the data really shows from what it’s tempting to assume.