---
title: 'Build a custom AI plumbing takeoff app in Piper'
url: 'https://piper-ai.com/resources/custom-ai-plumbing-takeoff-app-piper'
description: 'Build a plumbing summary that reconciles fixture tags, separates plan and riser lengths, and keeps material, insulation and revision decisions reviewable.'
contentTypes: [guide]
publishedAt: '2026-11-30T08:57:17.604Z'
author: 'Ido Gedanken, CEO'
readingTime: 10
---

# Build a custom AI plumbing takeoff app in Piper

1. Build a reconciliation tool before building a pricing calculator.
2. Keep plan lengths, vertical segments and inferred connections separate.
3. Apply material and insulation rules to segments, not whole systems.
4. A document change should reopen affected decisions, not silently approve new quantities.

For a GC estimator checking a commercial plumbing package at DD or bid-stage CDs, the first custom tool should not calculate a grand total. It should reconcile three views of the work: fixtures by tag, pipe lengths by system and segment, and the rules that turn those quantities into a trade carry.

Build a plumbing summary that can answer: **Which quantity is measured, which is inferred, and which decision becomes unsettled when the documents change?** A clean pipe-length report is not enough if it merges underground and above-grade material, treats a riser diagram as scaled geometry, or carries insulation from an obsolete rule.

Piper lets teams describe and build tools in plain language on the same project data used by its other workflows. The construction logic below is a proposed tool specification, not a claim that a prebuilt plumbing calculator or a tested implementation already exists. [Build with Piper](https://piper-ai.com/use-cases/construction-app-builder) describes the underlying capability.

## Give the tool a reconciliation job, not a design job

Scope the first version to domestic cold water, hot water, hot-water return, sanitary waste, vent and building storm drainage. Keep specialty systems outside that first version unless the team supplies separate rules and review responsibility.

The tool should summarize the designed work and expose missing information. Do not ask it to select pipe sizes, resolve design conflicts or approve a compliant system. At DD, an undrawn connection may need an estimator's allowance. At hard bid, the same uncertainty may need a prebid question or an explicit qualification. Neither becomes a measured length merely because the app needs a number.

Use three linked registers:

- **Fixture register:** tag, type, floor, room, new/existing treatment, measured count, schedule reference, expected count if explicitly stated, and discrepancy disposition.
- **Pipe-segment register:** system, nominal size, material, location, start/end references, plan length, vertical length, inferred length, and measurement source.
- **Rule register:** rule description, applicable segments or fixtures, source clause, effective revision, exceptions, estimator treatment and reviewer.

Make valves, water heaters, drains and cleanouts separate count items. Attach companion-work questions to them rather than burying those questions in pipe LF.

This structure follows a useful interaction between primary sources. The VA's February 2024 Plumbing Design Manual requires fixture identifiers coordinated with specifications and drawings, while its riser requirements include pipe size/type, floor elevations, served fixtures and connections. UFGS 22 00 00, May 2024 with Change 1 of November 2024, separately calls for drawings to show piping configuration and location relative to floors, ceilings and ground. Together, they suggest a better summary key than “system plus diameter”: **system, size, location and physical segment identity**. These are owner-specific design references, not universal requirements for commercial projects. [VA manual, §§2.8.3 and 2.8.6](https://www.cfm.va.gov/til/dmanual/dmplbg.pdf); [UFGS drawing guidance](https://www.wbdg.org/FFC/DOD/UFGS/UFGS%2022%2000%2000.pdf).

## Compute these three outputs before adding prices

### Fixture reconciliation without inventing a schedule total

A schedule may define fixture types without stating how many are installed. Give the tool two different fields: “type found in schedule” and “quantity explicitly scheduled.” A blank quantity should stay blank, not become zero or one.

For each tag, compare the measured count with an explicitly stated quantity when available. If the schedule only defines the type, report whether each counted fixture has a matching definition. Do not report a quantity variance against an invented schedule count.

**Illustrative example:** the plan takeoff contains 18 lavatories. A project schedule explicitly lists 20. Two of the 18 are marked existing to remain. The tool should show three numbers:

- Plan occurrences: 18.
- New-work count after the stated existing treatment: 18 − 2 = 16.
- Unresolved difference between schedule quantity and plan occurrences: 20 − 18 = 2.

It should not automatically order four more fixtures to make the new-work count equal 20. The schedule's treatment of existing fixtures is still unresolved. The changed decision is whether to clarify two absent locations, correct the schedule basis, or carry a separately identified allowance.

For physical takeoff checks outside the calculator logic, use the companion guide to plumbing takeoff mistakes.

### Pipe LF with one identity across plan and riser

Make the plan and riser references describe the same physical segment where they overlap. A riser reference is evidence, not permission to add another full length.

The VA manual describes schematic diagrams and drainage isometrics with floor elevations and horizontal/vertical pipe sizes. That supports using elevations and dimensions to establish vertical extents, rather than scaling the apparent line on a schematic. [VA manual, §2.8.6](https://www.cfm.va.gov/til/dmanual/dmplbg.pdf).

**Illustrative example:** a hot-water main has 240 LF of unique horizontal plan measurements. Its riser drawing repeats 40 LF of that main and identifies four distinct vertical segments, each extending 13 feet between the relevant elevations.

The accepted physical length is:

**240 + (4 × 13) = 292 LF.**

Adding the repeated horizontal representation produces 332 LF. Ignoring the vertical segments produces 240 LF. The app should preserve 240 LF horizontal and 52 LF vertical as separate components, with the 40 LF duplicate reference excluded from the sum.

Require each vertical row to identify the system, size, endpoints and physical segment. “Four risers” is not a sufficient input if sizes change between floors or the same stack appears on multiple diagrams. An endpoint elevation difference also does not include an undimensioned offset; leave that offset as a question or a reviewed inference.

The tool logic begins after measurement. For the measurement sequence, see how to do AI plumbing takeoff.

### Material and insulation quantities from segment rules

Do not attach one material to an entire sanitary system. As an owner-specific example, the University of Georgia's current Division 22 compilation specifies PVC for under-slab sanitary piping, ductile iron for buried sanitary piping from five feet outside the building, and cast iron above grade. Its insulation section requires hot, cold and tempered water piping to be insulated unless a project-condition exception is allowed. The compilation contains sections with different dates: plumbing piping is dated July 2025; insulation is dated July 2026. [UGA Division 22, §§22 10 00 and 22 07 00](https://www.architects.uga.edu/sites/default/files/pdf/standards/2026/Division%2022%20-%20Plumbing.pdf).

The general lesson is not to copy those materials into every project. It is to require location and rule applicability before generating a material subtotal.

**Illustrative example:** one sanitary route contains 150 LF under slab, 90 LF above grade and 60 LF beyond the project's stated exterior boundary. If a project adopts the material rules just described, the summary should produce 150 LF PVC, 90 LF cast iron and 60 LF ductile iron, not 300 LF under a single material. Trade ownership remains a separate field. A material change does not establish who carries the work; use the project's actual boundary and the guide to [plumbing and site-utility scope boundaries](https://piper-ai.com/resources/plumbing-underground-scope-boundary).

For insulation, derive straight-pipe LF from accepted pipe segments, then classify each segment under the applicable insulation rule and any approved exception. Keep fitting and valve treatment separate. NASA's February 2023 UFGS 22 07 19.00 40 includes distinct provisions for pipe-fitting insulation and jacket covers for fittings, valves and flanges. It is a project-editable guide specification, not a universal instruction to apply every listed option. [NASA insulation guide, §§2.2.1.8 and 2.2.6](https://www.wbdg.org/FFC/NASA/UFGS/UFGS%2022%2007%2019.00%2040.pdf).

For the illustrative 292 LF hot-water main, an approved 12 LF exception would yield 280 LF of straight-pipe insulation. It would not establish the insulation quantity for valves and fittings. That requires their accepted counts and the applicable treatment.

## Keep allowances from becoming false measurements

Competent estimators can differ on whether to use fitting allowances during DD. The deciding issue should be whether the allowance is tied to an identifiable population and can be replaced without double counting.

Give every allowance a basis, unit, applicability and replacement rule. A fittings cost allowance expressed as a percentage of pipe material cost is not extra pipe LF. Nor is hydraulic equivalent length a purchase quantity.

**Illustrative calculator test:** the team supplies $2,400 of pipe-only material cost and an 18% fittings cost allowance. The app computes $2,400 × 0.18 = $432, separately from pipe quantities. Later, the team accepts a $510 explicit fittings subtotal covering that same population. The replacement changes the subtotal by $510 − $432 = $78. Adding both would double carry $432.

Those figures are hypothetical company inputs, not recommended allowance rates or market prices. The useful rule is “replace within the same population,” not “always use a percentage.” If an explicit count covers only one floor, retain the allowance for the uncounted floors and document that split.

Use the same discipline for small connections that are not drawn. A fixture count can supply the multiplier for an estimator-entered connection assembly, but the assembly's pipe lengths and components remain assumptions until supported. For organizing measurement items rather than custom-tool logic, see plumbing takeoff setup and formulas.

## Choose where the summary lives

A spreadsheet maintained beside the project can do this arithmetic well. The question is who maintains the links between quantities, document revisions and accepted rules.

| Decision | Spreadsheet maintained beside the project | Tool built on project data in Piper |
| --- | --- | --- |
| Source basis | Team maintains references and revision fields in the workbook | Built tools read the same project documents and takeoff quantities |
| Changed input | Team updates copied values and checks dependent formulas | Automations can run when project information changes |
| Rule treatment | Formulas and exceptions can be documented in cells | Request a rule register and exception treatment as part of the tool |
| Review | Team checks formulas, references and current inputs | Team reviews the built result like another workspace file |
| Reuse | Team distributes and maintains the workbook template | What works can be added to company project templates |

The Piper column describes its published building capabilities, not measured superiority or a tested plumbing application. [Construction app builder documentation](https://piper-ai.com/use-cases/construction-app-builder).

## Build and test the plumbing summary in Piper

Start with reviewed takeoff inputs. Piper supports manual, assisted and agentic takeoff from PDF drawings in one editable takeoff file. Assisted tools propose tracing or similar-symbol candidates that the estimator inspects and corrects; agentic takeoff accepts a measurement task and creates editable measurements for review. Scale, source geometry, item assignment and coverage still need checking. [Piper Takeoff](https://piper-ai.com/use-cases/takeoff).

Then describe the tool. This is example request text a team could type, not a completed demonstration:

> Build a plumbing takeoff summary for this project. Read the takeoff quantities, plumbing plans, fixture schedules, riser diagrams, specifications and addenda in this workspace. Create linked fixture, pipe-segment and rule registers. Group pipe LF by system, size, material and underground or above-grade location. Keep measured horizontal length, vertical length based on stated dimensions or elevations, and estimator-entered inferred length separate. Use one physical segment identity where plan and riser references overlap. Compare fixture counts only with explicit schedule quantities; otherwise check tag-to-type coverage. Show valves, water heaters, drains and cleanouts separately. Derive insulation LF only from accepted segments and applicable rules. Keep explicit fittings and cost allowances separate, with a replacement rule for overlapping populations. Link numbers to their source pages. List missing information and ask where the request is unclear. Include reviewer treatment and unresolved questions; do not treat a generated quantity as accepted.

Piper's published building workflow supports plain-language requests and changes without coding. Built tools read the same project information, including takeoff quantities, drawings, specifications, revisions and addenda, without exports or copy and paste. They remain in the workspace with its permissions and history. Those capabilities support the request; the team must still inspect whether the resulting tool implements its logic. [Build with Piper](https://piper-ai.com/use-cases/construction-app-builder).

Ask for a change-driven review workflow next:

> When a revised plumbing sheet or addendum arrives, review it against the summary's source references and rules. Identify affected fixture types, pipe segments, material classifications, insulation treatment and allowances. Prepare a change register showing the prior basis, new evidence and decisions needing review. If updated measurements are needed, identify them as outstanding rather than presenting the old quantity as current. Keep the previous accepted basis identifiable until the estimator records a new treatment.

Piper supports automations that run when something changes, and one step can hand work to the next. This requested workflow is a review specification, not a promise that receiving an addendum completes remeasurement. [Automation capability](https://piper-ai.com/use-cases/construction-app-builder).

Review the result like any other workspace file. Use the illustrative cases above as acceptance tests: no invented fixture schedule count; 292 LF without the repeated 40 LF; location-specific material subtotals; 280 LF insulation only after the stated exception; and $78 movement when fittings replace the allowance. Also test a missing endpoint elevation and a material-only addendum that leaves total LF unchanged. The latter must reopen pricing treatment even though the length variance is zero.

Once the logic works, ask Piper to add it to company templates. Reuse the register structure and review rules, not a prior project's materials, insulation exceptions or boundary assumptions. Keep interface ownership with the wider precon team, using [MEP coordination scope review](https://piper-ai.com/resources/mep-coordination-preconstruction-scope) where the quantity crosses trade packages.

The cross-trade guide to building a custom takeoff app covers the broader pattern. For plumbing, the release decision is narrower: can the team trace a subtotal through its physical segments and current rules, and see what is still unresolved?

### Can we build this plumbing summary without coding?

Yes. Piper supports describing and changing tools in plain language, then reviewing the result like another workspace file. The team still needs to define the plumbing rules, supply its estimating assumptions and test whether the built summary applies them correctly.

### Should the app calculate missing fixture connections?

Only as clearly identified, estimator-reviewed assumptions when the team supplies the connection basis. Keep inferred lengths separate from measured pipe LF. A fixture multiplier does not establish routing, pipe size or the components of a connection that the documents do not show.

### Should a revised sheet immediately change the accepted carry?

No. Request a workflow that identifies affected quantities and rules, then makes the required review visible. A document change can affect material or insulation treatment without changing LF, while changed routing can require new measurements before the team accepts a revised carry.

### What belongs in the company template?

Save the registers, grouping rules, allowance replacement logic and acceptance tests. Require each project to establish its document basis, materials, insulation rules and scope boundary. Reusing the tool should not silently reuse a previous project's estimating decisions.
