Place the leaf against the opening coordinates
The opening runs from x = 0 to x = A. At the closed position, the leaf runs from −L to W − L, where L is the left overlap and W the leaf width. The right overlap is W − A − L; a negative value indicates incomplete closed coverage.
Travel and uncovered width
For rightward travel, full-clear translation to the right side is A + L; for leftward travel past the left side it is max(0, W − L). After applying signed translation to both leaf endpoints, covered width is max(0, min(A, leaf right) − max(0, leaf left)). Uncovered width is A minus this overlap. This interval-intersection calculation also handles a leaf that does not cover the opening initially; it does not assume full closed coverage.
Independent example
An opening 36 in wide, leaf 40 in wide, and left overlap 2 in give right overlap 2 in. Either direction needs 38 in travel to clear the opening. At 20 in translation, 18 in is uncovered. Zero travel leaves a covered opening in this example.
Two sliding doors moving apart
For a double sliding door or bi-parting arrangement, measure each leaf separately. Use the same opening from x = 0 to x = A. The left outer overlap L is the distance its left edge extends beyond x = 0; the right outer overlap R is the distance its right edge extends beyond x = A. These are outer-edge measurements, not the overlap where the leaves meet.
With leaf widths WL and WR, the closed horizontal intervals are:
| Leaf | Left edge | Right edge | Opening motion |
|---|---|---|---|
| Left | −L | WL − L | Subtract its leftward travel from both edges |
| Right | A + R − WR | A + R | Add its rightward travel to both edges |
The signed closed center gap is (A + R − WR) − (WL − L). A positive value means a separation between the meeting edges; zero means the edges meet in projection; a negative value means projected overlap. The closed-coverage result checks the actual union of both leaves within the opening, including cases where a leaf lies entirely outside it. Projected overlap alone does not prove that two real leaves can occupy those positions without interference.
To clear the opening, the left leaf needs max(0, WL − L) of outward travel and the right leaf needs max(0, WR − R). These are separate travel requirements. Different leaf widths or outer overlaps can require different travel, and the entered travels need not be equal. A track’s overall length is not the same as usable leaf travel: hanger limits, stops, wall space, and pocket depth can restrict the latter.
Read the open span after travel
Covered width is the union of both moved leaf intervals clipped to the opening; a shared covered section is counted once. Total uncovered opening is A minus that width. Contiguous central opening is the span between the moved meeting edges, limited to the opening boundaries and never below zero. Under this outward-only, two-leaf arrangement, all uncovered space forms one central interval, so these two outputs agree. They describe horizontal geometry, not a verified accessible or egress clear opening.
For example, take a 72 in opening, two 40 in leaves, and 2 in outer overlap on each side. Closed positions are [-2, 38] and [34, 74], giving −4 in signed center gap: 4 in projected overlap. After each leaf moves outward 20 in, their meeting edges are at 18 and 54, leaving 36 in uncovered. Each leaf needs 38 in total travel from closed to clear the opening fully. If the leaves were instead 30 in wide with the same outer overlaps, the closed positions would already leave a 16 in center gap; zero travel would not close it.
Inputs use exact length arithmetic and three-decimal display rounding. Inches accept decimals or fractions; millimeters accept decimals, with 1 in = 25.4 mm exactly. Display rounding is not an installation allowance. The pair calculation does not model telescoping leaves, synchronized mechanisms, track selection, seals, or three-dimensional clearance. Use the actual hardware’s installation drawings to check stops, hanger travel, pocket geometry, and approved installation details.