Four 2x4 walls and a single-slope or peaked roof with overhangs. All measurements in inches.
Enter the size of the door or window itself. The rough opening (the framed hole) is that size plus the allowance below. Position is measured to the left edge of the rough opening, from the left end of the wall (top end for side walls) as seen in the plan view.
Rough opening allowance, added to the size you enter. A 36×80 door with 2 and 2 gets a 38×82 opening.
Under 4 in 12 needs metal or membrane roofing, or special shingle underlayment.