There is no one rule that applies to everyone equally, but the following is taken as an average:
a) an optimally stocked tank can last somewhere between 3 to 12 hours without power,
b) under stocked aquarium can survive for up to a day or two.