Write down the finished outside dimensions you have in mind, then mark those lengths on scrap cardboard. Cut the pieces with scissors or a utility knife used carefully on a protected surface. For a small shelf 18 inches long and 6 inches deep, tape together a flat outline at those dimensions.
Place the mockup where the finished project will go. Check the doorway, nearby drawers, and room to reach around it. If you’re building a box, remember that the boards take up space inside; test the inside dimensions with cardboard strips too.
Ask someone at a community workshop, “Could you check whether these measurements leave room for the parts to join?” Search “cardboard prototype woodworking” for examples. Adjust the model before buying boards.