A railing that ends at a straight wall is simple. A railing that ends at a sloped ceiling is not.
The main difference lies in the dimensions. When the glass or filling is to follow the slope of a sloped roof, the angle must be correct right from the time of ordering—otherwise, a gap will form where the railing meets the roof.
This is one of the few railing situations where a measurement error cannot always be corrected on site. Therefore, the measurement itself is more important than the installation.

The wedge is the real problem
When a straight railing meets a sloped roof, a wedge-shaped opening is created. The steeper the roof, the larger the opening becomes.
A gap is left open
The wedge is narrow at its lowest point but widens as it rises. If the opening becomes large enough, it is no longer just an aesthetic detail but an opening in the fall protection system.
The filling follows the ceiling
The final section is fabricated to match the roof's slope so that the glass or infill follows the sloped roof and closes the gap.
The three measures
You always need the exterior wall height. After that, either the roof pitch or a clearance measurement along the floor is sufficient.
| Dimensions | What It Is | When You Need It |
|---|---|---|
| A Exterior wall height | The height of the wall where the railing meets the sloped ceiling. | Always |
| B Roof pitch | The roof pitch, expressed in degrees. | If you already know the roof pitch. |
| C Clearance | The distance from the wall to the point where the railing, at its full height, fits under the sloped ceiling. | If you don't know the roof's pitch. |
The dimensions are listed along with the other options in the calculation and ordering feature on the product page. If you don't know the roof pitch, you can use the overhang dimension to calculate it.
Where does this show up?
This situation occurs primarily in attic floors and lofts, where an open floor structure ends at an exterior wall, which in turn meets a sloped ceiling.
The roof pitch often starts low at the exterior wall, which means that a standard straight glass section cannot extend all the way to the front.
The railing runs along the edge of the floor joists, while the sloped ceiling slopes down toward the same wall. This is where the wedge-shaped end forms.
If the loft is a space where young children can be without constant supervision, the openings in the railing and the possibility of climbing over it must also meet specific child safety requirements.

What You Can Choose
A railing for a sloped ceiling doesn't have to look any particular way. It's mainly the last section that is custom-made—the rest can be selected the same way as a standard railing.
The height of the railing is determined before the sloped roof measurements are taken, since it affects where the roof meets the last section.
The glass is shaped to follow the slope of the roof and meets the wall. This way, the panel follows the sloped roof instead of leaving an open wedge.
The result is a clean finish without the need for a visible corner bracket to fill the gap between the railing and the ceiling.
Here's how to do it—step by step
Always start with the height of the railing. Only then can you measure where the sloped ceiling will actually meet the last section.
-
1Start here
Determine the height of the railing
The height affects where the sloped roof intersects the top of the railing and must therefore be determined before the other measurements are taken.
-
2Dimension A
Measure the height of the exterior wall
Measure the height on the wall where the railing will meet the sloped ceiling. This measurement is always required.
-
3Dimension B
Enter the roof pitch if you know it
If you know the roof pitch in degrees, you can use it directly along with the exterior wall height.
-
4Otherwise, dimension C
Measure the clearance along the floor
If you don't know the angle, measure from the wall along the floor to the point where the entire planned height of the railing fits under the ceiling.
-
5Check the surface
Make sure the fastening is secure at the last post
Check that the joist system and the subfloor are suitable for mounting the final post or end cap.
-
6Order
Enter the dimensions on the product page
Enter the dimensions along with the other rail options in the calculation and ordering tool for the product you have selected.
-
7Before you send
Double-check all measurements
Be sure to double-check the exterior wall height and dimensions B or C. The angled glass panel is manufactured to these dimensions and cannot be cut to size after it has been tempered.
You don't need to know the roof pitch yourself. If you have the exterior wall height and the correct clearance measurement, you have the information needed to calculate the geometry.
Not sure how to measure against your sloped ceiling?
Send a photo of the location and the measurements you have, and customer service will help you figure out what's missing before you order the railing.
Exterior Wall Height Always required
Angle or clearance One of these measurements is sufficient
Please include a photo that shows the floor, exterior wall, and sloped ceiling.
Frequently Asked Questions About Railings for Sloped Roofs
Here are the most common questions about dimensions, glass, materials, and ordering when a railing is to be installed against a sloped ceiling.
What measurements do you need?
Always include the exterior wall height, plus either the roof pitch in degrees or the clearance from the wall.
Can the glass be cut on site?
No. Tempered glass must be processed before it is tempered. Otherwise, the entire sheet will shatter.
What is the clearance dimension?
The distance from the wall until the entire railing fits under the ceiling. We calculate the roof angle based on that.
What happens if the measurements are wrong?
The glass doesn't fit, and it can't be adjusted. That's why double-checking before placing an order is the most important step.
Is it available in different materials?
Yes, in aluminum and stainless steel, with or without a crossbar, and in various heights.
Are there special rules for a loft?
If it is a sleeping loft, it is considered a space where young children spend time, and in that case, specific dimensions for openings and climbing zones apply.
Does the last section have to be made of glass?
No, but glass is the most common choice because it creates the least visual bulk in spaces where the ceiling height is already low.

