Public calculation model registry
Calculation Methods
Each calculation starts with measured boundaries and a named reference. These methods explain how the inputs determine spacing, piece geometry, and cutting references, and which additional choices are needed before purchasing material.
Wallpaper and panel infill calculation reference
These fixed examples use the same calculation functions as the interactive tools. Download the inputs, assumptions, unrounded results and restore links as JSON. The file also includes the two same-survey stair compositions and the source-backed manufactured-panel takeoff. Visitor projects are never included.
Wallpaper rolls come from strips and pattern phase
For each wall, round wall width divided by usable roll width up to a whole number of strips. Each cut covers the measured height plus the entered top and bottom trim. Before the next cut, allow enough roll length to reach its required pattern phase.
The fixed example uses a 120 in × 96 in wall and a 20.5 in × 396 in physical roll. It needs 6 strips, each cut 100 in long, and budgets 2 rolls before spares.
The example uses straight match and a 21 in repeat. Unknown roll-head phase reserves one full repeat at each new roll. This allowance is a purchase budget; align the actual pattern rather than cutting off a fixed allowance blindly. Doors and windows are displayed as cutouts without reducing full-height strips or assuming reuse of short offcuts.
Open this exact wallpaper roll example →From a visible opening to a panel blank
A panel extends into its frame grooves. On each side, engagement equals the measured groove depth minus the clearance you chose for that edge. Add both engagements to the visible width or height to obtain the rectangular cut blank.
Cut width
opening width + left engagement + right engagementCut height
opening height + top engagement + bottom engagementIn this hypothetical raised-panel example, 4 panels have visible openings of 26.25 in × 32 in. The entered groove details produce blanks of 26.875 in × 32.625 in. These are calculated dimensions, not measurements from a completed installation.
The section has a flush back and straight shoulder. Tongue thickness, tongue-band width, body thickness and shoulder run are supplied by the user. Material movement, a particular cutter profile, joint strength and interrupted or sloped infill need their own details.
Open this exact panel assembly example →Check how a changed assumption changes the order
In the fixed 12 × 10 ft wallpaper room, separate wall starts require 22 strips and 8 physical rolls. Treating its perimeter as one continuous wall would give 20 strips and 7 rolls. The comparison uses random match to isolate width rounding; the continuous wall is a counterfactual, not a recommended room order.
The two baseboard rooms each have 120 ft² of floor area, but need 41 ft and 43 ft after the same doorway deduction. Neither length budget determines boards or cuts.
- Four wall starts versus one continuous perimeter · Open the first fixed example
- Actual roll width and length · Open the first fixed example
- Unknown versus verified roll-head phase · Open the first fixed example
- User spare rolls and package rounding · Open the first fixed example
- Equivalent physical-roll, package and quoted-unit prices · Open the first fixed example
- Same floor area, different baseboard length · Open the first fixed room
The tool tables state each controlled input and limitation. Package rounding, chosen spares and hypothetical price labels are separate decisions; the JSON retains all six comparisons and their native restore links.
Shared measurement and result rules
Required geometry
Finished pieces and positions calculated from the entered measurements. A manufacturing blank can be larger than the visible piece.
Spare material
The selected reserve is separate from installed demand and from material lost to cuts and end trimming.
Stock estimate
Pieces are grouped by compatible material profile and checked against the entered stock, kerf, and end trims. A suggested grouping does not prove an optimal order.
Physical baseline
Every wall, run, or opening keeps its own named zero; coordinates are not accumulated across separate walls.
Internal calculations retain unrounded physical coordinates. This page formats numeric facts to at most three decimal places; the calculator may use a selected fraction or decimal display. The ≈ symbol identifies rounding. A tiny numerical closure tolerance is a software check, not a claim that a tape measure or installed wall is accurate to that tolerance.
Material readiness is separate from a valid drawing. Missing profiles, unknown cut rules, or a piece longer than usable stock can leave procurement incomplete. A joint must be explicitly supported and located before it can divide a long piece.
The read-only machine projection is available at calculation-methods.json. It contains fixed public examples only and never includes user projects.
Check a worked case in the calculator
- Choose a model below and open its worked example. The link loads the same public measurements used for that card.
- Compare the input reference, units and results before changing a dimension. A rounded display can differ from the unrounded values in the JSON.
- Replace the example measurements with your own. Recheck the result and any unresolved material or fitting conditions.
The page update date covers these explanations and links. Dates in the model cards describe when those model records were first published or revised; editing this page does not revise every model.
Board & Batten spacing
- Model ID
- board-spacing-v1
- Engine version
- 1
- Project format
- 2
- Model record published
- Sep 2, 2026
- Model record revised
- Sep 8, 2026
Formula or rule: (W − n × face) ÷ (n − 1) for edge battens; divide by n + 1 for equal end gaps.
Inputs
- Wall width
- 120 in in the worked example; replace with measured values.
- Batten face
- 2½ in in the worked example; replace with measured values.
- Finished batten length
- 96 in in the worked example; replace with measured values.
Calculation steps
- Choose an integer count or target gap.
- Calculate each mark from the same wall-left zero.
- Clip measured openings while retaining connected notches.
Worked case facts
- Wall
- 10 ft wide
- Layout height
- 8 ft
- Battens
- 7
- Clear gap
- ≈1 ft 5 1/16 in
Boundary: Width alone supports spacing; piece lengths and stock require additional measurements.
Board & Batten with openings
- Model ID
- board-opening-v1
- Engine version
- 1
- Project format
- 2
- Model record published
- Sep 2, 2026
- Model record revised
- Sep 8, 2026
Formula or rule: Solve the complete wall grid, then subtract the union of opening rectangles from each member.
Inputs
- Window wall
- 120 × 96 in in the worked example; replace with measured values.
- Window outside trim
- 36 × 42 in in the worked example; replace with measured values.
- Left / bottom position
- 42 / 30 in in the worked example; replace with measured values.
- Return wall
- 96 × 96 in in the worked example; replace with measured values.
- Actual batten face
- 2½ in in the worked example; replace with measured values.
- Window / return wall battens
- 7 / 6 in the worked example; replace with measured values.
Calculation steps
- Retain the continuous grid above and below openings.
- Each wall can retain its own chosen count.
- Emit connected pieces and their manufacturing blanks.
Worked case facts
- Walls
- 2
- Window
- 36 × 42 in
- Installed pieces
- 14
- Exact material
- 100 ft 6 in
Boundary: Walls have independent datums. Shared corner pieces require an explicit physical binding.
Wainscoting panels
- Model ID
- wall-panel-v1
- Engine version
- 1
- Project format
- 2
- Model record published
- Sep 2, 2026
- Model record revised
- Sep 8, 2026
Formula or rule: Stile length = finish top − finish bottom − top rail face − bottom rail face.
Inputs
- Wall width
- 120 in in the worked example; replace with measured values.
- Finish height
- 42 in in the worked example; replace with measured values.
- Top / bottom rails
- 4 / 6 in in the worked example; replace with measured values.
- Stile face
- 3 in in the worked example; replace with measured values.
Calculation steps
- Resolve the finished band.
- Fit stiles between horizontal rails.
- Divide clear panels and trim members around openings.
Worked case facts
- Wall
- 120 in
- Layout height
- 3 ft 6 in
- Clear panel openings
- 4
- Clear panel width
- 2 ft 2 1/4 in
Boundary: Visible face layout does not model raised-panel joinery or wall substrate.
Picture Frame Molding
- Model ID
- picture-frame-v1
- Engine version
- 1
- Project format
- 2
- Model record published
- Sep 2, 2026
- Model record revised
- Sep 8, 2026
Formula or rule: Outer frame dimensions divide the available area after margins and gaps; clear opening = outer dimension − 2 × molding face.
Inputs
- Layout area
- 120 × 84 in in the worked example; replace with measured values.
- Molding face
- 2 in in the worked example; replace with measured values.
- Top / bottom margins
- 6 in in the worked example; replace with measured values.
- Side margins / column gaps
- 4 in in the worked example; replace with measured values.
- Row gap
- None in the worked example; replace with measured values.
Calculation steps
- Resolve frame boundaries.
- Form real miter polygons.
- Record long points, short points and cut directions.
Worked case facts
- Wall
- 120 × 84 in
- Frames
- 4
- Horizontal pieces
- 8
- Required molding
- 64 ft 8 in
Boundary: Flat rectangular frames use face-plane 45-degree miters; profile spring and compound cuts are outside this model.
Wall Designer styles
- Model ID
- wall-panel-dispatch-v1
- Engine version
- 1
- Project format
- 2
- Model record published
- Sep 2, 2026
- Model record revised
- Sep 8, 2026
Formula or rule: Each alternative references the same wall measurements and uses the selected construction rules.
Inputs
- Wall
- 120 × 96 in in the worked example; replace with measured values.
- Member face
- 3 in in the worked example; replace with measured values.
- Grid
- 4 columns × 3 rows in the worked example; replace with measured values.
- Joints
- Vertical through, horizontal butt in the worked example; replace with measured values.
Calculation steps
- Keep measurements when trying a style.
- Add missing style-specific inputs.
- Select one alternative per scope for purchasing.
Worked case facts
- Wall
- 10 × 8 ft
- Grid
- 4 columns × 3 rows
- Clear cell width
- 2 ft 2 1/4 in
- Clear cell height
- 2 ft 4 in
Boundary: Style-specific material roles are not automatically interchangeable.
Grid Wall
- Model ID
- grid-wall-v1
- Engine version
- 1
- Project format
- 2
- Model record published
- Sep 2, 2026
- Model record revised
- Sep 8, 2026
Formula or rule: Clear cell width = (layout width − (columns + 1) × vertical face) ÷ columns; height follows the corresponding row formula.
Inputs
- Wall
- 120 × 96 in in the worked example; replace with measured values.
- Member face
- 3 in in the worked example; replace with measured values.
- Grid
- 4 columns × 3 rows in the worked example; replace with measured values.
- Joints
- Vertical through, horizontal butt in the worked example; replace with measured values.
Calculation steps
- Resolve margins and cells.
- Check square-cell equality when requested.
- Build vertical-through or horizontal-through joints with actual short members.
Worked case facts
- Wall
- 10 × 8 ft
- Grid
- 4 columns × 3 rows
- Clear cell width
- 2 ft 2 1/4 in
- Clear cell height
- 2 ft 4 in
Boundary: An infeasible square grid leaves measured wall dimensions unchanged.
Installed plank coverage
- Model ID
- installed-face-coverage-v1
- Engine version
- 1
- Project format
- 2
- Model record published
- Sep 2, 2026
- Model record revised
- Sep 8, 2026
Formula or rule: Course count = ceil(coverage axis ÷ installed coverage). Net area is the geometric union after openings.
Inputs
- Wall
- 120 × 96 in in the worked example; replace with measured values.
- Actual board face
- 6 in in the worked example; replace with measured values.
- Installed coverage
- 5½ in in the worked example; replace with measured values.
- Starting edge
- Bottom in the worked example; replace with measured values.
Calculation steps
- Choose starting edge or balanced first and last courses.
- Subtract opening unions.
- Keep notched contours and full manufacturing blanks.
Worked case facts
- Wall
- 10 × 8 ft
- Orientation
- horizontal
- Courses
- 18
- Final visible face
- 2 1/2 in
Boundary: Actual face and installed coverage are separate. Unknown product fastening locations cannot create usable seams.
Baseboard room budget and wall runs
- Model ID
- baseboard-runs-v1
- Engine version
- 1
- Project format
- 2
- Model record published
- Sep 2, 2026
- Model record revised
- Nov 14, 2026
Formula or rule: Room budget = 2 × (length + width) − outside-casing doorway deductions; chosen reserve = net length × reserve percentage. Measured wall-face runs subtract the union of floor-level outside-casing deductions.
Inputs
- Optional rectangular room
- Measured length and width, total outside-casing doorway deduction, and a user-selected reserve percentage. Floor area alone cannot determine perimeter.
- Room
- 12 × 10 ft in the worked example; replace with measured values.
- Door casing deduction
- 36 in in the worked example; replace with measured values.
- Profile face / thickness
- 4 / ¾ in in the worked example; replace with measured values.
Calculation steps
- For a rectangular-room budget, validate length, width, total doorway deduction and chosen reserve without inferring runs.
- For measured runs, resolve each run and apply explicit butt, 90-degree corner, cope or return conditions.
- Split only at stated seam positions and pool stock by profile.
Worked case facts
- Room
- 12 × 10 ft
- Door deduction
- 36 in
- Finished front-face length
- 40 ft 6 in
- Wall-face runs / long-point blanks
- 41 ft
- Finished pieces
- 5
Boundary: Room mode is a length budget only, even if an old material profile exists: no pieces, stock or cuts. Cope geometry remains a field fit; measured-run stock estimates require profile, kerf and end trims.
Door & Window Trim
- Model ID
- casing-v1
- Engine version
- 1
- Project format
- 2
- Model record published
- Sep 2, 2026
- Model record revised
- Sep 8, 2026
Formula or rule: Mitered long points extend the inside reference by the visible faces required at each end.
Inputs
- Inside reference
- 36 × 80 in in the worked example; replace with measured values.
- Actual casing face
- 2½ in in the worked example; replace with measured values.
- Faces / quantity
- One face, one opening in the worked example; replace with measured values.
Calculation steps
- Resolve jamb plus reveal or a measured inside casing reference.
- Build door, four-sided window or stool/apron assemblies.
- Expand faces and quantities before per-profile purchasing.
Worked case facts
- Opening
- 36 × 80 in
- Visible face
- 2.5 in
- Pieces
- 3
- Exact length
- 17 ft 2 in
Boundary: Rough-opening dimensions do not stand in for jamb or casing references.
Wood Slat Wall
- Model ID
- slat-layout-v1
- Engine version
- 1
- Project format
- 2
- Model record published
- Sep 2, 2026
- Model record revised
- Sep 8, 2026
Formula or rule: Loose slat clear gap = (axis length − count × face) ÷ gap count. Modules use their separate product dimensions.
Inputs
- Wall
- 120 × 96 in in the worked example; replace with measured values.
- Actual slat face
- 1½ in in the worked example; replace with measured values.
- Slats
- 48 in the worked example; replace with measured values.
Calculation steps
- Resolve direction and edge treatment.
- Clip installed slats against opening unions.
- Keep manufactured modules distinct from loose members.
Worked case facts
- Wall
- 10 × 8 ft
- Slat face
- 1.5 in
- Slats
- 48
- Clear gap
- ≈1 in
Boundary: This is decorative geometry, with no predicted acoustic performance.
Stair Wainscoting
- Model ID
- stair-wainscoting-v1
- Engine version
- 1
- Project format
- 2
- Model record published
- Sep 8, 2026
- Model record revised
- Sep 8, 2026
Formula or rule: Pitch = atan2(rise, run). A full-pitch vertical stile blank spans its finished edge plus face × tan(pitch).
Inputs
- Total rise
- 84 in in the worked example; replace with measured values.
- Horizontal run
- 132 in in the worked example; replace with measured values.
- Finish band
- 42 in vertically in the worked example; replace with measured values.
Calculation steps
- Resolve one authoritative slope.
- Choose counts for the flight and landings.
- Intersect rail faces at transitions.
- Record finished edges, manufacturing blanks and joint directions separately.
Worked case facts
- Pitch
- 32.47°
- Slope length
- ≈13 ft 7/16 in
- Panels
- 6
- Finished pieces
- 9
Boundary: Straight coplanar decorative scenes only; non-coplanar turns need separate scenes. No structural stair or compound-cut inference.
Wallpaper strip and pattern-phase roll budget
- Model ID
- wallpaper-roll-v1
- Engine version
- 1
- Project format
- 2
- Model record published
- Nov 13, 2026
- Model record revised
- Nov 14, 2026
Formula or rule: strips = ceil(wall width / usable roll width); cut length = wall height + top trim + bottom trim; each roll budgets cuts plus pattern-phase lead.
Inputs
- Wall and trim measurements
- Each wall has its own width, height and opening coordinates. Top and bottom trim are added to every full-height cut.
- Optional rectangular room
- Room length, width and papered height generate four independent walls in L/W/L/W order; strip counts and pattern references restart at each wall.
- Physical roll
- Use the actual usable width and continuous length, independent of the retailer's single or double roll name.
- Repeat, match and roll head
- Pattern phase follows the entered straight or drop match. An unknown roll head reserves one repeat per new roll; spare unopened rolls are separate.
- Order and optional price
- Whole packages contain an explicit number of physical rolls. Separate chosen spares from package surplus. Price per physical roll, package or confirmed seller unit is multiplied by its delivered quantity using integer currency minor units; no currency conversion, tax, labor or installation supplies.
Calculation steps
- Every strip is a full-height cut, including strips crossing openings.
- No reuse of opening offcuts or guarantee of a minimum-roll arrangement.
- Each wall restarts the selected pattern reference; unknown roll heads reserve a full repeat.
Worked case facts
- Strips
- 6
- Physical rolls
- 2
- Strip cut length (mm)
- 2,540
Boundary: Every strip is a full-height cut, including strips crossing openings. No reuse of opening offcuts or guarantee of a minimum-roll arrangement. Each wall restarts the selected pattern reference; unknown roll heads reserve a full repeat.
Rectangular flat or raised panel infill sizing
- Model ID
- panel-infill-v1
- Engine version
- 1
- Project format
- 2
- Model record published
- Nov 13, 2026
Formula or rule: panel cut size = visible opening + engagement on both edges; engagement = groove depth − entered edge clearance.
Inputs
- Visible opening
- Enter an uninterrupted rectangle directly, or derive equal fields from the finished frame width, rails and stiles.
- Groove and edge reserve
- Measure every groove depth and supply the material-specific reserve for that edge. Engagement is their difference, not a default wood-movement rule.
- Panel section and stock
- Supply body and edge thickness, tongue band and straight shoulder dimensions. Stock width, length, kerf, edge trims and grain restriction determine the feasible rectangular cutting grid.
Calculation steps
- Rectangular, uninterrupted openings and explicitly measured groove details.
- The entered per-edge clearance is a user decision, not a universal wood-movement allowance.
- Raised mode uses a flush-back, straight-shoulder section; no cutter selection, CNC program or full frame-joint fabrication.
Worked case facts
- Panel quantity
- 4
- Panel blank width (mm)
- 682.625
- Panel blank height (mm)
- 828.675
Boundary: Rectangular, uninterrupted openings and explicitly measured groove details. The entered per-edge clearance is a user decision, not a universal wood-movement allowance. Raised mode uses a flush-back, straight-shoulder section; no cutter selection, CNC program or full frame-joint fabrication.
Calculation changes
| Date | Models | Change | User-visible effect |
|---|---|---|---|
| Nov 14, 2026 | Wallpaper and Baseboard room decisions | Added four-wall wallpaper inputs, package and price calculations, and a separate rectangular-room baseboard budget. | Six fixed comparisons distinguish wall starts, roll dimensions, pattern phase, spares, packaging and room proportions. Room length budgets do not authorize cuts. |
| Sep 8, 2026 | V2 project models | Wall, stair, and trim examples use the current shared project format and construction geometry. | Opening notches, grid joints, casing references, and cutting blanks follow the current tool results. |
| Sep 2, 2026 | Public method registry | Published model definitions and reference cases. | Formulas, references, versions, and calculation boundaries can be inspected together. |
Units and calculation evidence
The formulas and worked cases describe TrimLayout's own engines. The linked calculators and public JSON let you check the stated inputs and results. For the unit definitions, see NIST's SI Units — Length reference. That reference supports length conversion; it does not prescribe decorative proportions or approve an installation.