Rattus' approximation is probably as good as you will be able to get given the quality of information available on the hardware that you are using.
The capacity of a battery is generally rated in terms of volts and amp-hours. In theory, a 1 amp hour battery can supply a current of 1 amp for 1 hour. So if you have a load of 15 amps and a capacity of 45 amp hours, then in theory you have 3 hours of run time.
Unfortunately it gets more complex than this. As a battery discharges, its output voltage declines. Similarly, under increasing load the output voltage will drop. The amp hour measurement is made at a specified rate of discharge until the output voltage reaches a specified threshold. The discharge rate and the voltage threshold will be different for different battery types, and different when different manufacturers want to inflate different numbers.
In particular, simple lead acid batteries are often rated at the 'C/20' rate. This means that they are measured using a discharge that will deplete them in _20_ hours. By definition of amp-hours, running 2.5 amps for 20 hours means '50 amp hours'. But in reality, if a particular battery could supply 2.5A for 20 hours, it can probably supply 20A for perhaps 1 or 1.5 hours. This apparent reduction in capacity is the energy lost to the internal resistance of the battery, combined with energy still in the battery at the end of discharge, but not used because the discharge voltage has fallen too much.
If your inverter is well regulated, then as the battery voltage drops, the current drawn from the battery will _increase_, so that the same power is delivered to the load.
So your first step is to figure out the current that the inverter will draw, as described by rattus.
Then you need to figure out how the battery will tolerate that loading, by comparing the battery amp-hour rating to the calculated load.
Use manufacturer information to figure out the expected capacity at that load.
Then _approximately_ the amp-hour rating of the battery at the expected load, divide by the load current, will give you the expected run time.
-Jon