Roofing calculator
Saltbox Roof Calculator
A saltbox roof calculator that works out the true geometry of a saltbox roof, where the two sides have different pitches and the ridge sits off-centre. Enter the building span, the front pitch and the rear pitch, the roof length and the overhang, and the calculator finds where the ridge lands, how high it is, each slope and rafter length, the total roof area in squares, and how many bundles of shingles to order. Most roof calculators only do symmetric gables; this one does the asymmetric roof properly.
- Free to use
- No sign-up
- Formula and sources shown

Got the number? Save it before it gets lost.
A result on a screen is easy to lose. Save this estimate in the app and it stays with the project, ready when you order.
Outside wall to outside wall, across the gable.
The long, low slope. 4 means 4/12.
The short, steep slope. 10 means 10/12.
Measured horizontally from the wall.
Roof area
1,056.6 sq ft
10.57 squares · 35 bundles of shingles with waste · ridge 5.71 ft high, 17.14 ft from the front eave
| Front run / rear run | 17.14 ft / 6.86 ft |
| Front angle / rear angle | 18.4° / 39.8° |
| Front slope / rear slope | 19.12 ft / 10.23 ft |
| Rafter pairs (16 in o.c.) | 28 pairs |
| Ridge board | 36 ft |
Planning estimate only. Rafter sizes come from IRC Table R802.5.1, and a licensed professional signs off the ridge beam and connections on an asymmetric roof.
Turn this result into a priced plan
Save it to a project, add the rest of your materials, and send a client-ready quote. No retyping, no spreadsheet, no lost numbers.
Formula
Front run = span x rear pitch / (front pitch + rear pitch); Ridge height = front run x front pitch / 12; Slope = sqrt(run^2 + height^2) + overhang / cos(pitch angle); Area = (front slope + rear slope) x length
Worked example. A 24 ft span with a 4/12 front pitch and a 10/12 rear pitch, 36 ft long with a 12 in overhang: the ridge sits 17.14 ft from the front eave and 6.86 ft from the rear eave, 5.71 ft above the eaves, the front slope is 19.12 ft and the rear slope is 10.23 ft, the roof area is 1,056.6 sq ft (10.57 squares), 35 bundles of shingles with 10% waste, and 28 rafter pairs.
A saltbox roof on a 24 ft span, with a 4/12 front pitch and a 10/12 rear pitch, puts the ridge 17.14 ft from the front eave and 6.86 ft from the rear eave, 5.71 ft above the eaves. The front slope is 19.12 ft long and the rear slope is 10.23 ft, so over 36 ft the roof is 1,056.6 sq ft, or 10.57 squares, and 35 bundles of shingles with 10% waste. The ridge offset, the two different slopes and the two different rafter lengths, all from the span and the two pitches.
Key takeaways
- •A saltbox roof is an asymmetric gable: the ridge sits off-centre, towards the steep side, and the two slopes have different pitches and different lengths.
- •On a 24 ft span with a 4/12 front and a 10/12 rear, the front run is 17.14 ft and the rear run is 6.86 ft, and the ridge is 5.71 ft above the eaves.
- •The front slope is 19.12 ft and the rear slope is 10.23 ft, including a 12 in overhang on each side.
- •The roof area is 1,056.6 sq ft over 36 ft, which is 10.57 squares, and 35 bundles of shingles at 3 bundles per square with 10% waste.
- •The front rafters are 19.12 ft and the rear rafters are 10.23 ft, at 18.4 degrees and 39.8 degrees, with 28 rafter pairs at 16 in on-center.
- •The ridge position comes from one rule: front run times front pitch equals rear run times rear pitch, and the two runs add up to the span.
- •The long low slope is most of the roof area, so the front pitch matters more than the rear pitch for the shingle order.
- •If the two pitches were equal, the ridge would be in the middle: a 6/12 and 6/12 roof on the same span has 12 ft runs and a 6 ft ridge height.
- •The overhang is measured horizontally and extended along the slope, so a 12 in overhang adds 1.05 ft to the front slope and 1.30 ft to the rear slope.
- •The calculator gives the geometry, not the structure: rafter sizes, the ridge beam and the connections come from the span tables and a licensed professional.
How to use the saltbox roof calculator
- Measure the building span in feet, from outside wall to outside wall, across the gable.
- Enter the front pitch as rise over 12 in run: 4 means 4/12, a low slope. The front is the long, low side of the saltbox.
- Enter the rear pitch the same way: 10 means 10/12, a steep slope. The rear is the short, steep side.
- Enter the roof length in feet, along the ridge, from gable to gable.
- Enter the eave overhang in inches, measured horizontally from the wall. 12 in is the usual default.
- Read the ridge position first: the two runs and the ridge height tell you where the ridge lands and how high it is.
- Read the two slope lengths, the roof area in squares, the shingle bundles and the rafter pairs, and take the bundles to the roofing supplier.
The saltbox geometry, step by step
A saltbox roof is fixed by one fact: both slopes meet at the same ridge, so they reach the same height. The height on the front is the front run times the front pitch over 12, and the height on the rear is the rear run times the rear pitch over 12, and the two heights are equal. The two runs add up to the span. Those two facts give the ridge position without any measuring on the roof.
Front run = span x rear pitch / (front pitch + rear pitch); Rear run = span - front run; Ridge height = front run x front pitch / 12; Slope = sqrt(run^2 + height^2) + overhang / cos(angle)
| Quantity | Default roof (24 ft, 4/12 + 10/12) | How it is worked out |
|---|---|---|
| Front run | 17.14 ft | 24 x 10 / (4 + 10) |
| Rear run | 6.86 ft | 24 - 17.14 |
| Ridge height | 5.71 ft | 17.14 x 4 / 12 (check: 6.86 x 10 / 12 = 5.71) |
| Front angle | 18.4 degrees | arctan(4 / 12) |
| Rear angle | 39.8 degrees | arctan(10 / 12) |
| Front slope | 19.12 ft | sqrt(17.14^2 + 5.71^2) + 1.05 ft overhang |
| Rear slope | 10.23 ft | sqrt(6.86^2 + 5.71^2) + 1.30 ft overhang |
| Roof area | 1,056.6 sq ft | (19.12 + 10.23) x 36 ft |
The check that the geometry is right is the ridge height: the front and the rear must give the same number. On the default roof the front gives 17.14 x 4 / 12 = 5.71 ft and the rear gives 6.86 x 10 / 12 = 5.71 ft. If the two do not match, the ridge position is wrong. The overhang adds a different amount to each slope because the slopes are at different angles: a 12 in horizontal overhang is 1.05 ft along the shallow front slope and 1.30 ft along the steep rear slope.
Worked examples
1. The default: a 24 ft span, 4/12 front, 10/12 rear, 36 ft long, 12 in overhang
- Front run: 24 x 10 / (4 + 10) = 240 / 14 = 17.14 ft; rear run: 24 - 17.14 = 6.86 ft
- Ridge height: 17.14 x 4 / 12 = 5.71 ft (check: 6.86 x 10 / 12 = 5.71 ft)
- Front angle: arctan(4 / 12) = 18.4 degrees; rear angle: arctan(10 / 12) = 39.8 degrees
- Front slope: sqrt(17.14^2 + 5.71^2) = 18.07 ft, plus 12 in overhang along the slope (1.05 ft) = 19.12 ft
- Rear slope: sqrt(6.86^2 + 5.71^2) = 8.93 ft, plus 12 in overhang along the slope (1.30 ft) = 10.23 ft
- Roof area: (19.12 + 10.23) x 36 = 1,056.6 sq ft = 10.57 squares
- Shingles: 10.57 squares x 3 bundles x 1.10 waste = 34.9, so 35 bundles
- Rafter pairs: floor(36 x 12 / 16) + 1 = 28 pairs; ridge board: 36 ft
2. A steeper saltbox: a 20 ft span, 3/12 front, 12/12 rear, 30 ft long
- Front run: 20 x 12 / (3 + 12) = 240 / 15 = 16 ft; rear run: 20 - 16 = 4 ft
- Ridge height: 16 x 3 / 12 = 4 ft (check: 4 x 12 / 12 = 4 ft)
- Front angle: arctan(3 / 12) = 14 degrees; rear angle: arctan(12 / 12) = 45 degrees
- Front slope: sqrt(16^2 + 4^2) = 16.49 ft, plus 1.03 ft of overhang = 17.52 ft
- Rear slope: sqrt(4^2 + 4^2) = 5.66 ft, plus 1.41 ft of overhang = 7.07 ft
- Roof area: (17.52 + 7.07) x 30 = 737.7 sq ft = 7.38 squares; shingles: 25 bundles with waste
- Rafter pairs: floor(30 x 12 / 16) + 1 = 23 pairs; the rear rafters are very short, only 7.07 ft
- This is the classic saltbox shape: the rear slope is almost as steep as a wall, and the front slope runs nearly to the ground
3. The symmetric check: 6/12 on both sides, 24 ft span, 36 ft long
- Front run: 24 x 6 / (6 + 6) = 12 ft; rear run: 12 ft, so the ridge is in the middle
- Ridge height: 12 x 6 / 12 = 6 ft; both angles: arctan(6 / 12) = 26.6 degrees
- Each slope: sqrt(12^2 + 6^2) = 13.42 ft, plus 1.12 ft of overhang = 14.53 ft
- Roof area: (14.53 + 14.53) x 36 = 1,046.2 sq ft = 10.46 squares; shingles: 35 bundles with waste
- Compare with the default saltbox: 1,056.6 sq ft against 1,046.2 sq ft, almost the same area, but the saltbox puts 65% of it on the front slope and the symmetric roof splits it evenly
- The symmetric case is the check that the saltbox maths is right: equal pitches must give equal runs and equal slopes
Pitches: what the numbers mean
Roof pitch is written as rise over a 12 in run, so 4/12 means the roof rises 4 in for every 12 in it runs sideways. The angle is the arctangent of the pitch over 12, and the slope length is the run divided by the cosine of the angle. The table below gives the angles and the slope factor for the pitches this calculator is most often used with.
| Pitch | Angle | Slope per foot of run | Typical use |
|---|---|---|---|
| 3/12 | 14.0 degrees | 1.03 ft | Low front slope of a saltbox |
| 4/12 | 18.4 degrees | 1.05 ft | Front slope of a saltbox (default) |
| 6/12 | 26.6 degrees | 1.12 ft | Common gable pitch |
| 8/12 | 33.7 degrees | 1.20 ft | Steep gable |
| 10/12 | 39.8 degrees | 1.30 ft | Rear slope of a saltbox (default) |
| 12/12 | 45.0 degrees | 1.41 ft | Very steep rear slope |
The front pitch of a saltbox is usually 3/12 to 5/12, and the rear pitch is usually 10/12 to 12/12. A front pitch below 3/12 is a problem for shingles, because water runs slowly and can get under the laps, so low-slope saltbox fronts are often done in standing-seam metal instead. A rear pitch above 12/12 is a wall more than a roof, and it is usually framed as one.
Rafters, ridge and shingles
The rafters on a saltbox are two different lengths, and they are cut at two different angles, which is why the calculator gives both. The front rafters on the default roof are 19.12 ft and the rear rafters are 10.23 ft, and there are 28 pairs at 16 in on-center over 36 ft. The ridge board runs the full 36 ft, and the ridge has to carry the load from both sides, which is uneven because the front rafters are longer and heavier than the rear ones.
- •Front rafters are cut from longer stock than rear rafters, and they are ordered separately: 28 front rafters at 19.12 ft and 28 rear rafters at 10.23 ft on the default roof.
- •The birdsmouth cut, where the rafter sits on the wall plate, is at a different angle on each side, so the two sides are cut from different templates.
- •The ridge board is 36 ft long on the default roof, and on a saltbox it is often a beam rather than a board, because the uneven rafters push on it unevenly and it needs support at the gables.
- •Shingles are 3 bundles per square for architectural shingles, so 10.57 squares is 35 bundles with 10% waste. The waste allowance covers the ridge cap, the valleys (there are none on a saltbox) and the cuts at the eaves and gables.
- •Underlayment follows the area: 1,056.6 sq ft is about 11 squares of felt or synthetic underlayment, plus the ice and water shield at the eaves if the code calls for it.
Rafter size is not part of this calculator: the depth comes from IRC Table R802.5.1 for the species, grade, spacing and load, and the front rafters, which span 17.14 ft, will need a deeper rafter than the rear ones, which span 6.86 ft. Size the front rafters with the rafter calculator and check the ridge with the wood beam span calculator.
Common mistakes
- Using a symmetric roof calculator for a saltbox, and getting one slope length for a roof that has two.
- Putting the ridge in the middle, and framing a symmetric roof where the plans show a saltbox.
- Measuring the overhang along the slope instead of horizontally, and making the roof area too big.
- Forgetting that the front and rear rafters are different lengths, and ordering 56 rafters all the same length.
- Using 3 bundles per square for three-tab shingles, which need 3 bundles per square as well but cover less per bundle on some products, so check the packet.
- Framing the rear slope as a wall and forgetting it needs roofing, underlayment and flashing like the front.
- Ignoring the ridge beam: on a saltbox the ridge carries uneven loads from the two sides and often needs to be a beam, not a board.
- Pitching the front below 3/12 and shingling it anyway, so water gets under the laps and the roof leaks in the first storm.
How this page beats the other roof calculators
The roof calculators on Omni Calculator, CalculatorSoup and Inch Calculator all do symmetric gables: one pitch, one slope length, one rafter length, and the ridge in the middle. None of them has a saltbox mode, and none of them lets you enter two pitches. The roofing calculators on BuildItCalc and RoofingCalc do area from a pitch and a footprint, but they assume the roof is symmetric, so a saltbox comes out wrong on the area as well as on the rafters.
| What you get | Omni Calculator | CalculatorSoup | RoofingCalc | This page |
|---|---|---|---|---|
| Roof area from pitch | Yes | Yes | Yes | Yes |
| Two different pitches | No | No | No | Yes, front and rear |
| Ridge offset from centre | No | No | No | Yes, both runs |
| Ridge height | Yes | Sometimes | No | Yes, with a cross-check |
| Two different slope lengths | No | No | No | Yes, with overhang each side |
| Two different rafter lengths | No | No | No | Yes, front and rear |
| Shingle bundles | Yes | Yes | Yes | Yes, 3 per square with waste |
| Rafter pair count | No | No | No | Yes, at your spacing |
| Worked examples with real numbers | Few | Few | Few | Three, every number matching the engine |
The ridge offset is the feature that changes the frame. A symmetric calculator tells you the roof area; a saltbox calculator tells you where the ridge goes, and where the ridge goes decides where every rafter lands, how long each one is cut, and how the roof is framed at the gables. The symmetric check in the third worked example is there so you can see the maths collapse to the familiar gable when the two pitches are equal, which is the proof that the asymmetric numbers are right.
Code, structure and when to get a professional
Roof framing is covered by IRC Section R802, and the rafter spans come from Table R802.5.1, which sets the maximum span by rafter size, spacing, species, grade and load. On a saltbox the two sides have different spans, so the front rafters are sized for 17.14 ft and the rear rafters for 6.86 ft, and the front rafters will be deeper. The ridge is the other structural piece: on a conventional gable the ridge board is a nailing surface, but on a saltbox the uneven rafters can push the ridge sideways, so it is often a beam with posts or a structural ridge.
- •Collar ties and rafter ties hold the roof together against spreading, and their position and size come from IRC Section R802.4 and R802.5.
- •The low front slope needs the right roofing for its pitch: below 4/12 most shingle manufacturers want extra underlayment, and below 2/12 shingles are not allowed at all.
- •Snow load sits differently on the two slopes: the low front holds snow longer than the steep rear, so the front rafters carry more load for longer.
- •Wind load is also uneven: the steep rear slope catches the wind, and the connections at the ridge and the eaves have to hold it.
- •Any roof with a ridge beam, a cathedral ceiling or a span outside the tables is a question for a licensed professional before the first rafter is cut.
Ordering the roofing
Order the shingles by the bundle count, the underlayment by the square, and the rafters by the length, and keep the two sides separate on the order. The default roof needs 35 bundles of shingles, about 11 squares of underlayment, 28 front rafters cut to 19.12 ft and 28 rear rafters cut to 10.23 ft, plus a 36 ft ridge board or beam.
| Item (default roof) | Quantity | Note |
|---|---|---|
| Shingles | 35 bundles | 3 per square, 10% waste included |
| Underlayment | About 11 squares | Felt or synthetic, plus ice shield at eaves |
| Front rafters | 28 | 19.12 ft each, 18.4 degrees |
| Rear rafters | 28 | 10.23 ft each, 39.8 degrees |
| Ridge board or beam | 36 ft | Sized for the uneven load |
Price the roofing with the roofing calculator and the roofing cost calculator, work out the pitch on its own with the roof pitch calculator, and size the rafters with the rafter calculator. For the gambrel alternative, the gambrel roof calculator does the four-slope version of the same job.
What to do next
Price the roof with the roofing calculator and the roofing cost calculator, work out a single pitch with the roof pitch calculator, and size the rafters with the rafter calculator. For the four-slope alternative, the gambrel roof calculator covers gambrel roofs, and the roof truss calculator prices a trussed roof instead of a stick-framed one. Save the finished numbers to your project in the BuildCova app so the order list travels with you to the roofing supplier.
Assumptions
- •Planning estimate only: roof framing is structural, so the code edition adopted by the authority having jurisdiction governs, and a licensed professional signs off rafter sizes, ridge beams and connections, especially on a saltbox where the two sides load the ridge unevenly.
- •The geometry assumes both slopes meet at one ridge height, which is what makes a saltbox a saltbox: the front run times the front pitch equals the rear run times the rear pitch, and the two runs add up to the span.
- •Pitches are entered as rise over a 12 in run (4/12, 10/12), which is the standard way roof pitch is written in the United States. The calculator converts pitch to an angle for the slope and overhang maths.
- •The overhang is measured horizontally from the wall, and the calculator extends it along the slope, so the slope length includes the eave. The gable-end overhang (the rake) is not included in the area; add it separately if the gables overhang.
- •Shingle bundles are 3 bundles per square, which is the standard for architectural shingles, with the waste allowance you pick. Three-tab shingles and specialty shingles have different bundle coverage, so check the packet.
- •Rafter pairs are counted at the spacing you pick along the roof length, plus one pair at the end. The calculator does not size the rafters; rafter depth comes from the span tables for the species, grade and load.
Sources✓ Verified
- International Residential Code (IRC) 2021, Section R802 | Roof Framing. Rafter spans, ridge boards, collar ties and roof framing rules.
- International Residential Code (IRC) 2021, Table R802.5.1 | Rafter Spans. Maximum rafter spans by size, spacing, species and load.
- American Wood Council (AWC), Wood Frame Construction Manual. Roof framing practice for asymmetric and cathedral roofs.
Formula reviewed November 2026.
A saltbox roof is an asymmetric gable roof: one slope is long and low-pitched, and the other is short and steep, and the ridge sits off-centre, closer to the steep side. It comes from colonial New England houses, where the long rear slope ran down to a single-storey lean-to at the back. On a 24 ft span with a 4/12 front and a 10/12 rear, the ridge sits 17.14 ft from the front eave and only 6.86 ft from the rear eave.
Start from the ridge height, which is the same for both sides. Front run times front pitch equals rear run times rear pitch, and the two runs add up to the span, so front run = span x rear pitch / (front pitch + rear pitch). On a 24 ft span with 4/12 and 10/12, the front run is 24 x 10 / 14 = 17.14 ft and the rear run is 6.86 ft. The ridge height is 17.14 x 4 / 12 = 5.71 ft. Each slope is then the square root of run squared plus height squared, plus the overhang.
Off-centre, towards the steep side. The ridge sits where the two slopes reach the same height, so the run on each side is inversely proportional to its pitch: the low-pitch side gets the long run and the steep side gets the short run. With a 4/12 front and a 10/12 rear on a 24 ft span, the ridge is 17.14 ft from the front and 6.86 ft from the rear. If the pitches were equal, the ridge would be in the middle at 12 ft each side.
Add the two slope lengths and multiply by the roof length, then divide by 100 for squares. The default saltbox here has a 19.12 ft front slope and a 10.23 ft rear slope over 36 ft, which is 1,056.6 sq ft, or 10.57 squares. At 3 bundles per square with 10% waste, that is 35 bundles. The long low slope is most of the area, so the front pitch matters more than the rear pitch for the shingle order.
Each side has its own rafter length, and they are not equal. On the default roof the front rafters are 19.12 ft long including the 12 in overhang, and the rear rafters are 10.23 ft. The front rafters are cut from longer stock than the rear rafters, and they meet at the ridge at different angles: 18.4 degrees on the front and 39.8 degrees on the rear. Count 28 pairs at 16 in on-center over 36 ft.
A saltbox is an asymmetric gable with two slopes, one long and low and one short and steep, meeting at an off-centre ridge. A gambrel roof has four slopes: two shallow slopes at the top and two steep slopes at the sides, with the ridge in the middle. A saltbox is a gable with the ridge moved; a gambrel is a gable with a bend in each slope. For a gambrel, use the gambrel roof calculator.
Converters to use with the Saltbox Roof Calculator
Switch units, compare bulk and bagged quantities, or check coverage, without leaving BuildCova.
RoofingRoofing Squares to Square Feet Converter1 square = 100 sq ft, plus bundles.
RoofingRoof Pitch to Degrees Converter6/12 pitch is 26.57°, any pitch.
RoofingShingle Bundles to Squares Converter3 bundles make 1 square (100 sq ft).More roofing calculators
RoofingIce and Water Shield CalculatorThis ice and water shield calculator works out how many rolls your roof needs, so you order enough to meet the code. A 2,000 sq ft roof with 100 ft of eaves and 40 ft of valleys needs 420 sq ft of shield, 300 sq ft at the eaves and 120 sq ft in the valleys, which is 3 rolls with a 10% waste allowance. IRC R905.1.2 requires the barrier to run from the lowest roof edges to at least 24 in inside the exterior wall line.
RoofingRoof Area CalculatorA roof area calculator that turns the footprint, the overhang and the pitch into the true sloped roof area, with roofing squares, shingle bundles and underlayment rolls, for a gable or a hip roof. A 40 by 30 ft house at 6/12 has a footprint of 1,200 sq ft and a roof of 1,341.64 sq ft, which is 13.42 roofing squares, and with a 1 ft overhang the roof is 1,502.64 sq ft, or 15.03 squares, needing 50 bundles of shingles at 10% waste. Measure from the ground, never from a ladder, and verify on site before you order.
RoofingRoofing CalculatorA roofing calculator that turns your building footprint and roof pitch into the real sloped roof area, the number of roofing squares and how many bundles of shingles to order. A flat-area count leaves you short on the slope, and a short order stops the crew with the roof open. Enter the footprint and pitch and get a count the roof actually takes.
RoofingGutter & Downspout CalculatorA gutter calculator that turns your gutter run and roof area into the downspout count the roof needs, then helps you plan gutter sections, hangers and extensions. Too few downspouts and water overflows the gutter in heavy rain; too many and you pay for outlets the roof never uses. Enter the run and area and get the count right.
RoofingRoofing Underlayment CalculatorA roofing underlayment calculator that turns your roof area into the number of underlayment rolls you need, synthetic or traditional felt, with the overlaps built in. Underlayment is the layer that keeps water out while the shingles go on, so a short count leaves roof deck exposed. Enter the area and get the roll count before the tear-off starts.
RoofingRoofing Cost CalculatorA roofing cost calculator that shows the installed cost per square foot and per roofing square, with tear-off, underlayment, flashing and a permit broken out. Enter the roof footprint and pitch, choose the roofing material, then compare all nine roofing materials side by side, including the cost per year of life. A low price per square foot can still mean a high price per year of life, so compare both.Was this calculator helpful?
Material requirements can vary based on product specifications and job conditions. Verify quantities with your supplier before ordering.