# What size server rack do you need?

A server rack must be at least as many **U** tall as your equipment, where one U is 1.75 inches (44.45 mm) of height. Then leave some **free U** empty, for what you might add later. You count a wall cabinet in a closet the same way as a floor rack. For a router or an ISP’s modem on a shelf, count the shelf’s U and the U above the shelf that the item reaches into.

Published October 14, 2026 Last updated November 23, 2026

## What takes U in a rack?

The **rails** are the upright strips with rows of holes inside a rack, and rack-mount equipment bolts to them. An item that bolts to the rails takes its own height in U. Equipment made for a rack bolts on with a rail kit or with **rack ears**: brackets at its sides. Its spec sheet or its listing can give its height in U. A shelf bolts to the rails too, so it takes U of its own.

How deep the rack has to be for those items is a second question, answered in our guide to [server rack depth](https://gearome.com/guides/server-rack-depth).

Equipment that isn’t made for a rack, such as a router, an ISP’s modem, a desktop NAS or a mini PC, stands on a shelf. A desktop **NAS** stores files for your network. It is a box of hard drives. Equipment on a shelf **blocks** the U above the shelf, up to its own height: no other item can use that space. A desktop NAS can block more U than its shelf takes. To find how many U an item on a shelf takes, divide its height by one U and round up to a whole U.

Where the item’s U start depends on the shelf’s **deck**, the plate the item stands on. A **cantilever shelf** bolts to the front rails only, and its deck is at the bottom of its own U. So the item’s first U is the shelf’s, and the rest are the U it blocks above the shelf.

The deck plate has a thickness, so the item starts a little above the bottom of the shelf’s U. Where we don’t have a deck’s thickness, [the Gearome planner allows](https://gearome.com/how-it-works#checks) 0.1 inches (2 mm) for it. Add that to the item’s height before you round up.

*Example [Synology DS925+, a desktop NAS](https://gearome.com/products/synology-ds925-plus)*

- **Height**: 6.5 in (166 mm) Standing on a shelf
- **Height in U**: 3.77U With the deck’s 0.1 in (2 mm), divided by 1.75 in (44.45 mm)
- **Takes**: 4U From the deck it stands on

The DS925+ is 6.5 inches (166 mm) tall, and the Gearome planner allows 0.1 inches (2 mm) for the cantilever shelf’s deck. Divided by one U, 1.75 inches (44.45 mm), that is 3.77U. No other item fits in what is left of the last U, so the NAS takes 4U, counted from the deck it stands on.

A **4-post shelf** bolts to the front and rear rails. Its deck can be at the top of its U. Then the item starts in the U above, and every U it takes is blocked, on top of the shelf’s own U. A **sliding shelf** pulls out of the rack like a drawer. Its deck can sit partway up its U, so the item starts inside the shelf’s U. Each shelf’s page on Gearome gives its **deck offset**, read from the maker’s photo or drawing: how far up the shelf its deck sits. Wherever that is inside the shelf’s own U, add the 0.1 inches (2 mm) too. Our guide to server rack accessories says which kind of shelf your rack takes.

If you put several items on one shelf, decide which items share it before you count. The tallest of them sets how many U that shelf blocks.

Some equipment takes no U at all. A **PDU** puts outlets in the rack: it is a power strip for the equipment in it. A vertical PDU, like the StarTech one below, doesn’t bolt to the rails. It fixes to the rack’s **frame**: the posts or side bars beside them. A vertical PDU can still decide how tall the rack has to be, because a long one is made only for tall racks. The PDU’s spec sheet can say which rack heights it fits.

*Example [StarTech RKPW247015, a vertical PDU](https://gearome.com/products/startech-rkpw247015)*

- **Takes**: no U Fixed to the rack’s frame
- **Made for**: 42U racks By StarTech’s datasheet

This PDU takes no U. StarTech makes it for 42U racks, so it needs a rack of 42U or taller, whatever else goes in it.

## How many U does your equipment need?

Count in this order:

1. List every item you plan to put in the rack.
2. For each item that bolts to the rails, shelves included, add its height in U.
3. For each shelf, add the U that the tallest item on it blocks above the shelf.
4. Add the free U you want for what you might add later.

Add the totals from steps 2, 3 and 4. That sum is the height your rack needs, in U. The example below adds up a small network in a wall cabinet. A **UPS** keeps the equipment running when the power goes out: it is a battery between the wall outlet and the equipment. A **switch** connects the network’s wired devices. A **patch panel** is where the cables from around the building end, and short cables join it to the switch.

*A small network in a StarTech RK12WALHM, a 12U wall cabinet*

Six items, listed from the bottom of the rack up.

| Item | U counted |
| --- | --- |
| [CyberPower CP1500PFCRM2U UPS](https://gearome.com/products/cyberpower-cp1500pfcrm2u) | 2U |
| [StarTech CABSHELFV1U shelf](https://gearome.com/products/startech-cabshelfv1u) *Comes with the cabinet* | 1U |
| [Synology DS925+ NAS](https://gearome.com/products/synology-ds925-plus) *Above the shelf; its first U is the shelf’s* | 3U |
| [CyberPower CPS1215RM PDU](https://gearome.com/products/cyberpower-cps1215rm) | 1U |
| [NETGEAR GS724T switch](https://gearome.com/products/netgear-gs724t) | 1U |
| [StarTech C6PANEL24 patch panel](https://gearome.com/products/startech-c6panel24) | 1U |
| **Total, before free U** | **9U** |

The five items on the rails take 6U. The NAS takes 4U, starting in the cantilever shelf’s own U, so it blocks 3U above the shelf. This example takes 9U in all, so the 12U cabinet has the U for it, with 3U free. Whether each item is shallow enough is a second check. The drawing under [Server rack layout](#server-rack-layout-where-each-item-goes) shows which U each item takes.

## How many free U to leave in a server rack

Leave some U free for equipment you might add later. If you know what you’ll add, count its U as you counted the rest. If you don’t, pick the item you would most likely add, such as a second switch or a UPS. Leave free U for the tallest model of that item you might buy. A model’s listing gives its height in U.

The example’s 3U free are what its 12U cabinet has left over. The panel below shows what a second NAS would take.

A taller rack isn’t always rated for more weight. A rack’s **weight capacity** is the weight it is rated to hold. Compare it with everything the rack will hold, including what you add later. The Gearome planner checks that weight against the rack’s weight capacity. On a wall, the rack’s own weight counts as well, and we have no figure for any wall. Our guide to weight capacity covers [what the wall carries](https://gearome.com/guides/server-rack-weight-capacity#on-a-wall-the-racks-own-weight-adds-to-what-the-wall-carries).

*The example in two heights of one StarTech cabinet*

The free U each height leaves, its outside height, what the equipment weighs, what each cabinet weighs and what each is rated for.

|  | 12U, RK12WALHM | 15U, RK1520WALHM |
| --- | --- | --- |
| Free U | 3U | 6U |
| U needed, with a second NAS | 13U | 13U |
| Free U, with a second NAS | No room | 2U |
| Outside height | 25.1 in (637 mm) | 30.3 in (770 mm) |
| What the equipment weighs | 45.6 lb (20.7 kg) | 45.6 lb (20.7 kg) |
| The same, with a second NAS | No room | 55.0 lb (24.96 kg) |
| The rack’s own weight | 63.7 lb (28.9 kg) | 87.3 lb (39.6 kg) |
| Weight capacity | 198.4 lb (90 kg) | 198.4 lb (90 kg) |

StarTech sells the example’s cabinet, the [RK12WALHM](https://gearome.com/products/startech-rk12walhm), in a 15U version, the [RK1520WALHM](https://gearome.com/products/startech-rk1520walhm). The 15U cabinet leaves 6U free where the 12U cabinet leaves 3U. A second NAS, on a [StarTech CABSHELF1U10](https://gearome.com/products/startech-cabshelf1u10) shelf bought for it, brings the example to 13U. The 15U cabinet has room for that with 2U free, and the 12U cabinet doesn’t.

The 15U cabinet weighs 23.6 lb (10.7 kg) more than the 12U cabinet. Both are rated for 198.4 lb (90 kg).

## Server rack sizes: the heights we have figures for

We read each rack’s figures from its manufacturer’s documents, and its product page links them. Every rack we have figures for is a 19-inch rack, the width rack-mount equipment is made for. So you choose a rack by its height in U and by its depth.

Choose a rack at least as tall as your total, free U included.

*Rack heights we have figures for*

Every height at which we have figures for five or more racks, from 4U to 42U. Each height links to its racks. A rack that can hang on a wall or stand on the floor counts in both columns. The outside heights leave out vertical wall racks, which hold equipment on its side.

| Height | Racks | For a wall | For the floor | Outside height |
| --- | --- | --- | --- | --- |
| **4U to 9U** |  |  |  | |
| [4U](https://gearome.com/category/racks?heightUMin=4&heightUMax=4) | 8 | 7 | 2 | 6.8 to 10.6 in (172 to 268 mm) |
| [6U](https://gearome.com/category/racks?heightUMin=6&heightUMax=6) | 19 | 19 | 4 | 10.7 to 16.1 in (272 to 408 mm) |
| [8U](https://gearome.com/category/racks?heightUMin=8&heightUMax=8) | 13 | 8 | 6 | 14.2 to 19.2 in (361 to 488 mm) |
| [9U](https://gearome.com/category/racks?heightUMin=9&heightUMax=9) | 16 | 14 | 4 | 18.9 to 23.0 in (480 to 583 mm) |
| **12U to 42U** |  |  |  | |
| [12U](https://gearome.com/category/racks?heightUMin=12&heightUMax=12) | 30 | 20 | 13 | 21.0 to 28.2 in (534 to 717 mm) |
| [15U](https://gearome.com/category/racks?heightUMin=15&heightUMax=15) | 15 | 11 | 7 | 29.4 to 33.5 in (746 to 850 mm) |
| [18U](https://gearome.com/category/racks?heightUMin=18&heightUMax=18) | 17 | 13 | 7 | 34.8 to 36.6 in (883 to 930 mm) |
| [42U](https://gearome.com/category/racks?heightUMin=42&heightUMax=42) | 6 | 0 | 6 | 77.0 to 79.0 in (1957 to 2007 mm) |

If your total falls between two heights, take the next height up. Our [rack catalog](https://gearome.com/category/racks) lets you filter the 157 racks we have figures for by height, including the heights this table leaves out.

## Server rack layout: where each item goes

Decide which U each item will take before you buy. An item needs all its U together, so a 3U item can’t use one free U here and two more there. Keep your free U together, at the spot where the next item will go.

Put the heaviest items at the bottom. StarTech’s [manual for the example’s cabinet](https://media.startech.com/downloads/image/RK12WALHM_12U_cabinet_hinged_door_manual.pdf) says to load the heaviest equipment into the bottom section first, then the rest in descending order of weight. The example follows it, from the UPS at the bottom up.

StarTech RK12WALHM, a 12U wall cabinet 9 / 12U

U12

U11

U10

U09

U08

U07

U06

U05

U04

U03

U02

U01

U12

U11

U10

U09

U08

U07

U06

U05

U04

U03

U02

U01

StarTech 1U Vented Cantilever Shelf, 250mm Deep 1 rack unit

UPS CyberPower CP1500PFCRM2U, PFC Sinewave 1500VA 2U Rack UPS A UPS, 2 rack units, that supplies 1000 watts.

PDU CyberPower CPS1215RM, Basic 10-Outlet 1U Rack PDU A PDU, 1 rack unit, that supplies 1800 watts.

Switch NETGEAR GS724T A switch, 1 rack unit, that draws 13.5 watts.

Patch Panel StarTech 24-Port 1U Cat6 Patch Panel A patch panel, 1 rack unit.

- NAS Synology DS925+, 4-Bay NAS Storage 6.5 inches (166 mm) tall

*The Gearome planner draws the example. The equipment takes 9U, and its 3U free are all at the top, so the next item can take up to 3U.*

## Will your own equipment fit?

Add your own equipment to the [Gearome planner](https://gearome.com/plans/new), and it adds up the U, blocked U included. It tells you when an item has no room left, or when what stands on a shelf runs past the top of the rack.

The Gearome planner checks fit, weight and power together, so it also tells you whether the cabinet and each shelf can carry what they hold. When something doesn’t fit, it shows the two figures that decided it. [How it works](https://gearome.com/how-it-works) lists each check. It doesn’t check heat or airflow: an item’s manual can give the room it needs around it, and its highest operating temperature.

For equipment we don’t have figures for, add a **custom item**: one you define in the Gearome planner with its own height, depth and weight. Measure its height from the surface it stands on to its highest point, feet included.

## Read next

- [How deep does a server rack need to be?](https://gearome.com/guides/server-rack-depth)

[Every guide →](https://gearome.com/guides#fit)
