I usually decide on how deep I want the bag before I start. When I've settled on the depth and height then I know how big to cut my pieces. I usually "do my own thing" when making bags. If I use a pattern it is just a suggestion. I'm not sure there is a formula for depth to height and width.
Pat