ATP is the average track position a driver held during a race measured at the end of each lap (laps where a driver was out of the race are excluded). ATP25 is the same measurement for only the last 25% of the race. Find a full explanation of ATP here.
Through St. Petersburg