Skip to content
Veterans Day Sale!
Free Shipping + Quality Guarantee
Questions? Call 1-800-540-9051
Veterans Day Sale!
Free Shipping + Quality Guarantee
Questions? Call 1-800-540-9051
Wood sliding barn door and dark metal track in a well-kept farmhouse hallway

Measuring for a Sliding Barn Door: Door Size, Track Length, and Ceiling Clearance

A sliding barn door is about the most forgiving door you can hang. It doesn’t need a square jamb, it doesn’t close against stops, and it will happily cover an opening that’s a little out of plumb. What it won’t forgive is a bad set of numbers. Order a door that’s two inches short, or a track that won’t fit between the opening and the corner of the room, and you’re either living with the gap or waiting on a reorder.

Measuring for one comes down to three numbers: how big the door needs to be, how long the track needs to be, and how much room there is above the door for the hardware. I co-own a barn door hardware store, and those three are where sizing mistakes tend to show up. Get them right and the install is mostly a level and a drill.

What to measure before you buy anything

Take every measurement before you order a door or hardware, and write them all down in one place. You’ll want:

  • Opening width, measured at the top, middle and bottom. Use the widest of the three.
  • Opening height, measured on both sides from the finished floor. Use the taller one. If flooring is still going in, measure from where the finished floor will end up, not from the subfloor.
  • Any trim around the opening: how far it sticks out from the wall, and where the top of the head casing sits.
  • How much clear wall there is beside the opening on the side where the door will park.
  • The distance from the floor to the ceiling, or to whatever hangs lowest above the opening. In an older house that’s often a beam, a soffit or a run of crown molding.
  • Whether the floor is level across the opening and along the wall where the door will slide.
  • The door’s thickness and weight, if you already have the door.

1. Door width

The standard rule is opening width plus 4 inches. That gives you 2 inches of overlap on each side, enough that you won’t see a sliver of light (or the inside of the pantry) past the edges. A 32-inch opening takes a 36-inch door.

For bedrooms and bathrooms, go to the opening plus 6 inches, 3 per side. A barn door hangs off the wall instead of closing into a frame, and standard hardware holds it 3/8 inch away from the wall. Extra overlap does more for privacy than anything else you can change. If you want it tighter still, add pile or brush weatherstrip to the edges. Skip rubber or silicone seals on a sliding door. They drag, they wear unevenly, and they make the door harder to move.

If wall space is tight you can go narrower, but there’s a floor: 1/2 inch of overlap per side is the minimum before the door stops reliably covering the edge of the opening. Treat that as a limit for a tight spot, not a target.

2. Door height

With no trim over the opening, the door should be at least the opening height plus 1 inch.

Head trim changes that. The track mounts above the door, so a door sized to the opening plus 1 inch puts the track right on top of the casing. Don’t mount a track to trim. Instead, make the door at least as tall as the top of the head casing. Farmhouse trim tends to be tall, so if the head casing over an 80-inch opening tops out at 84 inches, the door needs to be at least 84 inches tall.

That’s trim height, which is a different problem from trim depth (how far the casing sticks out from the wall). Depth gets solved with spacers behind the track, which I’ll get to below. Spacers do nothing for casing that sits above the opening.

Remember that a taller door raises the track, so recheck the ceiling clearance in section 5 against the new door height before you order.

Hidden roller hardware is measured differently. The rollers mount to the back of the door and sit in the space above the opening, so the door has to be the rough opening height plus at least 4-3/8 inches. We recommend 5 inches if the room allows it. Don’t add the floor gap on top of that number. It’s the most common hidden roller measuring mistake.

3. Door thickness and weight

These two decide which tier of hardware you need, and they’re easy to overlook if you’re building the door yourself.

On the barn door hardware kits we sell, standard duty sliding hardware fits doors from 1-3/8 to 1-3/4 inches thick. Heavy duty goes up to 2-1/4 inches. Hidden roller hardware needs a door at least 1 inch thick.

A classic DIY plank door, two layers of 3/4-inch boards, comes out at 1-1/2 inches and sits comfortably in the standard duty range. Face a 2x frame with 3/4-inch boards and you’re at 2-1/4 inches, which is a heavy duty door no matter what it weighs.

Weight is the other half. Standard duty hardware in our lineup tops out at 250 pounds per door on the horseshoe hanger, and the popular J-strap is rated for 200. Reclaimed timber, oak, or a door with a glass panel climbs past that faster than you’d think. That’s where heavy duty barn door kits come in: the J-strap, flat top strap and wagon wheel hangers carry 400 pounds per door, and the horseshoe carries 600.

If you don’t know what the door weighs, check the manufacturer’s listed weight or have it weighed using suitable equipment and safe handling. Do not attempt to hold a heavy door while standing on a household scale.

For a heavy or wide door, ask the supplier to confirm the approved hanger arrangement and load rating for the exact kit. Do not assume that adding a third roller increases the safe capacity by a fixed percentage. Follow the manufacturer’s requirements for door width, weight, mounting and any additional hangers; custom parts may need to be quoted separately.

4. Track length

For a single sliding door, the track should be twice the width of the door. Not twice the opening. The door has to slide its full width to clear the opening, so a 36-inch door needs a 72-inch track.

That also tells you how much wall you need. The door parks beside the opening, so plan on roughly a door’s width of clear wall on the parking side, plus a little for the stop.

Any track over 7 feet 6 inches ships in sections with connecting plates. A 48-inch door needs a 96-inch track, so it gets a joint. Whatever is behind the track (more on that in section 6) needs to run continuously across that joint.

If your measurements land between the stock track lengths, ask about a factory cut before you reach for a saw. The manufacturer behind most of what we sell, Goldberg Brothers, will cut track to length at the factory and powder coat it after the cut at no extra charge. The trade-off is that a custom length is a custom order, so it can’t be returned. Measure twice.

I know plenty of homesteaders own an angle grinder and aren’t afraid to use it, and track can be cut on site. But the cut end is bare steel, so it needs a rust inhibitor on the cut edge. Only on the cut edge. Never on the track’s running surface or the rollers, which run on sealed bearings and don’t need lubricant. A site-cut track also loses its warranty and can’t be returned. Stainless steel track is the exception on rust, since the cut face is the same alloy as the rest.

5. Ceiling clearance and track height

The track mounts above the door and the rollers ride on top of it, so the hardware needs clear space between the top of the door and the ceiling. How much depends on the hanger style, and the spread is wider than most people expect. On the hardware we sell:

  • Standard duty straight strap, straight top mount and horseshoe: 4 inches above the door.
  • Standard duty J-strap and J top mount: 4-1/2 inches.
  • Most heavy duty hangers and all stainless styles: 5-1/2 inches.
  • Spoked wagon wheel styles: 9 inches.
  • Hidden roller: 4-3/8 inches above the rough opening, not above the door.

Other hardware lines use different numbers, sometimes by several inches, so check the spec for the exact kit you’re buying.

To check your own opening, measure from the floor to the lowest thing above the door, then subtract the door height and the 3/8-inch gap the door rides above the floor. Whatever’s left has to be at least the clearance your hanger needs.

Say you have an old farmhouse with a beam at 88-1/2 inches and an 84-inch door. Take away the 84 inches and the 3/8-inch floor gap and you’re left with 4-1/8 inches. A standard duty straight strap fits with an eighth of an inch to spare. A J-strap doesn’t, and neither does any heavy duty hanger. Same door, same opening, and the hanger style decides whether it works.

Once you know the hardware fits, the next question is where the track goes on the wall. There’s no universal formula for it, and adding up the door height, hanger clearance and floor gap yourself will steer you wrong. For the hardware we sell, the track’s centerline sits at the door height plus 1-1/2 inches for standard duty, and plus 1-3/4 inches for heavy duty and stainless. Those figures already include the floor gap. An 84-inch door on standard duty hardware puts the track centerline at 85-1/2 inches. Confirm it against the instructions for your kit before you drill.

6. Wall space, backing and trim

Go back to that clear wall beside the opening and look at what’s on it. With the door hanging 3/8 inch off the wall, light switches, thermostats, outlets with something plugged in, coat hooks and handrails all end up in its way. A light switch behind a parked door gets old fast.

Then look at what the track will mount to. It carries the whole weight of the door from one wall, and drywall alone won’t hold it. You have two options, and either one is enough:

  • A hardwood header board, 1x6 at minimum, in oak, maple or poplar, lag-bolted into the studs. Not pine. It’s what most of us have stacked in the barn, but it’s too soft for this. The header board also means the track’s mounting holes don’t have to line up with your studs.
  • Solid wood blocking between the studs, running the full length of the track. If the wall is open for a remodel or a new build, this is the cheap time to do it.

Using both doesn’t hurt, but you don’t need both.

Trim that sticks out from the wall is the last check. The track has to stand off far enough for the door to clear it. Standard duty kits we sell include spacers that clear up to 1 inch of trim with a 1-3/8-inch door, or up to 1/2 inch with a 1-3/4-inch door, since a thicker door uses up more of the spacer stack. Heavy duty kits take an add-on spacer kit that clears up to 1-1/4 inches. Hidden roller hardware clears 7/8 inch of trim with nothing added. If your trim sticks out more than 1-1/4 inches, talk to your supplier before ordering.

7. Wide openings and tight walls

Not every opening suits one door.

For a wide opening, a biparting pair hangs two doors that meet in the middle. Each door is the opening plus 4 inches, divided by 2, and the track runs four times the width of one door. That works out to the same total track a single door would need over the same opening. A 60-inch opening takes two 32-inch doors on a 128-inch track, which ships in sections. Floor guides go just outside the opening, one per door. Nothing goes at the center where the doors meet. It’s the natural guess, and it puts the guide exactly where the doors close.

For a closet or a long storage wall, bypass doors slide past each other on one or more tracks. The sizing math changes because the doors overlap each other, so look up the formula for the specific setup instead of reusing the single door rule.

If there isn’t a door’s width of wall beside the opening, a bifold barn door might work instead. It folds into a stack about 5 inches deep per pair of panels, so it needs very little wall. The trade-off is that it swings out into the room as it folds, by the width of one panel plus 1/2 inch, so check that a hallway or an appliance door isn’t in the way.

8. Barns, sheds and outbuildings

Everything above assumes an indoor floor. Out in a barn or shed, two things change.

First, give the door more room underneath. The 3/8-inch floor gap is a spec for finished indoor floors. Gravel, a concrete pad that isn’t quite flat, or a raised threshold all call for more, and you should check the whole path the door slides along, not just the opening. A door that clears in the middle of the opening and catches on a high spot as it parks still catches.

Second, pick hardware that’s rated for outdoors. Standard powder-coated steel barn door hardware is made for interiors. Stainless steel is the only line we’d put outside, especially anywhere damp or near the coast, and it’s the only one whose warranty covers rust.

Putting it together

Here’s the whole process on a pantry door.

The opening is 30 inches wide and 80 inches tall. The casing sticks out 1/2 inch from the wall, and the head casing tops out at 84 inches. The ceiling is a standard 8 feet, and the door is a 1-3/4-inch solid core slab that weighs well under 200 pounds.

  • Width: 30 plus 4 is a 34-inch door.
  • Height: the head casing sets the minimum, so the door is 84 inches.
  • Track: twice the door width is 68 inches. That’s under 7 feet 6 inches, so it ships in one piece, and you need about 34 inches of clear wall on the parking side.
  • Clearance: 96 inches minus 84 and the 3/8-inch floor gap leaves 11-5/8 inches. Every hanger style fits.
  • Track height: on standard duty hardware the centerline goes at 85-1/2 inches.
  • Trim: 1/2 inch of casing with a 1-3/4-inch door is right at the limit of the spacers included in a standard duty kit, so nothing extra to buy.
  • Hardware: the door is inside standard duty’s thickness and weight range, so a standard duty kit will carry it.

That’s seven numbers on the back of an envelope, and it’s most of the work. If any of them look off, measure again before you order. A reorder costs far more time than a second pass with the tape.

About the author

Evan Christensen is co-owner of The Barn Door Hardware Store, a family-owned retailer of barn door, bifold and hidden roller hardware. Before taking over the store in 2024, he worked in hardware engineering and structural simulation.

Previous article Replacing Your Roof Before Installing Solar Panels: What to Plan
Next article Is Your Roof Ready for the Next Big Storm? Here's How to Check

Leave a comment

Comments must be approved before appearing

* Required fields

Location

We are located in central California and sell online only.

Free Shipping

When you spend $200+

5 Star Reviews

Thousands of
Satisfied Customers.

Give Us A Call

1-800-540-9051

Compare products

{"one"=>"Select 2 or 3 items to compare", "other"=>"{{ count }} of 3 items selected"}

Select first item to compare

Select second item to compare

Select third item to compare

Compare