The thermodynamic energetics of proton (H+) incorporation into perovskite and brownmillerite oxide structures, relevant for protonic ceramic fuel cells and electrochemical applications.