You have to put in the internal volume, and account for any volume lost from bracing, the ports, drivers, and handles.
Definitely, I just threw in a quick estimate basically. Moving it significantly up/down didn't change my port length much though, which makes me think I've got something else off. I'll figure it out soon I'm sure.