You would need all the ambient conditions that come along with altitude (temperature, pressure, density). You would need to know the composition of the gas (is it "air"? is it carbon dioxide like on Mars? etc.). You would need to know the shape of the vehicle. You would need to know the character of the surface of said vehicle (i.e. how rough is it and does it have any sort of protrusions and what is it made of). You would need to know information about how all of the components of the gas react with each other when they become ionized from the heat at those speeds.
Generally, not all of these things are necessarily taken into account every time someone designs a vehicle because it is obviously a very complicated process that would require magnanimous amounts of computer time to solve, and that is even assuming that the computer models would be correct. It is difficult to actually test such a thing as well, so really there are generally just a bunch of simplifying assumptions that are made (e.g. ignore chemistry) and a factor of safety is added. In reality, most heat shields are pretty significantly over-designed because of this.