Purchase calcium chloride pellets and long stockings. There are other ice melting compounds, but calcium chloride can withstand temperatures as low as minus 25 degrees Fahrenheit and will not corrode or damage your roofing. You need enough stockings or pantyhose to place every 3 feet across the width of your roof.
Fill each stocking with calcium chloride pellets. Tie the legs off every 4 to 5 inches. This creates pockets of calcium chloride, preventing the pellets from gathering in the feet. Tie the stockings off at the end or at the waist.
Set a ladder so it rests sturdy against the roof. Place the stockings with one foot hanging just over the edge of the roof line. The other foot should be point upward to the roof ridge, creating a straight line. The calcium chloride will immediately begin working to melt snow and ice on the roof, removing the ice dams.