Systems and methods to estimate, on a breath-by-breath basis, the fraction of inhaled oxygen during ventilation of a subject. The fraction of inhaled oxygen may be based on exhaled tidal volume, a volume of dead space within the subject interface, leaked exhalation volume, and subsequently inhaled tidal volume and leaked inhalation volume.