Growing degree days are calculated by averaging the daily maximum and minimum temperatures and comparing it to a base temperature. This formula subtracts the base temperature from the average daily temperature and calculates the number of heat units for that day or GDDs.