First the cylinder factor is the capacity, usually expressed in cubic feet. 80 cubic feet is the most common size. The air in this size cylinder would fill an 80 cubic foot bag if released in that way. Physical size and the rated fill pressure are design and performance factors.
As for dive length it is based upon your cylinder size, the actual pressure to which it is filled. The depth to which you are diving since the increasing pressure will require your regulator to deliver air at air at higher pressures depleting the cylinder quicker. Your personal consumption rate which you will learn over time. Your rate will vary with things such as stress, currents, temperature and the pace of the dive. What you choose to set for an air reserve will also enter into the result.
Some moderately deep dives will be a limiting factor in themselves due to nitrogen loading and the deseire to avoid mandatory decompression.
So you can see that many many factors add up to the length of the dive. That being said most dives seem to end up falling in the 45-75 minute window.
Larger or dual cylinders, conditioning, shallow depths and so forth can result in dives of 2 hours or more.
There are methods of gas planning that let you calculate these factors but for most recreational diving it becomes intuitive.
Pete
PS If you add some meat to your profile responses can be better targeted at you and your diving.