Starting from the postulated, generalized form of the BCS gap equation, suitable for a wide class of microscopic models, the thermodynamic properties of S-wave superconductors are studied. The precise analytical formulas for the main thermodynamic quantities are given and discussed in the characteristic temperature limits. In particular the inversion of the equations defining the specific heat as a function of DT, i.e. the temperature dependence of the energy gap in S-wave superconductor is presented. It makes possible a reconstruction of the energy gap as a function of temperature from the heat capacity data. As predicted, in the frame of the model, the other thermodynamic quantities from the DT function seem also to be interesting.