Stair Rise, Run and Stringer Geometry Calculator
stair_stringerCalculates straight stair geometry, including riser and tread counts, individual rise and run, total run, stringer length, and stringer count from floor-to-floor height and stair dimensions.
Instructions
Calculate stair geometry: number of risers and treads, individual rise and run, total run, stringer length and number of stringers. total_rise is the finished floor-to-floor height; risers are chosen so each rise stays at or under max_rise (or set riser_count); tread_run is each tread depth; stair_width and stringer_spacing set the stringer count; floor_depth and run_limit check headroom and available floor space. Use to lay out a straight stair. Check results against your local building code. For deck boards and joists use deck. Read-only calculation with no side effects; the same inputs always give the same result. Every input is optional and falls back to the calculator page default; units is "us" (default) or "metric". Returns headline (amount to buy), summary lines, numbered worked steps, inputs_used and calculator_url.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "stair_stringer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | Unit system for every length/area/volume input: "us" (feet, inches, ft², ft³) or "metric" (m, cm or mm, m², m³). Defaults are converted when "metric" is chosen. | us |
| max_rise | No | Target maximum individual rise. Unit: in (US) / cm (metric). Default (US units): 7.75. | |
| run_limit | No | Floor space available for the run (0 = no limit). Unit: in (US) / cm (metric). Default (US units): 0. | |
| tread_run | No | Individual tread depth (run). Unit: in (US) / cm (metric). Default (US units): 10. | |
| total_rise | No | Finished floor-to-floor rise. Unit: in (US) / cm (metric). Default (US units): 108. | |
| board_price | No | Price per stringer board. Unit: $ (US) / $ (metric). Optional, leave out to skip. | |
| floor_depth | No | Upper floor depth at the opening (joist + subfloor). Unit: in (US) / cm (metric). Default (US units): 10. | |
| riser_count | No | Number of risers (0 = work it out from the maximum rise). Default (US units): 0. | |
| stair_width | No | Stair width. Unit: in (US) / cm (metric). Default (US units): 36. | |
| stringer_spacing | No | Maximum stringer spacing. Unit: in (US) / cm (metric). Default (US units): 16. |