The distance from Hamilton to Ottawa - Ontario is 515 km (or 321 mi). The estimated driving time for the trip is 5 h 44 min and the main road for this route is the Highway 401 Express, 401. In a straight line, the distance between Hamilton and Ottawa is 410 km (255 mi).