Determine the surface area of your roof. This involves determining the square footage of each area of roofing. Square footage is determined with a simple length times width formula.
Determine the maximum rainfall per hour for your area of the country. The best way to do this is to contact a local television station or weather monitoring station. They will be able to give you a rough estimate of annual rainfall as well as the heaviest rains that the area regularly experiences.
Use the following calculation to determine the maximum gallons per minute flow off from your roof. Most drainage systems have 4-inch leader channels (eaves) so this is what we will base our calculation on. If you have different sized eaves see the first reference for a calculation chart.
Gallons per minute = .0104 x maximum inches per hour x roof area
Take the gallons per minute calculation and divide it by the maximum flow rate of a 4-inch drain pipe (144 gallons per minute). If the answer contains a fraction, round it up to the next whole number. This is the number of downspouts needed to prevent eaves from overflowing.