# When building a shelving unit, how does having the rails and stiles be out of square affect the alignment of the shelf?

I was in the shop last evening working on a shelving unit out of construction lumber (2x4s.) When I was securing the second stile to the panel I noticed that although I had measured where the rails SHOULD attach to make the shelves be the same height, that the actual board was warped away from that point by at least half an inch.

I popped a square on the corner and noticed that when forcing the board into the position that my measurement said the board should be attached, that the corner was very much out of square. If I instead fastened the board where it was resting naturally, it was almost perfectly square after tightening.

This led me to wonder, is it more important when building a shelving unit that my shelves be at the same height, or is it more important that the interface of the rails to the stiles is square? The plan is to screw in a sheet of MDF on each rail level.

I've added a sketchup I just cooked up to illustrate what I was building, please excuse the bad sketchup skills.

Construction grade lumber can be pretty bad. I would pay particular attention to the milling process and to the calibration of your tools (i.e. fences):

The standard milling process:

1. Jointer:

• Face joint one face
• Edge joint one edge

You now have a clean 90 degree angle on the board. Check it in multiple places down the board.

1. Planer:

• Place one of the jointed edges on the planer's reference face (bottom)
• Progressively plane to desired thickness making sure jointed edge is in the proper orientation on the planer's reference face.

You now should have a clean 90 degree edge and two parallel faces.

Check for twist.

1. Table Saw

• Place one of the parallel faces on the table and place the known good 90 degree edge against the fence
• Rip the last edge to width

You should be both square and parallel on all four edges. Crosscut to length and should be square on all six faces.

In terms of measurement:

• Make sure you are accounting for the width of the blade
• Make sure which side of the blade is terminating the cut on your marks - be consistent.

You may consider not measuring at all by using a spacer (such as an old piece of scrap) that is cut to the desired dimension.

• Just an additional note. ... Be picky with construction lumber. Search the pile for pieces with little warping, that way you're more likely to get a board worth milling. Mar 22 '15 at 20:27
• In this case I was picky, but it dried into a bow while in my lumber rack waiting to complete the project. Mar 22 '15 at 23:15