To calculate WHIP for 7 innings, sum up the number of walks and hits allowed by the pitcher during those 7 innings. Then, divide the total by 7 (the number of innings pitched). The formula remains the same: WHIP = (Walks + Hits) / Innings Pitched.