To make your own peg rack, first decide how long you want it to be. To determine the number of pegs you will need, divide the length of the rack by 6 inches (the distance between each peg). Martha's molding is 67 inches long; so 67 divided by 6 is, roughly, 11 pegs.