Plumbing Trap Arm Length Calculator
Audit actual trap-arm length and independently measured fall under verified assembly-specific limits; not generic slope calculation, universal code or trap-seal protection certification.
Description
A trap-arm catalog can provide separate limits for developed length and fall.
A trap-arm catalog can provide separate limits for developed length and fall. Checking both dimensions preserves the limiting margin.1
The returned values include Signed caller trap length margin m, Signed caller trap fall margin m, Meets both caller trap arm limits. The How section below explains the calculation, input rules and interpretation.
When to use Plumbing Trap Arm Length Calculator
Use Plumbing Trap Arm Length Calculator when you need to evaluate the supplied records under the calculation and evidence rules below. No diameter-based code rule, trap geometry or field certification is inferred.
Prepare measured flows, pressures, temperatures or inventories with consistent units. For catalog tools, use independently verified capacities at the stated operating conditions and supply the explicit design demand.
How to use Plumbing Trap Arm Length Calculator and understand its results
- Prepare measured flows, pressures, temperatures or inventories with consistent units. For catalog tools, use independently verified capacities at the stated operating conditions and supply the explicit design demand.
- Enter callerTrapAssemblyIds, callerVerifiedMaxTrapArmLengthsM, callerVerifiedMaxTrapArmFallsM, queryTrapAssemblyId, observedTrapArmLengthM, observedTrapArmFallM using the field table and calculation rules, then run the tool.
- Read signedCallerTrapLengthMarginM, signedCallerTrapFallMarginM, meetsBothCallerTrapArmLimits. The explanation below defines the units, signs, ordering and any flags or placeholder values.
- If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
| Input field | Meaning | Value type; see rules below | Requirement |
|---|---|---|---|
| callerTrapAssemblyIds | Caller trap assembly ids | list of string | Required |
| callerVerifiedMaxTrapArmLengthsM | Caller verified max trap arm lengths m | list of number | Required |
| callerVerifiedMaxTrapArmFallsM | Caller verified max trap arm falls m | list of number | Required |
| queryTrapAssemblyId | Query trap assembly id | string | Required |
| observedTrapArmLengthM | Observed trap arm length m | number | Required |
| observedTrapArmFallM | Observed trap arm fall m | number | Required |
Enter aligned nonempty unique nonblank IDs with nonnegative length and fall limits, an exact existing query ID and nonnegative observed dimensions. Return both signed margins and a joint inclusive compliance flag.
lengthMargin=maxLength−observedLength; fallMargin=maxFall−observedFall Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.
| Output field | Meaning | Value type |
|---|---|---|
| signedCallerTrapLengthMarginM | Signed caller trap length margin m | number |
| signedCallerTrapFallMarginM | Signed caller trap fall margin m | number |
| meetsBothCallerTrapArmLimits | Meets both caller trap arm limits | boolean |
{
"input": {
"callerTrapAssemblyIds": [
"a",
"b"
],
"callerVerifiedMaxTrapArmLengthsM": [
1,
2
],
"callerVerifiedMaxTrapArmFallsM": [
0.05,
0.1
],
"queryTrapAssemblyId": "a",
"observedTrapArmLengthM": 0.8,
"observedTrapArmFallM": 0.06
},
"output": {
"signedCallerTrapLengthMarginM": 0.19999999999999996,
"signedCallerTrapFallMarginM": -0.009999999999999995,
"meetsBothCallerTrapArmLimits": false
}
} Limitations and assumptions
No diameter-based code rule, trap geometry or field certification is inferred.
Numeric inputs, where present, must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Numeric lists are limited to 10,000 entries; string lists to 128 strings of at most 128 characters each. The rules above may impose smaller limits. Extremely large text inputs are rejected. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors. A successfully returned false flag is an evaluated outcome; its meaning is explained above.
Alternative or Complementary methods
Use Plumbing Vent Pipe Sizing Calculator: Vent selection compares served fixture units and developed length against a caller catalog. A candidate must satisfy both limits. For a complementary task, use Plumbing Sewer Slope Calculator: Downstream sewer slope is the fall in invert elevation divided by station distance. A rise produces a negative slope.
References
-
Plumbing Trap Arm Length Calculator — tool.io
Similar or alternative tools
- Plumbing Vent Pipe Sizing Calculator
Vent selection compares served fixture units and developed length against a caller catalog. A candidate must satisfy both limits.
- Plumbing Sewer Slope Calculator
Downstream sewer slope is the fall in invert elevation divided by station distance. A rise produces a negative slope.