For slot ports I'm not sure but for tubs its the diameter of the port.

I'd venture to guesstimate the height of the port.

Taking a router to the corners of the port would help with flow as well.

Have you decided on a driver yet? I could run some sims to find out how close you are to the limits of port flow.