Compare an inset base with its dry frame Worked example for https://woodwork.fewrays.com/projects/open-desktop-tray/ Inside width near front (mm): 376 Inside width near back (mm): 375.6 Inside depth at left (mm): 226 Inside depth at right (mm): 226.2 Measured base width (mm): 376 Measured base depth (mm): 226 Chosen total gap per axis (mm): 0 Smallest measured inside width: 375.6 mm Smallest measured inside depth: 226 mm Inside-width variation: 0.4 mm Inside-depth variation: 0.2 mm Width clearance at tightest measurement: -0.4 mm Depth clearance at tightest measurement: 0 mm Base width for the entered target gap: 375.6 mm Base depth for the entered target gap: 226 mm Measured base minus target width: 0.4 mm Measured base minus target depth: 0 mm A positive base-minus-target value means oversize; a negative value means the base is smaller than that target. Negative clearance means interference. These are measurements at four positions, not proof that the whole opening is rectangular or free of bow. Square the dry frame and inspect its full edges before changing P. The open-desktop-tray default uses zero total base gap; an adhesive must support any gap you choose. Return to /projects/open-desktop-tray/ for the full assembly. The example widths are 376 and 375.6 mm; depths are 226 and 226.2 mm. A 376 × 226 mm base has −0.4 mm clearance at the tightest width and zero at the tightest depth. At a zero target gap, the simple rectangular target is 375.6 × 226 mm. The width variation is itself a reason to check frame alignment before trimming 0.4 mm from a correctly made base. Before making - Four readings cannot describe every bowed or uneven edge. Check the whole seating perimeter and the diagonals. - A positive base-minus-target result indicates excess material; a negative one describes a smaller base and cannot be fixed by trimming. - Any adhesive joint with a gap must follow the adhesive maker’s instructions. This calculation supplies no allowable glue-gap or strength claim.