Skip to content

Main content

Maternity Class Seat Session Capacity Tool

Calculate maternity class seat session capacity from explicit caller-supplied inputs.

Loading tool…

Description

Multiply sessions by seats, subtract reserved and unavailable, and divide the available total by positive groupSize into completeGroups and leftoverSeats.

Capacity accounting divides available indivisible units into complete groups and a remainder. Aggregate capacity can hide layout, scheduling, or item-compatibility constraints.

Multiply sessions by seats, subtract reserved and unavailable, and divide the available total by positive groupSize into completeGroups and leftoverSeats.

When to use this tool

Use Maternity Class Seat Session Capacity when you need a bounded kit, seat, or well-capacity calculation.

How to use the tool and how it works

  1. Enter sessions, seats, reserved, unavailable, groupSize. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read availableSeats, completeGroups, leftoverSeats. Use the output convention below.

Multiply sessions by seats, subtract reserved and unavailable, and divide the available total by positive groupSize into completeGroups and leftoverSeats.1

Input fieldMeaning and unitsAccepted input
sessionsSessionsRequired. Safe integer; minimum 0.
seatsSeatsRequired. Safe integer; minimum 0.
reservedReservedRequired. Safe integer; minimum 0.
unavailableUnavailableRequired. Safe integer; minimum 0.
groupSizeGroup SizeRequired. Safe integer; minimum 1.
Output fieldInterpretationReturned shape
availableSeatsAvailable SeatsRequired. Safe integer.
completeGroupsComplete GroupsRequired. Safe integer.
leftoverSeatsLeftover SeatsRequired. Safe integer.
json
{
  "input": {
    "sessions": 4,
    "seats": 10,
    "reserved": 5,
    "unavailable": 3,
    "groupSize": 6
  },
  "output": {
    "availableSeats": 32,
    "completeGroups": 5,
    "leftoverSeats": 2
  }
}

Limitations and assumptions

  • Aggregated seat-sessions may not correspond to people attending every session; scheduling and accessibility constraints are not modeled.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Check the actual layout and item requirements before treating aggregate spare capacity as usable capacity.

References

  1. Calculation and input contract: midwifery/maternity-class-seat-session-capacity — tool.io

Similar or alternative tools

  • Lab Plate Unused Well Budget Term

    Count rows × columns wells, reserve controls + standards, and require samples × replicates sample wells.

  • Relief Kit Split Package Remainder

    Multiply packages by contentsEach, require a safe-integer total and reserve no greater than that total, then divide the remainder by positive kitSize into completeKits and remainder.