Simply divide the total cost of the YouTube marketing campaign by the number of views to determine the CPM value. Now multiply the total by 1000. The total value you get is the CPM rate.