← All Tools
cm
cm
Compartment gap (clear space)
Compartments

Shelf-by-shelf positions (from the bottom)

    Real lumber can have slight thickness variance, so it's a good idea to double-check with an actual measurement before cutting.

    What is a shelf spacing calculator?

    The Shelf Spacing Calculator works out the exact even-spaced position of every shelf in a bookcase or cabinet from just three numbers: the total internal length, how many shelves you want, and the shelf thickness. It divides the remaining space — after subtracting the room the shelves themselves take up — evenly across every compartment (shelf count + 1), so you don't end up with uneven gaps from eyeballing the layout. The result comes with both an exact position list measured from the bottom of the case and a diagram drawn to match your actual proportions.

    How to use it

    Enter the total internal length of your bookcase or cabinet, how many shelves you want, and the shelf thickness. The compartment gap and compartment count are calculated instantly, and a list below shows the exact install position of every shelf measured from the bottom. The diagram is drawn to match your actual input proportions, so you can preview roughly what the finished piece will look like.

    When it comes in handy

    Why does skipping shelf thickness throw off the spacing?

    It's easy to overlook that shelves themselves take up space equal to their thickness — the compartments aren't the only thing filling the case. For example, fitting 4 shelves (each 1.8cm thick) into 180cm leaves only 172.8cm of usable space after subtracting the 7.2cm the shelves themselves occupy, and that remaining space needs to be divided into 5 compartments (shelf count + 1) to get the correct gap. If you ignore thickness and just divide 180 by 5, every compartment ends up slightly narrower than calculated once it's actually built.

    Good to know for real-world shelf installation

    Frequently Asked Questions

    Does "number of shelves" mean the shelf boards themselves, or the compartments?
    It's the number of shelf boards. For example, adding 4 shelves creates 5 compartments total (above and below each shelf), and this tool makes sure all 5 compartments end up evenly spaced.
    Why do I need to enter the shelf thickness?
    Because the shelves themselves take up space. Without subtracting shelf thickness, the actual gap once installed would end up smaller than the calculated value.
    What are the calculated positions measured from?
    The very bottom of the case (bookcase or cabinet) is treated as position 0, and each shelf's position is the distance from there to the bottom face of that shelf.
    How do I prevent a shelf from sagging?
    This tool only calculates positions — preventing sag depends on shelf thickness, material, and support spacing. If you're planning to hold heavy items, consider a thicker shelf or adding a mid-span support.
    Does this account for shelf width too?
    No, this tool only calculates vertical (height) spacing. Use the shelf's own width for the horizontal dimension.
    Should I include the case's own thickness in the total length?
    Enter the actual interior dimension — the distance between the inner faces of the case's top and bottom panels. The case's own material thickness should already be excluded from that number.