Dormers are where a framing takeoff goes wrong: the cheek studs are all different lengths, the valleys are a true-length diagonal, and the hole in the main roof cuts rafters you have to count. The framing engine in wall-framing-takeoff has handled this since October, but only inside the whole-house page. It now has its own page, dormer-calculator.html.
For a 6 ft wide gable dormer with an 84 in front wall, 8 in 12 on both roofs, a 3 ft window and a framed opening, it gives a 162 in ridge, 16 commons of 43.25 in, two 56.31 in valleys, four valley jacks, seven pairs of cheek studs, and a 63 sq ft opening that cuts 4 main rafters. Drop the dormer roof to 6 in 12 and the ridge shortens to 153 in. A shed dormer works too.
Those figures are pinned to the engine in a test, and the page was loaded in headless Chromium for both shapes. What is not checked: rafter, header and trimmer sizes, snow load and flashing (the page says so), and no real dormer plan has been run through it. If you frame dormers and have one, the request form on the site takes it.