Bounds on distance-based graph parameters