I primarily build storage barns for a living but I guess the ratio would be the same for a house. If you want all sides of the roof to be equal in length cut each end of the truss 22 1/2 degrees. For an 8' wide gambrel roof the length for each piece of the truss would be 36". Now using that as your starting point, add 9" to to each "piece" per 2' of building width. 10' wide truss piece would be 45", 12' would be 54" and so on. I guess you could use this formula up to about a 24' wide before the truss would be too tall. This method makes the roof look very pleasing to the eye because each side is the same length.
To get more height on a narrow building like a 16' wide you can use the 20,25,20 method. Which is 20 degrees at the base 25 degrees at the humps and 20 at the ridge. This will make the roof taller and have a more elongated look. Alot of this stuff I just scale it down and lay it out on the floor or my shop table to see what it looks like before I commit to it.
Vester