Ideal Gas Law - example
The previous answer is a ballpark figure only. Other things, like CO2 increases in the air would limit you before the O2 limits you. There are also other things like odors that demand that you change the air more often that that required by the O2 limits!