How far is Afton, WY from Cody, WY?

The driving distance from Afton, WY to Cody, WY is about 246.6 miles (396.8 km), with a travel time of about 05h 29m by car.

  • The straight-line flight distance is about 155.8 miles (250.8 km).
  • For a round trip, plan for roughly 10h 58m of driving time before adding stops, traffic, or weather delays.
  • A comfortable departure window is usually 6:00 AM to 8:00 AM MDT.
Trip Tools

Reverse, save, or send this route

This drive is better planned with a longer stop or an overnight stay. Copy the route link, send it to another device, or print a clean version before you head out.

Reverse Route
Quick Snapshot
Road
246.55 mi
05h 29m
Flight
155.84 mi
250.8 km direct

This drive is better planned with a longer stop or an overnight stay.

Learn Distance

Choose another destination from Afton.

Flight Distance

Direct air line
155.84 mi
Kilometers
250.8 km
Flight Time
00h 18m

Driving Distance

Road route
246.55 mi
Kilometers
396.78 km
Drive Time
05h 29m

Gas Cost Calculator

Leave and Arrive Planner

Pick a departure time to see your estimated arrival and same-day return window.

Drive time stays fixed at 05h 29m.

Arrival Snapshot
Arrive in Cody
Thu, Apr 16, 9:44 AM MDT
Return by in Afton
Thu, Apr 16, 3:13 PM MDT
Useful when you're deciding between a quick errand, a day trip, or a longer stop.
Leave Afton
2026-04-16T04:14
Arrive Cody
Thu, Apr 16, 9:44 AM MDT
Route Timing
05h 29m
One way by road
Best Departure Window
6:00 AM to 8:00 AM MDT
Leave early for more breathing room
Arrive between
11:29 AM to 1:29 PM MDT

An early departure helps you fit a real stop into the day without turning the return into a late-night drive.

Leave by
6:02 AM MDT
Keeps a same-day return open with about 04h 00m at the destination.
Back in Afton
9:00 PM MDT
Early departure recommended

You are leaving earlier than the recommended window, which gives you extra margin for breaks and traffic.

Halfway Point

A useful midpoint for breaks, coffee, or meeting in the middle.

Mid-route stop
Moose Wilson Road
WY

Census designated place

From Afton
123.2 mi
02h 44m
To Cody
123.3 mi
02h 44m

Route Weather Snapshot

Check the forecast at both ends before you head out.

Origin
39°F
Thursday

Rain And Snow

Starts
Thu, Apr 16 6:00 AM MDT
Wind
9 to 14 mph WNW
Destination
47°F
Thursday

Snow Showers

Starts
Thu, Apr 16 6:00 AM MDT
Wind
13 to 25 mph NNW

Driving Route Map

The map below follows the saved road route between Afton and Cody.

Turn-by-Turn Driving Directions

Step-by-step road directions between Afton and Cody.

  1. 1

    Start on the route

    33 m · 13 sec

  2. 2

    Turn left onto East 4th Avenue

    135 m · 22 sec · East 4th Avenue

  3. 3

    Turn right onto Washington Street

    15.6 mi · 21 min · Washington Street

  4. 4

    Continue on US Highway 89

    17.5 mi · 22 min · US Highway 89

  5. 5

    Turn right

    22.8 mi · 32 min

  6. 6

    Enter the roundabout and take exit 2 toward South Highway 89

    37 m · 3 sec · South Highway 89

  7. 7

    Exit the roundabout onto South Highway 89

    11.8 mi · 17 min · South Highway 89

  8. 8

    Continue on West Broadway Avenue

    1 mi · 3 min · West Broadway Avenue

  9. 9

    Turn right onto West Pearl Avenue

    2015 ft · 50 sec · West Pearl Avenue

  10. 10

    Turn left onto South Cache Drive

    120 m · 10 sec · South Cache Drive

  11. 11

    Continue on North Cache Street

    1.4 km · 3 min · North Cache Street

  12. 12

    Continue on North Highway 89

    6 mi · 9 min · North Highway 89

  13. 13

    Enter the roundabout and take exit 2 toward North Highway 89

    34 m · 6 sec · North Highway 89

  14. 14

    Exit the roundabout onto North Highway 89

    23.3 mi · 32 min · North Highway 89

  15. 15

    Turn left onto North Park Road

    20.5 mi · 37 min · North Park Road

  16. 16

    Continue on John D. Rockefeller Jr. Memorial Parkway

    6.4 mi · 11 min · John D. Rockefeller Jr. Memorial Parkway

  17. 17

    Continue on South Entrance Road

    21.5 mi · 39 min · South Entrance Road

  18. 18

    Turn right onto Grand Loop Road

    20.6 mi · 35 min · Grand Loop Road

  19. 19

    Turn right onto East Entrance Road

    25.9 mi · 50 min · East Entrance Road

  20. 20

    Continue on North Fork Highway

    48.1 mi · 1 hr 6 min · North Fork Highway

  21. 21

    Continue on Yellowstone Avenue

    2.7 mi · 5 min · Yellowstone Avenue

  22. 22

    Continue on 8th Street

    1279 ft · 48 sec · 8th Street

  23. 23

    Turn right onto Canyon Avenue

    1566 ft · 48 sec · Canyon Avenue

  24. 24

    At the end of the road, turn left onto 11th Street

    1183 ft · 26 sec · 11th Street

  25. 25

    Turn right onto Beck Avenue

    2501 ft · 1 min · Beck Avenue

  26. 26

    Turn left onto 16th Street

    154 m · 17 sec · 16th Street

  27. 27

    Arrive at your destination

    0 m · 1 sec · 16th Street

Car Route Details

A richer read on the saved driving route between Afton and Cody.

OSRM road route
Drive Character

Straightforward drive

The saved road route has a manageable number of maneuvers and should be easy to follow with normal attention to signs.

Directions
27 steps
16 turns on the saved route
Ramps & Exits
4
0 merges, 4 ramps or exits
Navigation Density
11 / 100 mi
Decision points by distance
Main Roads
North Fork Highway
48.1 mi · 19%
North Highway 89
29.3 mi · 12%
East Entrance Road
25.9 mi · 11%
South Entrance Road
21.5 mi · 9%
Grand Loop Road
20.6 mi · 8%
North Park Road
20.5 mi · 8%
Longest Stretch

North Fork Highway

Continue on North Fork Highway

48.1 mi · 01h 06m

Route Summary

A quick read on whether this route feels easy, ambitious, or worth planning around.

Trip Read

A longer out-and-back drive

This is still possible in one day, but it becomes a long driving day. Leaving early and planning your stop window matters more here.

Drive Time
05h 29m
Long day trip
Same-Day Return
10h 58m
Round-trip wheel time
Road vs Air
+90.8 mi
155.8 mi direct line
Halfway Stop
Moose Wilson Road
02h 44m from Afton
Leave By
6:02 AM MDT
Early departure recommended
Weather Watch

Rain And Snow leaving Afton and Snow Showers near Cody.

Trip Questions

Direct answers travelers usually want before committing to the drive.

How long does it take to drive from Afton to Cody?

The road trip is about 246.6 miles (396.8 km) and usually takes 05h 29m in normal driving conditions.

Is this a same-day trip or an overnight route?

This is still possible in one day, but it becomes a long driving day. Leaving early and planning your stop window matters more here.

What is the halfway point on this route?

Moose Wilson Road is a useful midpoint, sitting about 123.2 miles from Afton and 123.3 miles from Cody.

How much longer is the road route than the straight-line distance?

The direct path is about 155.8 miles (250.8 km), while the road route adds roughly 90.8 extra miles because roads do not follow the straight air line.

When is the best time to leave for this route?

A good departure window is usually 6:00 AM to 8:00 AM MDT. If you want a more comfortable same-day return, try to leave by 6:02 AM MDT.

How much will gas cost for this route?

Using about 28.3 MPG, regular gas is estimated at $33.87 one way or $67.74 round trip. Estimated CO2 is about 77.3 kg one way.

What should you check before leaving?

Before you leave, expect Rain And Snow around Afton and Snow Showers near Cody.

Flight Path Map

This map shows the direct air route between Afton and Cody. Straight-line distance: 155.84 mi (250.8 km).

Afton

#1 Afton

Town in Wyoming, United States

Population2,071
Coordinates42.7249300, -110.9318700
Altitude1902
CountryUnited States
Cody

#2 Cody

City in and county seat of Park County, Wyoming, United States

Population9,847
Coordinates44.5263400, -109.0565300
Altitude1523
CountryUnited States
Start: (-110.931871, 42.725045)
End: 16th Street (-109.056274, 44.526341)

Estimated Travel Time

Distance: 397 km by road

SpeedTime
30 mph (48.3 km/h)08h 12m
40 mph (64.37 km/h)06h 09m
50 mph (80.47 km/h)04h 55m
60 mph (96.56 km/h)04h 06m
70 mph (112.65 km/h)03h 31m
80 mph (129 km/h)03h 04m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
8.7 gal
32.93 L · about $33.87
Round trip
$67.74
17.4 gal · 65.86 L
Estimated CO2
77.3 kg one way
Round trip: 154.6 kg / 341 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $3.89 $33.87 $67.74
Mid-grade $4.23 $36.81 $73.62
Premium $4.55 $39.58 $79.15
Diesel $5.41 $47.08 $94.17

Assumes 8.3 L/100 km (about 28.3 MPG). CO2 is an estimate and varies by vehicle, fuel blend, traffic, and terrain.

Prices in Wyoming · Apr 16, 2026

There is no time difference between Afton and Cody. The current time is 04:14:58.

Distance to Other Cities

Planning a road trip? See the full trip guide on Trip.ovh — stops, fuel costs, weather, and departure timing.

How did we calculate? Place names are translated into coordinates. The Haversine formula calculates straight-line distance; driving distance uses road network data.