A proper description of the collisional perturbation of the shapes of molecular resonances is important for remote spectroscopic studies of the terrestrial atmosphere. Of particular relevance are the collisions between the O 2 and N 2 molecules -the two most abundant atmospheric species. In this work, we report a new highly accurate O 2 (X 3 Σ − g )-N 2 (X 1 Σ + g ) potential energy surface and use it for performing the first quantumscattering calculations addressing line shapes for this system. We use it to model the shape of the 118 GHz fine structure line in O 2 perturbed by collisions with N 2 molecules, a benchmark system for testing our methodology in the case of an active molecule in a spin triplet state. The calculated collisional broadening of the line agrees well with the available experimental data over a wide temperature range relevant for the terrestrial atmosphere. This work constitutes a step towards populating the spectroscopic databases with ab initio line-shape parameters for atmospherically relevant systems.