Run time is capacity divided by load current, trimmed by real-world losses. Enter the battery capacity, the average load current, and an efficiency figure (85 to 95% is typical through a regulator).
Capacity is printed for a gentle discharge. Drawing current fast, cold weather and an ageing battery all shorten the real run time.