The EPA isn't calculating the range displayed on the dashboard.
The EPA range estimate is designed to generate a number that is comparable between vehicles, for some definition of typical driving. It isn't all that reasonable to expect it to always apply to the various conditions that vehicles might be operating in.