Home / How we calculate
How we calculate
Every Barn Budget calculator works the same way: it turns the sizes you enter into a material list you can order from, draws the plan, and puts a price range next to it with the source and the date we checked it. This page explains the rules behind those numbers.
Quantities come from geometry
- Your sizes first. Lengths, widths, heights, spacing and pitch come from what you type. Each calculator lists its assumptions right under the tool.
- Real product sizes. Lumber is rounded up to common US lengths, metal panels to their real coverage width, stall mats to 4×6 ft, wire and tape to real roll lengths, and concrete to 40, 60 and 80 lb bag yields from the manufacturers' data sheets.
- Counting like a builder. Posts are counted per run plus corners and gates, panels per row, trusses per bay plus one. We round up, because you can't buy half a post.
- Waste you can see. On concrete, where spillage and uneven ground are normal, the waste percentage is a field you can change, not a hidden factor.
- Bulk materials by weight and by volume. Gravel, sand and stone dust are shown in cubic yards, tons and truckloads, using published tons-per-yard factors.
Prices are ranges with a source and a date
Building prices depend on your state, the season, the supplier and who does the work. So we never show one number. Each calculator shows a low and a high range taken from published cost guides, with a link to the source and the date we last checked it (last check: 2026-12-04). Where no reliable source exists, the calculator gives quantities only.
Structure stays with your supplier
Truss sizes, post sizes and footing depths depend on your local snow load, wind speed and frost line. On every post-frame build these come from the truss or kit supplier and your county building department. Our take-offs use the same spacing and member layout they quote, so you can compare quotes line by line.
Horse and livestock numbers come from extension services
Stall and aisle sizes, shelter space per horse or per head of cattle, goats and sheep, fence heights and post spacing, stocking rates, hay intake and arena footing depths follow university extension guidance, mainly Penn State, Purdue, Georgia, Maine, Oklahoma State, Iowa State and Virginia Tech, and the USDA NRCS fence standard, listed below.
Testing before anything goes live
Each calculator has automated tests that run worked examples, for example a 30×40 ft pole barn, a 40×30 ft slab or a 12×12 ft stall, and compare the results with hand calculations and published figures. A change to a formula is only published when every test passes.
Sources we use
University extension services
Horse-specific numbers: stall and aisle sizes, ventilation, shelter space per horse, fence heights and post spacing, hay intake and arena footing depths.
- Penn State Extension: Horse Stall Design
- Penn State Extension: Horse Stable Ventilation
- Penn State Extension: Fence Planning for Horses
- Penn State Extension: Riding Arena Footing Material Selection and Management
- Penn State Extension: The Importance of Weighing Horse Feed
- Purdue Extension AS-553-W: Introduction to Housing for Horses
- University of Georgia Extension, Bulletin 1192: Fences for Horses
- University of Maine Cooperative Extension: Do You Have Enough Forage This Year?
- Kentucky Equine Research: Run-In Sheds Provide Shelter for Pastured Horses
Livestock, fencing and pasture: extension services and NRCS
Fence designs, post spacing, braces and energizer sizing; space per head in livestock sheds and per hen in coops; animal units, forage yields, grazing efficiency, hay intake and losses; high tunnel structure and the NRCS practice standard; machinery and hay building sizes.
- Iowa State University Ag Decision Maker, File B1-75: Estimated Costs for Livestock Fencing (revised December 2024, PDF)
- University of Georgia Extension, Circular 774: Fences for the Farm (reviewed March 12, 2024)
- Virginia Cooperative Extension SPES-688P: Electric Fencing, How Does an Electric Fence Work? (May 9, 2025)
- Virginia Cooperative Extension SPES-689P: Electric Fencing, Choosing an Energizer (May 12, 2025)
- Virginia Cooperative Extension SPES-691P: Electric Fencing, Grounding (May 12, 2025)
- USDA NRCS Minnesota, Conservation Practice Standard 382: Fence (September 2021)
- University of Kentucky AEN-137: Farm Gates, Design Considerations (PDF)
- Penn State Extension: Beef Cow Pen and Bunk Spacing Requirements (updated Oct 26, 2026)
- University of Arkansas Extension: Beef Cattle Handling Facilities
- Virginia Cooperative Extension APSC-103P (2016), sheep housing table from the MWPS Sheep Housing and Equipment Handbook (PDF)
- Penn State Extension: Sheep Housing and Facilities Requirements (updated Aug 28, 2025)
- Langston University, American Institute for Goat Research: Shelter
- New Mexico State University Guide D-703: Goat Housing (revised March 2011)
- Purdue University: Dairy goat housing fact sheet
- Purdue Extension AE-97: Natural Ventilation for Livestock Housing
- Oklahoma State University PSS-2871: Stocking Rate, The Key to Successful Livestock Production (PDF)
- Oklahoma State University PSS-2584: Forage-Budgeting Guidelines (PDF)
- NDSU Extension R1810: Determining Carrying Capacity and Stocking Rates for Range and Pasture in North Dakota (reviewed April 2024)
- Mississippi State University P2458: Assessing Needs and Feed Sources, How Much Forage Do I Have? (PDF, 2020)
- University of Maine Cooperative Extension: Seasonal Carrying Capacity
- University of Maine Cooperative Extension: Planning a Grazing System, Appendix D
- University of Nebraska BeefWatch: Determining how much forage a beef cow needs each day (Jan 31, 2024)
- University of Georgia Forage Team: Minimizing Losses, Hay Storage and Feeding (Oct 30, 2023)
- Alabama Cooperative Extension: Dairy goat and sheep nutrition and forages (Aug 12, 2019)
- Alabama Cooperative Extension: Decreasing costs of feeding horses (Feb 1, 2022)
- Oklahoma State University E-974: 2025 Nutrient Requirements of Beef Cattle (PDF)
- Oregon State University Extension: Nutrient requirements of sheep (Aug 2019, reviewed 2024)
- Langston University, American Institute for Goat Research: Feeding Different Classes of Goats
- Oklahoma State University Meat Goat Production Handbook, Chapter 5: Goat Nutrition (PDF)
- NDSU Extension: Producers encouraged to assess forage requirements (Oct 2019)
- University of Illinois Extension: Bale Feeder Design
- K-State Beef Tips: Choose the Right Hay Feeder to Reduce Waste and Cut Cost (Dec 31, 2024)
- University of Illinois Extension: Hay Storage Tips
- University of Kentucky AGR-171: Round Bale Hay Storage in Kentucky (PDF)
- Texas A&M AgriLife ANSC-PU-157: Bale Weight, How Important Is It? (06/22)
- Virginia Cooperative Extension 2902-1092: Small-scale Poultry Housing (April 28, 2023)
- Penn State Extension: Small Scale Poultry Housing (updated June 25, 2026)
- Penn State Extension: Management Requirements for Laying Flocks (May 17, 2016)
- University of Maryland Extension: Housing Requirements (May 11, 2022)
- Oregon State University Extension EC 1644: Backyard chicken coop design (2014, reviewed 2023)
- University of Georgia Extension: Housing and Confinement for the Backyard Flock (Jan 2010, PDF)
- UConn IPM, J. W. Bartok Jr.: Engineering High Tunnels for Better Performance
- Cornell High Tunnels: Structures
- University of Nebraska EC308: High Tunnel Design, Site Development, and Construction (2015)
- USDA NRCS Conservation Practice Standard 325: High Tunnel System (March 2015 version, PDF)
- USDA NRCS Oklahoma: High Tunnel Fact Sheet (Feb 2019, PDF)
- USDA NRCS Wisconsin: High Tunnel Systems in Wisconsin, FY25 (April 2025, PDF)
- USDA NRCS Indiana: 325 High Tunnel System Implementation Requirements (Jan 2024)
- Purdue Extension AE-115: Planning Guide to Farm Machinery Storage (1986)
- NDSU Agriculture: Machinery Building Plans
- Government of Alberta: Hay Storage, Planning and Design Guidelines (reviewed Nov 2013)
- University of Georgia Extension Bulletin 1173: Economics of Farm Storage Buildings (revised Apr 18, 2017)
Cost guides
Installed and kit price ranges per square foot, per yard or per ton. We show the low and the high end, never one number.
- HomeGuide: Pole barn prices
- HomeGuide: Pole barn kit prices
- HomeGuide: Cost to build a horse barn
- HomeGuide: Cost to build a barn
- HomeGuide: Barndominium cost
- HomeGuide: Metal building cost
- HomeGuide: Metal roof cost
- HomeGuide: Concrete slab cost
- HomeGuide: Concrete prices per yard
- HomeGuide: Concrete footing cost
- HomeGuide: Rebar prices
- HomeGuide: Gravel driveway cost
- HomeGuide: Crushed stone and gravel prices
- HomeGuide: Indoor riding arena cost
- HomeAdvisor: Indoor riding arena cost
- Zareba: Horse fencing cost and pricing comparisons
- Fixr: Wire fence cost (updated January 31, 2025)
- Fixr: Pole barn cost (updated Oct 13, 2022)
- Fixr: Cost to build a barn (updated Oct 18, 2022)
- HomeGuide: How much does it cost to build a chicken coop? (Sept 6, 2024)
- Fixr: Chicken coop cost (updated January 31, 2025)
- Rutgers Farm Management: High Tunnel Investment Decisions (Apr 10, 2026)
- Fixr: Cost to build a greenhouse (updated Aug 19, 2022)
- USDA NASS Agricultural Prices, released November 30, 2026 (October 2026 prices)
- USDA AMS Missouri Direct Hay Report (AMS 2929), December 3, 2026 (PDF)
- USDA AMS Nebraska Direct Hay Report (AMS 2935), December 3, 2026 (PDF)
- USDA AMS Oklahoma Direct Hay Report (AMS 3095), November 25, 2026 (PDF)
- USDA AMS Texas Direct Hay Report (AMS 2707), November 13, 2026 (PDF)
Manufacturer data
Real product sizes: bag yields, roll lengths, mat sizes and post spacing tables, so the counts match what you can buy.
- QUIKRETE Concrete Mix (No. 1101) product data sheet
- Sakrete High-Strength Concrete Mix product page
- Red Brand: Square Deal non-climb horse fence rolls
- Zareba: Electric fence post installation (post spacing table)
- Weatherables: 4-rail vinyl horse fence installation guide
- Greatmats: 4×6 ft rubber horse stall mats, 3/4 inch
- Hippo Safety Fence product page
- Red Brand: Barbed wire (1,320 ft rolls)
- Red Brand: Field fence (330 ft rolls)
- Bekaert: 12.5 ga high-tensile smooth wire, 4,000 ft roll
- Gallagher: 1/16 in poly wire, 656 ft and 1,640 ft rolls
- Gallagher: 1/2 in poly tape, 656 ft roll
- Sutherlands: San Antonio Steel 16 ft × 50 in, 4 gauge, 10-line cattle panel
- Zareba: Electric fencing for cattle
- Zareba: Electric fencing for sheep and goats
- U.S. Global Resources: Tufflite IV high tunnel film stock sizes (Berry, PDF)
- BFG Supply: Greenhouse coverings catalog (Tufflite IV, Dura-Film Super 4, Klerks K50, PDF)
- Johnny's Selected Seeds: Tufflite IV 32 ft × 100 ft greenhouse film
- Johnny's Selected Seeds: Bobcat Pro high tunnel kit parts list (Feb 4, 2022, PDF)
- Bootstrap Farmer: How to Determine the Size of Greenhouse Plastic You Need (Apr 27, 2026)
- Chainlink Fittings: 6 ft 6 in aluminum lock channel and wiggle wire
- AgCare Products: Wiggle wire lock channel, 8 ft section
- Progressive Forage: Hay handling and hauling trends, Dennis Hancock (Apr 27, 2018)
- Timberline Buildings: How to Determine Overhead Door Sizes
- FBi Buildings: How Big of a Garage Door Do You Need? (July 11, 2022)
Conversion factors
Tons per cubic yard for sand, gravel and stone, and how much a dump truck carries.
The calculators
Barns and buildings
- Pole Barn Calculator: Posts, trusses, purlins, girts, metal panels, concrete and a cost range for a gable post-frame building.
- Horse Barn Cost Calculator: Stall layout plan, footprint and a cost range for metal, pole or timber-frame horse barns, with slab, mats and water add-ons.
- Pole Barn Financing Calculator: Monthly payment, total interest and a year-by-year schedule for a pole barn loan, with down payment and site costs.
- Lean-To Calculator: Roof pitch, posts, rafters, purlins and metal panels for a pole barn lean-to or a standalone lean-to shed.
- Metal Roof Calculator: Roof area with pitch, panel count and length, screws, ridge cap, trim and cost for gable and shed roofs.
- Hoop House & High Tunnel Cost Calculator: Bows, ground posts, purlins, the plastic roll to order, wiggle wire and cost for a hoop house or high tunnel, with NRCS EQIP notes.
- Barndominium Cost Calculator: Barndominium or pole barn house cost by size, finish level, shop area and state.
- Run-In Shed Calculator: Size a horse run-in shed or loafing shed by herd size, with a lumber and roofing list, drawings and a cost range.
Fencing
- Farm Fence Calculator: Barbed, woven, high-tensile or electric fence for cattle, goats and sheep: posts, H-braces, wire rolls, energizer and cost per acre.
- Horse Fence Calculator: Posts, boards, no-climb wire rolls, electric tape and gates for any paddock, by feet or by acre, with a plan, fence section and cost per foot.
- Horse Paddock Planner: Draw paddocks, fence lines and gates on a satellite map: acres per horse, posts, materials and a fence cost range.
- Hippo Safety Fence Planner: Draw a Hippo Safety Fence on a satellite map: posts, holders, tape rolls, tensioners and gate posts.
Livestock and pasture
- Stocking Rate Calculator: How many cows, goats, sheep or horses your acres carry, with animal units, AUMs and the winter hay you need.
- Hay Calculator for Cattle, Goats and Sheep: Pounds per day, tons and round or square bales for the winter, with feeding and storage waste, USDA hay prices and barn space.
- Chicken Coop Size Calculator: Coop and run size per hen, roost length, nest boxes, feeder space, a material list, drawings and cost.
- Livestock Shelter Calculator: Size a loafing shed for cattle, goats or sheep by head count, with space per head, a lumber and roofing list, drawings and cost.
- Hay Storage Calculator: How much hay your horses eat, how many bales to buy for the season and how much hay barn space it takes.
Arenas and horses
- Horse Stall Mat Calculator: Count 4×6 ft stall mats and cuts for any stall size, with weight, cost and a horse stall size guide.
- Arena Footing Calculator: Tons, cubic yards and truckloads of sand or stone dust footing and base for a riding arena, with a cross-section.
- Horse Arena Cost: Outdoor and indoor riding arena prices per square foot, footing and fencing costs, with a simple estimator.
Driveways, concrete and site work
- Gravel Driveway Calculator: Tons, cubic yards and truckloads of gravel for driveways, farm lanes and run-in shed pads, with base and top layers and cost ranges.
- Concrete Slab Calculator: Cubic yards, 40/60/80 lb bags, rebar and cost for barn floors, aisles, pads, piers and post footings.
Guides and cost guides
- Barn Types Explained: Gable, gambrel, monitor, center-aisle, shed-row, run-in, lean-to, gothic, hoop, bank and barndominium, each with a simple drawing.
- Pole Barn Cost Guide: What a pole barn costs per square foot and by size, from 24x24 to 60x100, plus floor, site prep and permits.
Found a mistake?
Tell us on Facebook and we will fix it and note the change. You can read more about who builds these tools on the about page.