How to calculate the electricity consumption of refrigerator in an hour What is the formula?

How to calculate the electricity consumption of refrigerator in an hour What is the formula?

For example: power consumption: (kWh / 24 hours) 0.450.45 kwh / 24 hours. Even if only 0.45 kwh of electric energy is used every day, please note that you must ensure that the temperature inside the refrigerator is no more than 5 degrees higher than the outside temperature, that is, the outside temperature is 30 degrees, and the inside temperature is 25 degrees at most