Thanksgiving might be the most horrible time of the year for flying. Here's how to make it slightly less horrible if you still haven't booked your flights.

ThinkStock

The Insider studied the numbers from the Bureau of Transportation Statistics to figure out the best and worst times to fly around Thanksgiving to avoid the biggest crowds and longest delays. Check 'em out:

  • The best day to fly out is the Saturday before Thanksgiving. The second best is on Thanksgiving itself.
  • The worst days are the Sunday and Tuesday before Thanksgiving, especially Tuesday night.
  • When you're going home afterwards, Black Friday is the best day to fly. Saturday is the second best.
  • The Monday and Tuesday after Thanksgiving are the worst times to fly home, they have the most delays.