Home Pole barn calculator

Barns and buildings · Free calculator

Pole Barn Calculator

Enter the size of your post-frame building and its doors. You get a material list, plan and elevation drawings, and a cost range for a kit or a contractor-built barn.

  • Presets by use
  • Material list
  • Drawings
  • Cost range
  • Print or PDF
Fills in a starting size, eave height and doors
Top of the wall at the eave
Go below your local frost line
Doors and openings
Built by a contractor, 1,200 sq ft$18,000 – $48,000Kit materials only: $12,000 – $36,000
+ Add to my budget Free account. Track this estimate against what you really spend.
Posts18 × 16 ft
Trusses (8 ft on center)6
Roof purlins, 24 in on center840 lin ft
Wall girts, 24 in on center750 lin ft
Treated skirt board125 lin ft
Roof steel (36 in coverage)28 panels × 16.9 ft
Roof area1,417 sq ft
Wall steel, net of openings1,689 sq ft
Concrete footer pads (18 in × 8 in)36 bags (80 lb)

Borrowing? See the monthly payment in the pole barn financing calculator. Contractor range: 15–40 $/sq ft; kit: 10–30 $/sq ft. Source: HomeGuide: Pole barn prices, checked 2026-12-04.

12' × 10'1,200 sq ftridge abovetruss at each postFRONT8'8'8'8'8'40'30'
Floor plan40' × 30', posts 8' on center along the sidewalls, front wall at the bottom
40' × 30' = 1,200 sq ft5 bays × 8'
Scale051015ft
PostWall girtsDoor openingTruss line
3/4 viewFront wall and left end wall with the doors you entered
ScaleNot to scale
40'12'17'
Front elevationSidewall, eave height 12', the 4/12 roof rises behind the eave
Eave 12'Ridge 17'Overhangs 1' eave, 1' gable
Scale051015ft
Steel sidingSteel roofPost behind siding
12430'12'17'
End wall and trussGable end, 4/12 pitch, ridge 17'; the truss is shown dashed behind the siding
Span 30'Rise 5'Pitch 4/12
Scale051015ft
Steel sidingTrussDoor

Free · no obligation

Get quotes for this building

Want quotes for this building? Leave your email and ZIP and we'll send your building (30 × 40 ft, estimated $18,000 – $48,000, materials list) to up to 3 post-frame builders who serve your area, and email you when they reply. Free, no obligation.

Prints your inputs, results and drawings on one sheet.

Presets by building use

Pick a use at the top of the calculator to start from a sized building: a machine shed (40 × 72 ft, 16 ft eave, 24 × 14 ft end door, after Purdue AE-115 and NDSU plans), a hay barn (20 ft sidewalls as in University of Maine's capacity table, an 18 ft high door for Alberta's bale-wagon clearance), an equipment shed (14 ft eave, UGA), a livestock barn (12 ft walls for a 40 ft wide beef building, Purdue AE-97) or a farm shop (10 ft door with 12 ft walls, Timberline). Every number stays editable. The reasons and costs for each use are on the pole barn cost guide.

What the calculator assumes

  • A simple gable building with posts on both sidewalls and on the end walls.
  • One truss on every pair of sidewall posts.
  • Roof purlins and wall girts at 24 inches on center.
  • Metal panels with 36 inches of coverage.
  • Posts rounded up to common lengths (10 to 24 ft); footer pads 18 inches across and 8 inches thick, 80 lb bags at about 0.6 cubic feet each.

How to use the material list

Send the list and the drawings to two or three suppliers and ask them to quote the same building. If one quote has far fewer posts, trusses or purlins, ask why. Different spacing is fine if it is engineered for your loads; missing parts are not.

For a full price picture by size, see the pole barn cost guide. For the floor, use the concrete slab calculator.

Planning to finance it? Put the contractor or kit cost into the pole barn financing calculator to see the monthly payment and total interest for your down payment, APR and term.

Frequently asked questions

How much does a pole barn cost per square foot?

Cost guides put a contractor-built pole barn at about $15 to $40 per square foot. A materials kit is about $10 to $30 per square foot and labor about $5 to $10. Concrete floors, insulation, electrical, site work and permits are extra.

How many posts does a pole barn need?

Count the bays along each sidewall (length divided by post spacing, rounded up) and add one, for both sidewalls. Then add the inner posts on each end wall. A 30 × 40 ft barn with posts 8 ft on center has 6 posts on each sidewall and 3 inner posts on each end wall, so 18 posts.

What post spacing should I use?

8 ft on center is the most common for kits and works with standard trusses and purlins. 10 and 12 ft spacing uses fewer posts and trusses but needs heavier trusses, purlins and girts. Your truss supplier or engineer decides what spacing your snow load allows.

How deep should pole barn posts be set?

Many builders set posts about 4 ft deep, but the real rule is below your local frost line and deep enough for the wind and uplift loads. Your county building department can tell you the frost depth, and the post and footing design should come from your kit supplier or an engineer.

How many trusses do I need?

In a typical post-frame building there is one truss on each pair of sidewall posts. That is the number of bays plus one. A 40 ft long barn with 8 ft spacing has 5 bays and 6 trusses.

How much metal roofing does a pole barn need?

Multiply the sloped rafter length (half the width plus the eave overhang, times the pitch factor) by the roof length including gable overhangs, for both sides. Panels with 36 inches of coverage are counted by dividing the roof length by 3 ft and rounding up.

Is a pole barn kit cheaper than hiring a builder?

A kit saves the labor, roughly a third of the cost, but you still need equipment rental, a crew and time. Small measuring errors can make the frame unsafe, so many owners use a kit with a hired erector or buy a turnkey building.

Do I need a permit for a pole barn?

Usually yes, although many states and counties exempt agricultural buildings on farms from some building code rules. Exemptions vary a lot, so ask your county before you buy a kit.

What size door does a machine shed need?

Purdue Extension's machinery storage guide says doors 13 to 14 ft high fit most farm equipment, and endwall doors 20 to 24 ft wide fit most 6- or 8-row equipment in buildings 40 to 48 ft wide. A 12-row planter needs a 32 ft door unless it folds or is end-trucked (24 ft). Pick the machine shed preset to start there.

What does the pole barn calculator give me?

A full material take-off (posts with lengths, trusses, purlins, girts, skirt board, roof and wall steel, footing concrete), plan and elevation drawings and a kit and contractor cost range. Your truss supplier sizes the trusses and posts for your local snow and wind loads, which is standard for every post-frame kit.

Sources

Prices and sources last checked 2026-12-04.