What is an open frame?
An open frame is a U shape made of three rectangular bars of the same thickness c: two upright bars of outer height h stand on the ends of a crossbar of outer width a, so the frame is open on the side opposite the crossbar. The gap between the arms has width b = a − 2c and depth i = h − c. The outline is a non-convex octagon with six right angles of 90° and two inward corners of 270°, and it is mirror symmetric about the vertical line through the middle of the crossbar. A frame closed on all four sides is covered by the frame calculator.
How to use it
Choose in the first box which three sizes you know, then type them: the thickness with one width and one height, both widths with one height, or both heights with one width. The thickness and the two widths, or the thickness and the two heights, are not asked together, because the third value of such a set already follows from the other two. The length unit is only a label: lengths come out in that unit and areas in its square. Each length you type must be from 0.000001 to 1,000,000,000 (a box that allows 0 also accepts 0), each area from 0.000000000001 to 1,000,000,000,000,000,000 and each angle greater than 0° and less than 180°; anything else, including text, is refused with a sentence that says why, and so is a set of values that cannot form the shape.
Derivation of the formulas
Put the crossbar on the x-axis. The outline runs through (0, 0), (a, 0), (a, h), (a − c, h), (a − c, c), (c, c), (c, h) and (0, h). The widths and heights are tied by the thickness:
$$ b = a - 2c, \qquad i = h - c $$
The frame is the outer rectangle a × h less the opening b × i, and the outline is the sum of its eight edges:
$$ A = a h - b i, \qquad P = a + b + 2h + 2i + 2c $$
Worked example
The page opens with thickness c (of all three bars) = 1, outer width a = 6, outer height h = 5. Then area A ≈ 14; perimeter P ≈ 30; inner width b (the gap between the arms) ≈ 4; inner height i (depth of the opening) ≈ 4. Values are shown with up to six decimals; a value below 0.0000005 or of 10¹⁵ and more is shown as its plain 12-digit number instead.
Frequently asked questions
Why can the thickness not be given with both widths?
Because the two widths already fix it: c = (a − b)/2. Three values that are tied like that leave the height unknown, so the page asks for a width and a height in every choice.
Why does the unit not change the numbers?
The calculator does not convert between units. Every length is read in the unit you chose, so the unit only labels the results; areas come out in that unit squared.
How accurate are the results?
Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable.
References
H. S. M. Coxeter, Introduction to Geometry, 2nd edition, Wiley, 1969
D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulas, 33rd edition, CRC Press, 2018