Thermodynamic analysis of metabolic networks has recently generated increasing interest for its ability to add constraints on metabolic network operation, and to combine metabolic fluxes and metabolite measurements in a mechanistic manner. Concepts for the calculation of the change in Gibbs energy of biochemical reactions have long been established. However, a concept for incorporation of cross-membrane transport in these calculations is still missing, although the theory for calculating thermodynamic properties of transport processes is long known. Here, we have developed two equivalent equations to calculate the change in Gibbs energy of combined transport and reaction processes based on two different ways of treating biochemical thermodynamics. We illustrate the need for these equations by showing that in some cases there is a significant difference between the proposed correct calculation and using an approximative method. With the developed equations, thermodynamic analysis of metabolic networks spanning over multiple physical compartments can now be correctly described.