How are degree days calculated?

Degree days are calculated using the average of the day’s high and low temperatures compared to 65 degrees Fahrenheit.