Skip to content
Omnikalc

What size barn door and track do you need?

Enter the opening width and height, the overlap on each side and at the top, the gap under the door and the hanger allowance: get the door width and height, the track length, the track mounting height and the clear wall needed beside the opening.

Updated on
Your inputs
in

Value out of range

in

Value out of range

in

Value out of range

in

Value out of range

in

Value out of range

in

Value out of range

Results

Door width

38.0 in

Door height

81.0 in

Track length (2 × door width)
76.0 in
Track mounting height
83.5 in
Clear wall beside the opening
38.0 in
Fix the track to a header board screwed into the studs, since a solid door can weigh 50 to 100 lb; add a floor guide and end stops, and remember a barn door does not seal sound or light like a hinged door

A sliding barn door saves the floor space a swinging door needs, and it has become a popular choice for pantries, bathrooms and home offices. But the door must be larger than the opening, and it needs clear wall space to slide into. This calculator works out the door, the track and where to mount it.

How the calculation works

  • Door width = opening width + overlap on each side × 2
  • Door height = opening height + overlap at the top
  • Track length = 2 × door width, so the door can clear the opening fully
  • Track mounting height = gap under the door + door height + hanger allowance
  • Clear wall beside the opening = door width

A 36 × 80 in opening with 1 in of overlap on each side and at the top needs a door about 38 in wide and 81 in tall. The track should be 76 in long and mounted about 83.5 in above the floor, allowing a 0.5 in gap under the door and 2 in for the hangers. You need 38 in of clear wall beside the opening, with no switches, outlets or windows in the way.

Overlap and privacy

Overlap each side Result
1 in the usual minimum, small gaps visible
2 in better privacy and less light through the sides
3 in or more best for bathrooms, needs more wall

Because the door hangs in front of the wall, it never seals like a hinged door. For a bathroom, choose a larger overlap, add a soft stop and a latch, or consider a pocket door.

Installation tips

  • Mount the track on a header board (often a 1 × 6 or 2 × 6) screwed into every stud, since a solid wood door can weigh 50 to 100 lb.
  • Check the track’s weight rating and the stud locations before buying hardware.
  • Fit a floor guide so the door does not swing out, and end stops to stop it at the right place.
  • Leave room for trim: if the opening has casing, the door must clear it, which may need spacers.
  • Choose soft-close hardware for quiet operation, and a flush pull on the side that slides against the wall.

Frequently asked questions

What size barn door for a 36 in opening?

About 38 to 40 in wide, overlapping the opening by 1 to 2 in on each side, and about 81 in tall for an 80 in opening.

How long should a barn door track be?

Twice the door width, so 76 in for a 38 in door.

How high do you mount a barn door track?

About 83.5 in for an 81 in door with a 0.5 in floor gap and 2 in of hanger allowance; check your hardware's instructions.

How much wall space does a barn door need?

At least the door width beside the opening, free of switches, outlets and windows.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.