Many houses today are built with prefabricated roof trusses rather than joists and rafters. Trusses let a factory do much of the work; trusses are rafters with a bottom plate rather than a joist and with internal bracing built in. Rafters are still used, however, because they can provide more open space in an attic and are handy when building a shed or other outbuilding. The secret to a good rafter is cutting proper angles. And the secret to cutting correct rafter angles is the speed square, invented in 1925 by carpenter Albert J. Swanson.
Things You'll Need
 Speed square
 Rafter table
 Circular saw

Determine the width of the building, the rafter span, and the length, for the number of rafters needed. Choose or determine a pitch, the angle at which the rafters rise. Divide the span by two to get the rafter run, the length each rafter must cover. For a 24foot wide building, the run would be 12. Pitches are measured in inches per foot; a 5/12 roof slopes up 5 inches for every 12 feet of run. Space rafters 24 inches apart, so a 30foot long building will need 15 rafters.

Mark the top or plumb cut first. Put the pivot point of the speed square, a small hole (marked "pivot") where the straight side of the square meets the side with the lip on it, at the top edge of a rafter board. Move the square until the table on one side of the rectangular slot in the square is at the right pitch (5) on the top of the board; use the table marked "Common Top Cut." That will make an angle at the end of the rafter board for the plumb cut. Go back after rafter length is set and cut another 3/4 inch from that plumb cut, to allow for a 2inch ridge board where opposing rafters meet.

Use a rafter table, which comes in an instruction manual with the speed square, to determine the length of the rafter. For a 5/12 rafter, that will be 13, or 13 inches of rafter for every foot of run; with a 12foot run, that is 13 feet. Mark that spot and use the square to mark 1 inch in from the bottom of the board and 3 1/2 inches down from that mark to make a triangle, a notch called a birdsmouth where the rafter will rest on the top plate of the wall. Some speed squares have a diamondshaped opening which can be used to calculate this, using instructions in the reference manual.
References
 Popular Mechanics: How To Use a Speed Square
 Quality Distributing: The Original Rafter Square
 Homebuilding Information and Planning: The Speed Square
 Homebuilding Information and Planning: How to Cut Common Rafters
 Stuff: How to Use the Swanson Speed Square
 Stuff: How to Use the Speed Square for Rafter Cuts
 Photo Credit Jupiterimages/Photos.com/Getty Images