The heat index is calculated using a formula that factors in both air temperature and relative humidity. When humidity is high, sweat evaporates less efficiently, reducing the body's ability to cool itself. This is why the heat index often feels higher than the actual temperature on humid days. While the exact formula is complex, many weather services provide heat index charts or calculators to help the public understand the risks.