I think the OP was talking about flying to MCO if that's the case you should leave time to clear US customs in Calgary before your flight. Anywhere between 2 and 3 hours you should be fine, in case US customs decides to play "games" and not have enough poel on the desks. I wouldn't arrive anywhere less than 2 hours just incase something happens either with customs or security.