At any given fO2, the proportion of N in the (a) atmospheric reservoir decreases, while it increases in the (b) magma ocean and (c) core reservoir with increase in the size of the rocky body. Assuming these bodies had similar densities, their N partial pressure (pN) correlate with their radius. Therefore, large bodies have higher pN (d) resulting in a higher amount of N dissolving into their MOs and cores. As N solubility in the MO decreases and the siderophile character of N increases with increasing fO2, the proportion of N in the MO decreases and proportion of N in the atmosphere and/or core increases. Consequently, for rocky body differentiation at logfO2> IW–4, asteroid-sized (Vesta (0.04 R⊕) and intermediate-sized (0.12 R⊕)) bodies have almost all of their N in the atmospheric reservoir, while for planetary embryo-sized bodies (Moon (0.27 R⊕) and Mars (0.53 R⊕)) the cores become an important reservoir for N storage. The fO2s of core-mantle differentiation in panel (b) are compiled in Supplementary table 6.