What factors affect the top speed of cars?

Weight of vehicle, shape and aerodynamic properties of vehicle, Power to weight ratio, atmospeheric conditions (temperature, humidity levels and altitude). Tyre pressure is a very important one, also the octane level of fuel being used. These are the common factors to consider.