> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kitospace.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Capacity

> Configure how many guests a unit can hold using the adults / children / infants composition, and understand how capacity is inherited from the unit type.

## Overview

The **Capacity** section on a unit's settings page controls how many guests the unit can
hold. Capacity is a **composition**, not a single number — you set the maximum number of
each guest kind separately:

* **Adults**
* **Children**
* **Infants**

The unit's **total capacity** is *derived* from these three values. Splitting capacity
this way lets you describe real-world sleeping arrangements precisely — for example, a unit
that sleeps two adults plus a cot for one infant.

## Why a Composition?

A single "max guests" number can't express who a unit is actually equipped for. The
composition captures the difference between, say, a studio for two adults and a family unit
for two adults, two children, and an infant — even if both happen to sleep the same head
count. Reservations and availability use the composition to match the right guests to the
right unit.

## Inheritance: Capacity Comes From the Unit Type

Capacity usually comes from the unit's **type** rather than being set on each individual
unit:

1. **This unit's own override** — a composition set directly on this unit, if any.
2. **Inherited from the unit type** — used when the unit has no override of its own.

The settings card makes the active source explicit with a **“Inherited from \<unit
type>” badge** when the unit is using its type's capacity. This means you can define
capacity once on the unit type and have every unit of that type share it.

## Setting an Override

Setting a composition here creates an **override** that applies to **this unit only**.
Other units of the same type keep inheriting the type's capacity — your override does not
affect them.

Keep these principles in mind:

* **Define capacity on the unit type for the common case.** If most units of a type hold
  the same number of guests, set it once on the type and let every unit inherit.
* **Override only the exceptions.** A single larger or smaller unit within a type is a good
  reason to override; a whole floor of identical units is not.
* **Check the derived total.** After setting adults, children, and infants, confirm the
  total capacity reads as you expect before relying on it for bookings.

## Common Use Cases

* **Uniform units** — set the composition on the unit type and leave every unit inheriting;
  no per-unit configuration needed.
* **An accessible or family unit** — override the composition on that specific unit (for
  example, adding capacity for children or an infant) while the rest of the type is
  unchanged.
* **A smaller variant** — override downward on a unit that holds fewer guests than its type
  default.

## Related

* [Creating & Managing Units](/docs/units/creating-units)
* [Roles & Permissions](/docs/units/roles-and-permissions)
* [Check-in & Check-out](/docs/units/check-in-checkout)
