The terminals take between 10-20 minutes to walk between depending on your gate. If you're connecting internationally, you can take the shuttle to Terminal 5, which takes 10 minutes between the two farthest points. (Note that select international flights, such as to Canada, can depart from Terminal 3).