To figure the door opening use width x height dimensions only. Length doesn't have any relevence in determining opening.