International audienceThe core – mantle differentiation in the magma ocean constitutes a major planetary event that involved two elements that are essential to life: carbon (C) and hydrogen (H). These two elements are conventionally classified as volatiles (ie. atmophile), but they can also evolve into being siderophile and lithophile at the extreme conditions found in planetary magma oceans. We report here a model for H and C species dissolved in silicate melts in equilibrium with iron-rich alloys under variable pressure, temperature and redox conditions. This speciation model is able to reconcile and reproduce a large body of experimental data on metal-silicate partitioning for H and C at carbon-saturation and in C-undersaturated systems....