The backup time of a UPS is calculated using the formula:
Backup Time (Hours) = (Battery Capacity (Ah) × Battery Voltage (V)) / UPS Wattage (W)