Yes, just be sure to measure the length of the handrail along the angle, not the floor. The logic remains the same.