Collar Tie Calculator - Roof Collar Tie Length & Spacing Estimator

Use this free collar tie calculator to plan your roof framing. Input building span, roof pitch, placement reference, and roof length to calculate tie length and total quantity.

Updated: August 13, 2026 • Free Tool

Collar Tie Calculator

Total width of the building from the outside of the wall plates in feet.

Roof pitch in rise-in-inches per 12 inches of horizontal run.

Select how you want to specify the vertical location of the collar tie.

Vertical distance in feet from the selected reference to the collar tie.

The total horizontal length of the roof along the eave or ridge line in feet.

Center-to-center spacing between collar ties in inches (maximum 48 inches by code).

Results

Total Roof Rise
0ft
Rafter Slope Length 0ft
Collar Tie Length 0ft
Height above Floor 0ft
Distance below Ridge 0ft
Quantity Needed 0
IRC Height Compliant 0
IRC Spacing Compliant 0

What Is Collar Tie Calculator?

A collar tie calculator is a specialized roof framing tool designed to help structural designers, builders, and DIY builders accurately estimate the horizontal board length, spacing, and total quantity of collar ties required for a gable roof. Collar ties are horizontal structural components connecting opposing common rafters within the upper third of the attic space. Using a dedicated calculator ensures that your roof framing conforms to regional safety standards, resists wind-induced rafter separation, and keeps materials optimized for cost-effectiveness and structural safety.

  • Wind Uplift Calculation: Plan the upper horizontal ties to prevent rafters from separating or pulling away from the ridge beam under severe wind conditions.
  • Attic Space Planning: Determine the exact layout height to maximize headroom inside an attic bedroom or storage unit without violating building codes.
  • Framing Material Estimates: Calculate the linear board feet of nominal lumber required for the collar ties, reducing cut waste at the lumberyard.

In residential roof construction, structural members work in concert to distribute load. When wind forces blow over a gable roof, they create strong aerodynamic suction (wind uplift) that tries to pry the rafters away from the ridge. To prevent this pull-apart action, carpenters install horizontal timber pieces called collar ties. These ties are placed in the upper third of the attic. Failing to calculate the height, size, and spacing of these ties can lead to major structural damage during a storm.

While they look similar to rafter ties, they serve a completely different purpose. Rafter ties are located in the lower third of the attic and resist the lateral thrust that pushes the support walls outward. By understanding how to lay out and measure these members, builders can construct framing that resists gravity loads and wind uplift forces without sagging or splaying.

Performing these layout geometry calculations before cutting lumber prevents waste and ensures code compliance. Our estimator uses the mathematical principles of similar triangles to determine the exact horizontal tie width based on your roof slope, overall span, and target placement height. It provides visual compliance warnings if the tie is placed too low or if spacing exceeds the maximum center-to-center span.

To coordinate the collar tie layout with your main roof framing structure, you can use the Rafter Length Calculator to find the total diagonal rafter dimensions before estimating tie details.

How Collar Tie Calculator Works

The collar tie calculator determines the required tie length, total rise, and structural counts using roof geometry and building code limitations.

Total Rise = (Span / 2) * (Pitch / 12) Rafter Length = sqrt((Span / 2)^2 + Total Rise^2) Collar Tie Length = Span * (Distance from Ridge / Total Rise) Collar Tie Quantity = ceil(Roof Length / (Spacing / 12)) + 1
  • Span:
  • Pitch:
  • Distance from Ridge:
  • Spacing:

The geometric foundation of this calculation is similar triangles. The two rafters and the horizontal collar tie form a small triangle near the roof peak, which shares the exact same slope angles as the larger triangle formed by the rafters and the attic floor. Consequently, the ratios of their heights to their horizontal bases are identical. If you place a collar tie exactly halfway down the vertical rise, the tie length will be exactly half of the total building span.

Building codes restrict the vertical boundaries of this layout. The International Residential Code (IRC) states that collar ties must be positioned in the upper third of the attic space. This restriction ensures that the tie is high enough to effectively resist peak separation while leaving rafter ties or ceiling joists at the bottom to resist wall thrust.

Standard Residential Garage Roof Layout

Roof Span = 24 ft, Roof Pitch = 6/12, Placement = 2 ft below ridge, Roof Length = 40 ft, Spacing = 48 inches

1. Calculate Run: Run = 24 / 2 = 12 ft. 2. Calculate Total Rise: Rise = 12 * (6 / 12) = 6 ft. 3. Calculate Rafter Length: sqrt(12^2 + 6^2) = sqrt(144 + 36) = 13.42 ft. 4. Placement is 2 ft below ridge (Distance from Ridge = 2 ft). Height above floor is 6 - 2 = 4 ft. 5. Calculate Collar Tie Length: 24 * (2 / 6) = 8 ft. 6. Check upper third rule: 2 ft <= 6 ft / 3 (which is 2 ft). Compliance is 'Yes'. 7. Spacing is 48 inches (4 ft). Spacing compliance is 'Yes'. 8. Calculate Quantity: ceil(40 / 4) + 1 = 11 ties.

Tie Length = 8.00 ft, Rise = 6.00 ft, Rafter Length = 13.42 ft, Quantity = 11, Height Compliant = Yes, Spacing Compliant = Yes

The framing requires 11 collar ties, each 8 feet long, placed 2 feet below the ridge peak (or 4 feet above the attic floor), spaced 48 inches apart.

According to International Code Council, collar ties must be located in the upper third of the attic space, spaced not more than 4 feet on center, and have a nominal minimum size of 1 inch by 4 inches.

Since the rise of the attic space depends directly on the slope of your roof, calculating the pitch using the Roof Pitch Calculator ensures your geometry variables are accurate.

Key Concepts Explained

To frame a gable roof safely and efficiently, it is essential to understand these framing terms and structural principles.

Collar Tie vs. Rafter Tie

Collar ties are located in the upper third to prevent ridge separation under wind lift. Rafter ties are in the lower third to prevent the outer walls from spreading outward.

Attic Rise and Run

Run is half the building's span, and rise is the total vertical distance from the wall plate to the top of the ridge beam.

Wind Uplift Forces

Wind blowing over a roof acts like airplane wings, creating upward aerodynamic suction. High ties prevent the ridge seam from pulling apart.

On-Center Spacing (OC)

The distance measured from the center of one framing member to the center of the next. Spacing is capped at 48 inches for collar ties.

Understanding these components prevents dangerous structural mistakes during framing. If you install collar ties but fail to install proper rafter ties or ceiling joists, the weight of the roof will push the walls outward, leading to roof sagging and potential collapse of the wall structure. Always keep both tension ties active.

Building codes specify that collar ties must have a nominal thickness of at least 1 inch by 4 inches. In heavy wind zones, designers often upgrade these to 2x4 or 2x6 framing lumber to accommodate extra nails or bolts, improving the connection shear capacity.

For additional roof structural planning, a Purlin Spacing Calculator can help you space the horizontal sheathing supports that cross over the outer edges of the rafters.

How to Use This Calculator

Use these simple steps to estimate the collar tie lengths and quantity needed for your framing assembly.

  1. 1 Enter the Building Span: Measure the horizontal distance from the outside edge of the framing wall on one side to the outside edge on the opposite side.
  2. 2 Select the Roof Pitch: Enter the slope of the roof in inches of rise per 12 inches of run (for example, a 6 in 12 pitch).
  3. 3 Define the Placement Reference: Choose whether to input the location as the drop distance below the ridge peak or the height above the attic floor plates.
  4. 4 Specify Location and Spacing: Input the specific distance for your tie placement, along with the total length of the roof and your target center-to-center spacing.

For a workshop with a 30-foot span, an 8/12 pitch, a roof length of 48 feet, and a spacing of 48 inches, placing the collar tie 3 feet below the ridge peak (on a total rise of 10 feet) results in a collar tie length of 9 feet. The project will require 13 collar ties, and the layout meets both IRC height and spacing requirements.

Benefits of Using This Calculator

Calculating your framing layout with our calculator provides structural, financial, and planning advantages.

  • Ensures Code Compliance: Instantly verify that your horizontal ties sit within the upper third of the attic rise and do not exceed the 48-inch spacing limit.
  • Reduces Lumber Waste: Find the exact board length needed so you can purchase standard nominal lengths (e.g. buying 10ft boards for a 9ft tie) and limit offcut waste.
  • Optimizes Structural Strength: Ensure the ties are high enough to resist ridge splitting under wind loads, protecting your structure from storm damage.
  • Speeds Up Field Work: Provide your framing crew with pre-calculated cutting dimensions and spacing layout schedules before raising the rafters.

By doing the math before picking up a framing hammer, you avoid structural failures and inspectors' red tags. The calculator provides instant feedback, helping you find the perfect balance between ceiling headroom and structural stability.

Having pre-calculated layouts also allows you to prepare templates on the ground, making rafter pre-assembly fast and uniform across the entire build length.

If you are using pre-fabricated trusses instead of traditional rafters, you can check the Roof Truss Calculator to estimate truss spacing and quantities.

Factors That Affect Your Results

Several factors, building standards, and site conditions affect how you should size and space collar ties.

Fastener Schedules

The strength of a collar tie depends on its connections. Code requires at least three 10d box nails or equivalent screws at each rafter end.

Local Wind Speeds

High-wind and coastal regions require specific engineering calculations, which may override standard 1x4 and 48-inch spacing defaults.

Roof Geometry Variations

Irregular gables or vaulting may require custom structural engineering, as asymmetrical loads increase stress on connections.

  • This calculator does not perform load-bearing calculations and is not a substitute for professional engineering analysis.
  • Collar ties do not replace rafter ties or ceiling joists; they are secondary wind-uplift framing members.

Always review the nominal thickness of your rafters. When using heavy bolts to secure ties, the drill holes remove wood fiber, which can weaken smaller rafters if not spaced correctly. Consult a designer for details.

In some regions, metal ridge straps or collar straps are used instead of lumber ties. If you use straps, they must cross the ridge and connect to both rafters with the correct nailing pattern.

According to International Code Council Section R802.5.1, connection details for roof framing members must be designed to withstand structural loads, using appropriate fasteners and nailing schedules.

Collar tie calculator showing structural roof framing with a horizontal collar tie located in the upper third.
Collar tie calculator showing structural roof framing with a horizontal collar tie located in the upper third.

Frequently Asked Questions

Q: What is a collar tie used for?

A: A collar tie is used to resist wind uplift forces that try to separate rafters at the ridge peak. By securing opposing rafters together in the upper third of the attic space, they keep the ridge connection stable during high winds.

Q: How high up should a collar tie be placed?

A: According to the building code, collar ties must be installed in the upper third of the attic height. For example, if your total roof rise is 9 feet, the collar tie must be placed no lower than 3 feet below the ridge.

Q: What is the difference between a collar tie and a rafter tie?

A: Collar ties are placed in the upper third of the attic to resist wind uplift. Rafter ties are located in the lower third (often acting as ceiling joists) to resist the outward thrust of gravity loads on the building walls.

Q: How far apart should collar ties be spaced?

A: Under standard building codes, collar ties must be spaced no more than 4 feet (48 inches) apart. However, they are often spaced on every rafter pair (typically 16 or 24 inches on center) to align with framing elements.

Q: Does a collar tie prevent roof sagging?

A: No, collar ties do not prevent roof sagging or wall spreading; that is the job of rafter ties or ridge beams. Collar ties are intended only to hold the rafter peak connection together against separating tension forces.