Size a vertical pot-lid rack around rims and handles
A thin lid can take up more room than a thick one when its knob projects a long way. Plan the rack around the sequence of rims and the handle that needs the most clearance.

On this page
Rebuild the cupboard order on the bench
Line the lids up on a tea towel with the handles facing the way they will in the cupboard. Put your hand between two lids, grasp the middle one and lift it out. A large lid may fit perfectly at the back yet hide the small one you use every day. Swap them and repeat. Note the final order before entering the sequence of rim sizes.

Measure the rim that passes between the posts
For each piece, measure the thickness of the rolled rim where it will contact the rack. A metal surround on a glass lid can be much wider than the glass itself. Then measure how far the handle projects from the lid surface. For a bridge handle, measure at its highest point. Enter the rim widths in order and choose the common clearance according to the knob that projects farthest.

See how handle clearance consumes depth
The preset uses three rims of 7, 9 and 6 mm with 16 mm of knob room. The generated piece measures 78 × 88 × 36.8 mm. Raising knob clearance to 18 mm increases the depth to 94 mm. Those extra 2 mm are repeated in all three bays. On a shallow shelf it is worth doing that multiplication before finding the foot projects past the cupboard.
Check the space above the lids
Cut a strip of card to the resulting depth and mark the three positions. Hold the lids there and gently close the door. Check the top of the largest lid, the knob nearest the door and the space to remove the middle one. The print holds the rims between two rows of rounded posts and leaves an open channel along the middle. Check that channel when cleaning for crumbs that have fallen beneath the lids.
Check a replacement lid before remaking the rack
If you replace a pan, compare its new lid with the old one using the cardboard layout. A rim of the same thickness may work in the existing bay provided the knob and domed surface clear both neighbours. Try turning just this lid around with its knob the other way, then see whether picking it up still feels natural. If you decide to add another bay, enter the new rim thickness in its actual position in the list. The model will add the common knob clearance and spacing between supports as well, so repeat the cupboard-depth check.
