How far is Lanham, MD from Rockville, MD?

Distance by Flight

Shortest distance between Lanham and Rockville is 17.45 miles (28.09 km).

Flight distance from Lanham, MD to Rockville, MD is 17.45 miles. Estimated flight time is 00 hours 02 minutes.

Driving distance

The driving distance from Lanham, Maryland to Rockville, Maryland is: 23.21 miles (37.35 km) by car.

Driving from Lanham to Rockville will take approximately 00 hours 29 minutes.

#1 Lanham

Population
GPS Coordinates 38°58'8"N 76°51'48"W
Latitude 38.9687500
Longitude -76.8634000
Altitude 43
Country United States
Rockville image
#2 Rockville

The most populous city in Montgomery County, Maryland. It is located in the Washington metropolitan area. Rockville is known for its many parks and green spaces, its many historical sites, and its many attractions, such as the National Mall and the National Air and Space Museum.

Population 69512
GPS Coordinates 39°5'2"N 77°9'10"W
Latitude 39.0840000
Longitude -77.1527600
Altitude 137
Country United States

Estimated Travel Time Between Lanham and Rockville

The distance between Lanham and Rockville is 37 km if you choose to drive by road. You can go 00 hours 24 minutes if you drive your car at an average speed of 90 kilometers / hour. For different choices, please review the avg. speed travel time table on the below.

There is no time difference between Lanham and Rockville. The current time is 12:33:53.

Average Speed Travel Time
30 mph (48.3 km/h) 00 hours 46 minutes
40 mph (64.37 km/h) 00 hours 34 minutes
50 mph (80.47 km/h) 00 hours 27 minutes
60 mph (96.56 km/h) 00 hours 23 minutes
70 mph (112.65 km/h) 00 hours 19 minutes
75 mph (120.7 km/h) 00 hours 18 minutes
80 mph (128.75 km/h) 00 hours 17 minutes

Gas Consumption

A car with a fuel efficiency of 8.3 l/100 km will need 3.1 liters (0.82 gallon) of gas to cover the route between Lanham and Rockville.
The estimated cost of gas to go from Lanham to Rockville is $2.76 (diesel $3.61).

Maryland gas prices.

Gasoline Mid Grade Premium Diesel
Gallon $3.36 $3.93 $4.24 $4.41
Total $2.76 $3.22 $3.47 $3.61

Take a look at our Gas Cost Calculator feature. It will figure out how much it will cost to drive this particular distance.

The average gas price (in Maryland ) per gallon of daily gas for calculations is $3.364 (Diesel $4.407) /gallon. Last changed prices on December 24, 2025.

How did we calculate the distance?

The place names are translated into coordinates to approximate the distance between Lanham and Rockville (latitude and longitude). Cities, states, and countries each have their own regional center. The Haversine formula is used to measure the radius.

Distance to Other Cities

Rockville image

Driving distance from Annapolis, MD to Lanham 23.31 miles (38 km)

Rockville image

Driving distance from Baltimore, MD to Lanham 29.93 miles (48 km)

Rockville image

Driving distance from Bethesda, MD to Lanham 17.98 miles (29 km)

Rockville image

Driving distance from Bowie, MD to Lanham 9.65 miles (16 km)

Rockville image

Driving distance from Catonsville, MD to Lanham 27.41 miles (44 km)

Driving distance from Columbia, MD to Lanham 28.06 miles (45 km)

Rockville image

Driving distance from Frederick, MD to Lanham 55.23 miles (89 km)

Rockville image

Driving distance from Gaithersburg, MD to Lanham 30.84 miles (50 km)

Driving distance from Gwynn Oak, MD to Lanham 36.31 miles (58 km)

Rockville image

Driving distance from Hagerstown, MD to Lanham 78.36 miles (126 km)

Rockville image

Driving distance from North Bethesda, MD to Lanham 19.43 miles (31 km)

Rockville image

Driving distance from Redland, MD to Lanham 30.61 miles (49 km)

Gas Cost Calculator