An earlier post explained the gate: every free calculator on this site is a port of the app's code, and a build-time check re-runs the app's own test cases against the port and fails the build on a mismatch. That post stayed general. This one is the tour. For each of the 23 calculator pages, here is the app test file the port is pinned to and one vector from it you can type into the page yourself.
How to read the list
The test names are the app's real test suites, the ones that run on every iOS and Android build. A name like TC-CAP-010 or FC-024 is the case ID inside that suite; the gate script carries the same IDs, so a failure names the exact case that drifted. A star in a file name means the gate draws on several files of that family. The vector after each entry is one case from that file, written out in plain numbers. Open the page, enter the inputs, and the result should match to the digit shown; if a page rounds for the tape, the sixty-fourths behind it are what the gate compares.
Stairs and guards
- Stair stringer calculatorStairCalculator*Tests.swiftTC-CAP-010: a 63 in total rise gives 9 risers at 7 in and 8 treads at 11 in, an 88 in run.
- Deck stair calculatorStairCalculator*Tests.swiftTC-ID-008: a 36 in rise gives 5 risers at 7.2 in and 4 treads at 10.6 in, the same solver as the stringer page.
- Baluster spacing calculatorDeckBalusterTests.swiftTC7.1: 14 balusters of 1-1/2 in on a 72 in rail leave a 3.40 in gap, under the 4 in sphere.
Roof framing and slope
- Rafter length calculatorRafter*Tests.swiftScenario A: a 28 ft span at 6/12 with a 12 in overhang and a 1-1/2 in ridge gives a 201.246 in total rafter and a 0.839 in ridge deduction.
- Birdsmouth cut calculatorRafterBirdsmouthTests.swiftBM-002: a 6/12 rafter in 2x8 stock with a 3-1/2 in seat has a 1.75 in plumb cut and a 6.358 in HAP, and does not cut through.
- Hip rafter calculatorHipValley*Tests.swiftHVR-002: a 6/12 hip on a 30 ft building is 270.00 in long with a 19.47° plumb cut; HVB-001 puts the 6/12 backing angle at 18.43°.
- Valley rafter calculatorHipValley*Tests.swiftHVR-006: a 5/12 valley on a 20 ft span is 176.92 in; HVJ-001 gives the 16 in o.c. jacks at 6/12 a 17.889 in common difference.
- Roof pitch calculatorPitchTests.swift · PitchFormatterTests.swiftEvery x/12 from 1 to 12 is checked against its degrees: 6/12 is 26.57° and 50%; 12/12 is 45°.
- Rise over run calculatorRightAngleSolverTests.swiftThe 3-4-5 triangle reads 36.87°, a 9/12 pitch, and a 75% grade; 5-12-13 reads 22.62°.
- Roofing squares calculatorRoofingMaterialsBasicTests.swiftA 40 x 30 ft footprint at 6/12 is 1,341.64 sq ft of roof: 41 bundles, 42 sheets of sheathing, 4 rolls of underlayment.
Feet, inches, and board feet
- Feet and inches calculatorMeasurementArithmeticTests.swift5 ft 1-1/2 in plus 3 ft 7-1/64 in is 6,689 sixty-fourths, kept exact and displayed as 8 ft 8-1/2 in at the tape's 1/16.
- Board foot calculatorBoardFeetBasicTests.swiftBF-005: a 2x4 at 8 ft is 5.333 board feet; BF-008: a 4x4 at 8 ft is 10.667.
Layout and trim
- Spacing calculatorSpacingCalculatorTests.swift · SpacingDisplayValuesTests.swiftCase 1: 2-1/4 in pickets on a 92-1/2 in rail with a 4 in opening cap come out 15 at 379 sixty-fourths on center, and the display rounds each mark once.
- Fence calculatorFencing*Tests.swiftFC-024: 50, 40, and 30 ft segments with a 4 ft gate take 19 posts, 17 bays, 51 rails, 168 pickets, and 50 bags of concrete.
- Stud calculatorWallStudCalculatorTests.swift · RakeWallStudCountTestsAn 8 ft wall at 16 in o.c. takes 7 studs and 56 ft of stud; a 100 in wall takes 8 field studs because the remainder gets one.
- Crown molding angle calculatorCrownMiterCalculatorTests.swiftA 38° spring angle on a square corner cuts flat at a 33.86° bevel; a 45° spring angle at 30.00°.
Materials and concrete
- Deck board calculatorDeckMaterial*Tests.swiftAn 8 x 8 ft deck in 5/4x6 boards with 10% waste takes 20 boards and 224 face screws at 16 in joists.
- Drywall calculatorDrywall*Tests.swiftDW-1.1: a 10 x 10 ft room with 8 ft walls, one door, one window, and 10% waste takes 10 sheets of 4x8; add the ceiling and it is 14.
- Concrete calculatorConcreteBags*Tests.ktA 10 x 10 ft slab 4 in thick is 33.333 cu ft; with 10% waste it is 62 bags of 80 lb, and the Android suite is the source here.
- Concrete weight calculatorConcreteWeight*Tests.swiftOne cubic yard of standard mix weighs 4,050 lb; reinforced 4,212 lb; structural lightweight 3,105 lb.
- Area calculatorRectangle/Circle/CylinderArea*Tests.swiftR-001: 10 x 12 ft is 120 sq ft and 11.1484 sq m; CY-004: an 8 in tube 4 ft tall holds 1.396 cu ft.
- Masonry calculatorMasonry*Tests.swiftA 10 x 8 ft block wall is 12 courses and 8 bags of mortar; modular brick runs 6.857 per square foot.
- Rebar calculatorFootingRebarTests.swiftA 10 x 10 ft slab with #4 bars at 12 in and 3 in cover takes 22 bars, 209 ft of steel, and 12 twenty-foot sticks.
What the list leaves out
Two things. First, each web page covers a slice of its app calculator, and the gate checks the slice. The rafter page is common rafters; the app also does irregular hips and valleys. The spacing page is level runs; the app also rakes a stair rail. The fence page takes one centered gate per segment and imperial input; the app places gates anywhere and takes metric. Each page says where its slice ends, and the vectors above sit inside it. Second, a few checks in the gate are marked as web-only. A blank concrete dimension reads as an error on the web where the app would quietly return zero bags; that guard has no app vector to copy, so the gate labels it rather than pretending it is parity.
Check one yourself
Pick the calculator you use most, take its vector from the list, and run it. Then run a cut you have already made. The how we verify page carries the shared vector counts per calculator and the test corpus size, and the earlier post explains why the gate exists at all. The calculators hub links every page on this list.