I have a fairly generic (mathematical) answer, but can only find some of the actual numbers.
After finding the 2010 Mac Mini Environmental Report from Apple, there are four important numbers:
- Tbooting = The time taken to boot up and shut down (s)
- Pbooting = The power consumption while booting or shutting down (W)
- Psleep = The power consumption while sleeping (W)
- Poff = The power consumption while off (W)
The last is actually stated in the Mac Mini's environmental report, and for very low sleep power usage can't just be ignored!
The total energy used during a period of sleep is:
Esleep = time * Psleep
The total energy used from shutting down, being off for a time and booting up is:
Eshutdown = (time * Poff) + (Tbooting * Pbooting)
Requiring that Eshutdown < Esleep
, we can rearrange the inequality to give:
time > Tbooting * ( Pbooting / (Psleep - Poff) )
The Mac Mini's environmental report provides Psleep and Poff, and if we assume say 90 seconds total booting/shutting-down time and about 35W during said times, this would give an answer of 45 minutes.
I've yet to find similar values for the laptops (they make a big deal about the Mac Mini being so energy efficient), and the booting power/times would really need to be measured to provide accurate figures. But it surprised me that it was only 1 hour (I was expecting somewhat longer based on claims I've read in the past, that went along the lines of this discussion).
As @mankoff points out, there's another option which is to hibernate using something like DeepSleep. In my experience this is usually faster than a full shutdown, and of course it uses the same (incredibly low) power while off/hibernating. So to compare mathematically, you can consider it a "shutdown" of sorts and use the same equations (with the time taken to enter and recover from hibernate as Tbooting and the power usage while it swaps between RAM and disk as Pbooting). More than likely, this will reduce the the time answer since Tbooting should have been reduced somewhat.
A final thought is that laptop batteries seem to lose voltage over time, even when off, at a higher rate than the Mac Mini's advertised Poff. So the Poff value might actually be quite a bit higher for a computer with a battery, which may significantly lengthen the threshold between standby and shut-down/hibernate (however the battery and charging circuitry will complicate measurements of Poff). And to further complicate things (and possibly ruin the whole argument!), more recent Mac laptops will write the contents of RAM to the disk even when they go to sleep, in case your battery runs flat while sleeping (effectively preparing for a hibernate in case it's forced).