Gridfinity Calculator: Grid Units and Bin Sizes for Any Drawer
Measure the inside of a drawer and get the layout plan before you open a Gridfinity generator: how many 42 mm units fit across and deep, the tallest bin that still lets the drawer close, the leftover gap on each side, how to split the baseplate into pieces your printer can print, and a bin mix that fills the grid. This page plans the layout; it does not make 3D model files.
How it works
Gridfinity, the open storage system designed by Zack Freedman, uses a 42 × 42 mm grid and 7 mm height units. A bin of n units is 42n - 0.5 mm across: 41.5 mm for one unit, 83.5 mm for two, 125.5 mm for three, so neighbouring bins have 0.5 mm of play.
Grid units. With a baseplate, the plate is 42n mm, so units = floor((inside size - 0.5 mm fit gap) ÷ 42). Without a baseplate the bins sit on the drawer floor, and 42n - 0.5 mm of bins plus 0.5 mm of clearance gives units = floor(inside size ÷ 42). The leftover is split between the two sides if you centre the grid.
Bin height. A bin of u units is 7 × u mm tall from the bottom of its base, plus the stacking lip on top, counted as 4.4 mm (the gridfinity-rebuilt value; some generators print a slightly lower lip, so the result errs on the safe side). In a thin or open-frame baseplate the bin's foot nests inside the socket, so the plate adds no height. Thicker plates add a floor: 6.4 mm for the gridfinity-rebuilt weighted style and 6.75 mm for its screw-together styles; for anything else, enter the added floor from your generator. Tallest bin = floor((usable height - baseplate floor - lip - headroom) ÷ 7). A 1-unit bin fits in very shallow drawers but is almost all base.
Baseplate pieces. A piece of a × b units is 42a × 42b mm and must fit inside your printer's printable area, either way round. The calculator tries both ways, splits each direction as evenly as possible and keeps the option with fewer pieces. Some printers block part of the bed: Bambu Lab's stock X1 and P1 profiles exclude an 18 × 28 mm corner, so a 252 × 252 mm (6 × 6) piece cannot be placed there; enter 238 × 256 mm for those printers.
Worked example: a drawer 380 mm wide, 450 mm deep and 75 mm tall, thin baseplate, lip on, 2 mm headroom, 256 × 256 mm printable area. Width: (380 - 0.5) ÷ 42 = 9.04, so 9 units (378 mm), leaving 2 mm, 1 mm each side. Depth: (450 - 0.5) ÷ 42 = 10.70, so 10 units (420 mm), leaving 30 mm, 15 mm each side. Height: (75 - 4.4 - 2) ÷ 7 = 9.8, so 9-unit bins (63 mm, 67.4 mm with the lip). Baseplate: at most 6 units per side per piece, so 9 splits into 5 + 4 and 10 into 5 + 5: two 5 × 5 pieces and two 4 × 5 pieces. One mix that fills the 9 × 10 grid: twenty 2 × 2 bins and five 1 × 2 bins.
Sources: grid, height-unit, lip, bin and baseplate dimensions from gridfinity-rebuilt-openscad standard.scad and gridfinity-rebuilt-baseplate.scad (added height per plate style), which implement the community Gridfinity specification; excluded bed corner from Bambu Studio's X1 Carbon machine profile.
Questions
What size is one Gridfinity unit?
42 × 42 mm on the grid. A bin is 42 mm per unit minus 0.5 mm in total (41.5 mm for one unit, 83.5 mm for two), so it drops in with 0.5 mm of play. Heights go in 7 mm steps: a 3-unit bin is 21 mm tall, or 25.4 mm with a 4.4 mm stacking lip.
Does the Gridfinity bin height include the base?
Yes. The height in units counts from the bottom of the bin's base to the top of its wall, and leaves out the stacking lip. The usable inside depth is about one unit less, because the base takes the first 7 mm.
What do I do with the leftover space around the grid?
Centre the grid and print spacers or a baseplate with padded edges so it cannot slide. If a margin is 21 mm or more, some generators can add a half-unit row of bins.
My drawer is bigger than my printer bed. Can I still use one baseplate?
Yes, print it in pieces. Baseplate pieces butt together on the 42 mm grid, and bins straddle the joins without trouble. Enter both sides of your printable area and the calculator splits the grid into pieces that fit, trying them both ways round.
Should I turn off the stacking lip?
Turn it off if the drawer is too shallow and you will not stack bins. It saves about 4.4 mm of height, which can be enough for one more height unit.