In order to analyze the influence of the rear wing of a competition race car on the aerodynamics of the whole vehicle, computational fluid dynamics simulations have been performed. Rear wing is set by two elements, a main plate and a flap. Their relative position and the angle of attack of these elements influence the aero- performances in terms of downforce and drag generated; 12 different configurations have been generated, modifying the angle of attack and the slot gap. 3D mesh has been generated from the geometrical model of the vehicle, and air flow around the vehicle and on the rear wing has been evaluated through a CFD commercial software. It has been proved that steeper angles of attack of the mainplate and of the flap contribute to generate more downforce until a certain point; when angle of attack reaches a critical value, the downforce no longer increases and the drag still keep high values.