There is no formula. Indeed, what you are asking cannot be done.
Think of it this way: Suppose I told you that I drove a total of 100 miles, and that the trip took me 2 hours. You could calculate my average speed to be 50 MPH. But tell me, from the information I have given you, what my fastest speed was over that two hour period. Did I drive 70 mph for part of the time, and did I speed up to 80 mph to pass someone along the way? "Peak demand" is like "highest speed." Neither the total nor the average value can be used to tell the peak value.
So if you need to know the peak value, you need to look at the historical record of measurements, and look for the highest value that was recorded.