How High Should My Vent Pipe Extend Above My Roof

The top of a chimney pipe must extend at least 2 feet above the peak of the roof if the pipe is within 10 feet of the peak.
How high should my vent pipe extend above my roof. From any vertical surface the soil pipe also known as the vent stack or stack pipe provides air for the plumbing system. As i recall some plumbing codes state the top of the vent pipe shall be one or two feet higher than a level line 10 feet long from the vent pipe location to the roof. How high should the plumbing vents be above there roof. All open vent pipes that extend through a roof shall be terminated at least 6 inches 152 mm above the roof and not less than 2 inches 51 mm above the invert of the emergency overflow except that where a roof is to be used for any purpose other than weather protection the vent extensions shall be run at least 7 feet 2134 mm above the roof.
If the pipe is farther than 10 feet from the roof peak it must be 2. If your calculated required height falls below 36 inches 3 feet then as per our rule it must be a minimum of 3 feet on the high side of the pipe penetration. Extensions of vent pipes through a roof shall be terminated at least 12 inches above such roof unless a roof is to be used for any purpose other than weather protection. The slope is about 4 high for every 12 horizontal.
If a roof is to be used for any purpose other than weather protection the vent shall be extended at least seven 7 feet above the roof. I have a main vent and a sink vent and both are only 6 high above the roof. According to the uniform plumbing code the soil pipe or stack pipe shall extend vertically not less than six 6 inches. Measure from the upper end of the connector to the underside of the roof flashing and add 16 inches.
This calculation from example 1 alone would give you a solid working height but if you are close to your peak then you might have more pipe height than you actually need. Above the roof nor less than one 1 foot.