Sliding Door Calculator
Last updated: 2026-08-10
Enter your email and download a PDF report with your results.
| Number of doors (ud) | Leaf width (m) | Door height (m) | |
|---|---|---|---|
| Armario empotrado (60 cm) | 2 ud | 0.6 m | 2.03 m |
| Paso estándar (80 cm) | 1 ud | 0.8 m | 2.1 m |
| Paso doble hoja (2×70 cm) | 2 ud | 0.7 m | 2.1 m |
| Salón large (100 cm) | 1 ud | 1 m | 2.1 m |
| Varias estancias (5 ud) | 5 ud | 0.8 m | 2.03 m |
The Sliding Door Calculator is a free online tool designed to help carpenters, interior designers, and DIY homeowners quickly estimate the materials needed for sliding door installations. This calculator eliminates guesswork by computing rail lengths, hardware counts, total square meters, and approximate weight based on the number of doors and their dimensions. Whether you are planning a wardrobe, a room partition, or a patio entrance, this tool provides instant, reliable results using metric inputs and common imperial equivalents.
What the Sliding Door Calculator Does and When to Use It
The Sliding Door Calculator takes three essential inputs: the number of doors, the width of each door in meters, and the height of each door in meters. It then outputs five key values: rail length per door, total rail length needed, the number of hanger sets (herrajes), total square meters of glass or paneling, and an estimated weight in kilograms. You should use this calculator whenever you need to order materials for a sliding door system, whether for a new construction, a renovation, or a custom furniture project. It is especially useful for budgeting and avoiding under-ordering or over-ordering supplies. The calculator works for standard sliding doors where each door slides on a top track or rail, and the results assume a basic material density of 12 kg per square meter for weight estimation.
The Formula Explained Variable by Variable
The calculator uses a straightforward JavaScript function that processes three input variables: num_puertas (number of doors), ancho_hoja_m (width of one door in meters), and alto_m (height of one door in meters). The default values are 0.9 meters for width and 2.1 meters for height, but you can change them. Here is how each calculation works:
- Rail length per door (rail_ud): This is the width of one door multiplied by a fixed factor of 2.1. This factor accounts for the typical rail overlap and the track length needed for one door to slide fully open. If your door width is 0.9 m, the rail per door is 0.9 x 2.1 = 1.89 m.
- Total rail length (rail_total): This is the rail per door multiplied by the total number of doors. For two doors, 1.89 m x 2 = 3.78 m.
- Hanger sets (herrajes): This is simply the number of doors multiplied by 2, because each sliding door requires two hanger sets (one at the top left and one at the top right) to glide smoothly on the rail.
- Total square meters (m2_total): This is width x height x number of doors. For two doors of 0.9 m x 2.1 m, the total is 0.9 x 2.1 x 2 = 3.78 m².
- Estimated weight (peso_est): This is the total square meters multiplied by 12 kg per square meter, a common average density for glass panels, wooden doors, or aluminum frames. For 3.78 m², the weight is approximately 3.78 x 12 = 45.4 kg.
- Fixings count (fijaciones): This is the total rail length divided by 0.5 meters (the typical spacing for rail brackets) and then rounded up. For 3.78 m of rail, you need 3.78 / 0.5 = 7.56, rounded up to 8 fixings.
All results are rounded to two decimal places except the weight, which is shown to one decimal place. The calculator returns an error if the number of doors is zero or missing, ensuring you always have a valid input.
Two Worked Examples with Concrete Numbers
Example 1: Standard Two-Door Wardrobe
You are building a sliding door wardrobe with two doors. Each door measures 0.9 meters wide and 2.1 meters high. Enter these values into the calculator:
- Number of doors = 2
- Width = 0.9 m
- Height = 2.1 m
The calculator returns the following results:
| Calculation | Result |
|---|---|
| Rail length per door | 1.89 m |
| Total rail length | 3.78 m |
| Hanger sets | 4 sets |
| Total square meters | 3.78 m² (about 40.7 sq ft) |
| Estimated weight | 45.4 kg (about 100 lbs) |
| Fixings needed | 8 pieces |
This means you need to purchase a 3.8-meter rail (or two 1.9-meter sections), four hanger sets, and eight bracket fixings. The total panel weight of 45 kg is manageable for most standard aluminum tracks.
Example 2: Large Three-Door Patio System
Now imagine a patio sliding door system with three doors, each wider at 1.2 meters and 2.3 meters tall. Enter these inputs:
- Number of doors = 3
- Width = 1.2 m
- Height = 2.3 m
The calculator produces these outputs:
| Calculation | Result |
|---|---|
| Rail length per door | 2.52 m |
| Total rail length | 7.56 m |
| Hanger sets | 6 sets |
| Total square meters | 8.28 m² (about 89.1 sq ft) |
| Estimated weight | 99.4 kg (about 219 lbs) |
| Fixings needed | 16 pieces |
For this larger installation, you will need a heavy-duty rail system to support nearly 100 kg. The total rail length of 7.56 m should be split into sections, and you must ensure the wall brackets are secured at every 0.5-meter interval to prevent sagging.
Common Mistakes to Avoid When Using the Sliding Door Calculator
One frequent error is entering the total width of the entire opening instead of the width of a single door. The calculator expects the width of one door leaf, not the combined width of all doors. For example, if you have a 1.8-meter opening and plan to use two doors, each door width should be about 0.9 meters—not 1.8. Another mistake is forgetting that the rail length per door is 2.1 times the door width, not equal to the width. This factor accounts for the door sliding past the opening, so an 0.9-meter door needs a 1.89-meter rail. People also sometimes misinterpret the hanger set count: the calculator outputs the number of sets (each set includes left and right hangers), but some suppliers sell hangers individually. Always check your supplier’s packaging. Finally, the weight estimate assumes an average material density of 12 kg/m², which is typical for glass or medium-density fiberboard. If you are using solid wood or heavy metal doors, the actual weight will be higher, so add a safety margin to your track selection.
Frequently Asked Questions
Can I use the Sliding Door Calculator for pocket doors?
This calculator is designed for overhead sliding doors that move on an exposed top rail. Pocket doors, which slide into a wall cavity, have different track requirements and often need special hardware. You can still use the formula for simple material estimation, but the rail length and hanger counts may not be accurate for pocket door systems. Always refer to the pocket door kit instructions for precise measurements.
What imperial equivalents does the calculator offer?
While the calculator inputs and outputs are in metric units (meters, kilograms, square meters), the examples in this article include common imperial conversions. For instance, 0.9 meters is roughly 3 feet, 2.1 meters is about 6 feet 11 inches, and 45.4 kg is around 100 pounds. To convert square meters to square feet, multiply by 10.764. You can easily use a separate conversion tool if needed, but the core calculations remain in metric for professional trades.
Why is the rail length per door multiplied by 2.1?
The factor 2.1 accounts for the fact that a sliding door needs a rail roughly double its width to allow the door to slide fully open without blocking the access. The extra 0.1 is a safety buffer for hanger clearance and track end stops. For example, a 1-meter-wide door requires a 2.1-meter rail section so that the door can move from the closed position to the fully open position without falling off the track. This ratio works well for typical interior sliding doors and is widely used in the industry.