Skip to content

Main content

Housing Unit Accessible Share Rounding Tool

Calculate housing unit accessible share rounding from explicit caller-supplied inputs.

Loading tool…

Description

Round units*requiredFraction upward to integer required and return additional=max(0,required-existingAccessible).

A planning scenario combines parcel dimensions, frontage, service space, and explicitly supplied rules. Gross, excluded, and counted areas can use different bases. A geometric result describes the chosen model while site conditions and the governing requirements need separate verification.

Round units*requiredFraction upward to integer required and return additional=max(0,required-existingAccessible).

When to use this tool

Use Housing Unit Accessible Share Rounding when you need the stated geometric or planning-indicator term under supplied site dimensions and rule choices.

How to use the tool and how it works

  1. Enter units, requiredFraction, existingAccessible. 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 required, additional. Use the output convention below.

Round units*requiredFraction upward to integer required and return additional=max(0,required-existingAccessible). Require nonnegative integer units, existing count within units, and fraction within zero through one.1

Input fieldMeaning and unitsAccepted input
unitsUnitsRequired. Safe integer; minimum 0.
requiredFractionSupplied required unit fraction, rounded upward after multiplication.Required. Finite number; minimum 0; maximum 1.
existingAccessibleExisting AccessibleRequired. Safe integer; minimum 0.
Output fieldInterpretationReturned shape
requiredRequiredRequired. Safe integer.
additionalAdditionalRequired. Safe integer.
json
{
  "input": {
    "units": 37,
    "requiredFraction": 0.1,
    "existingAccessible": 2
  },
  "output": {
    "required": 4,
    "additional": 2
  }
}

Limitations and assumptions

  • The fraction and existing accessible count are supplied. This rounding does not select an accessibility requirement or establish that any unit meets a legal design standard.
  • The field tables state structural bounds; the mechanics also specify cross-field constraints. Malformed inputs and unsupported domains cause errors. A successful false flag, empty branch value, or zero placeholder has the meaning stated above and is distinct from an input error.
  • 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. Signed zero is exported as zero.

Alternative or Complementary methods

Use measured site geometry and the applicable authoritative definitions when a planning decision needs more than this supplied term. A complete layout, access, or structural review can require additional models.

References

  1. Calculation and input contract: urban-planning/housing-unit-accessible-share-rounding — tool.io

Similar or alternative tools