DEV Community

Cover image for Computing US ADA Wheelchair Ramp Slope (1:12), 30-Inch Rise Landings, and Switchback Footprint in TypeScript
Clara Sutton
Clara Sutton

Posted on Originally published at plancaliber.hashnode.dev

Computing US ADA Wheelchair Ramp Slope (1:12), 30-Inch Rise Landings, and Switchback Footprint in TypeScript

A porch or commercial storefront sitting just 36 inches above grade looks easy to ramp until you calculate the real geometry: at the 2010 ADA Standards Section 405 maximum 1:12 running slope, 36 inches of vertical rise requires 36 feet of sloped ramp, plus a mandatory 60" x 60" intermediate rest landing (because no single ramp run may exceed 30 inches of vertical rise), plus 60" x 60" top and bottom landings, plus dual handrails with 12" level extensions!

In this technical guide, we build a deterministic TypeScript ADA & residential ramp geometry calculator that computes exact 1:12 run length, automatic 30" rise segmentation into straight, 90-degree L-turn, and 180-degree U-switchback footprints, handrail linear footage (> 6" rise trigger), and clear ADA vs. residential code compliance checks.

Try the interactive tool with live SHEET C-102 ramp elevation and landing plan SVG here: PlanCaliber US ADA Wheelchair Ramp Slope & Landing Calculator.


1. The 1:12 Running Slope & 30" Maximum Rise Per Run (ADA §405.2 / §405.6)

Under ADA Section 405.2, ramp runs must not be steeper than 1:12 (8.33% slope = 1 foot of horizontal run per 1 inch of vertical rise). Under ADA Section 405.6, the maximum vertical rise for any single run is 30 inches (30'-0" run at 1:12) before a level 60" x 60" intermediate landing is required:

export function computeAdaRampGeometry(params: {
  totalRiseIn: number;
  slopeRatio: 12 | 16 | 10 | 8; // e.g., 12 means 1:12
  clearWidthIn: number;
  layout: 'straight' | 'l_turn_90' | 'u_switchback_180';
}) {
  const totalRampRunFt = (params.totalRiseIn * params.slopeRatio) / 12;
  const slopePercent = Number(((1 / params.slopeRatio) * 100).toFixed(2));
  const runSegments = Math.max(1, Math.ceil(params.totalRiseIn / 30));
  const intermediateLandings = Math.max(0, runSegments - 1);
  const handrailsRequired = params.totalRiseIn > 6;

  // ADA §405.2 allows 1:12 max; 1:10/1:8 are strictly limited to short existing-site exceptions
  const adaCompliant =
    params.slopeRatio >= 12 &&
    params.clearWidthIn >= 36;

  // Handrails on both sides + 12" (1 ft) top and bottom horizontal extensions per segment
  const handrailLinearFt = handrailsRequired
    ? Math.ceil((totalRampRunFt + runSegments * 2) * 2)
    : 0;

  return {
    totalRampRunFt: Number(totalRampRunFt.toFixed(1)),
    slopePercent,
    runSegments,
    intermediateLandings,
    handrailsRequired,
    handrailLinearFt,
    adaCompliant,
  };
}
Enter fullscreen mode Exit fullscreen mode

2. Straight vs. 90-Degree L-Turn vs. 180-Degree Switchback Footprint

Most residential front yards and urban commercial entries cannot fit a 46-foot straight ramp (36' ramp run + 10' top/bottom landings + 5' mid-landing). Folding a 36" rise into two 18'-0" runs with a 180-degree U-switchback (60" deep x 84"+ wide turn landing) cuts overall length almost in half (~23' long x ~8' wide), letting it hug cleanly along the front porch or storefront facade!

Four ADA Checklist Items Inspectors Measure First

  1. Clear Width (ADA §405.5): Minimum 36 inches clear between handrails (not outside frame posts!). Build ramps 42"–48" wide to clear protruding handrail brackets comfortably.
  2. Level Landings (ADA §405.7): Minimum 60" x 60" clear level pad (<= 2% slope) at top, bottom, and any direction change, completely outside outward-swinging door arcs.
  3. Handrails Both Sides (ADA §405.8): Required whenever total rise exceeds 6 inches, mounted 34"–38" above the ramp surface with 12" level extensions beyond top and bottom transitions.
  4. Edge Protection (ADA §405.9): 2" minimum raised curbs or wheel-stop rails to prevent caster roll-off.

3. Draft Your Storefront, Office, or Residential Entry Layout in 2D/3D

Map exact switchback footprints, outward door swings, and accessible entry routes inside PlanCaliber's Commercial Office & Retail Floor Plan Studio. Pair this calculator with our US Commercial Occupancy Load & Dual-Exit Egress Calculator and US Stair Stringer Rise & Run Calculator.

Disclaimer: Preliminary US 2010 ADA Standards Section 405 & IRC R311.8 space-planning guide. Confirm local AHJ, state accessibility amendments, and site grading cross-slopes before construction.

Top comments (0)