An algebraic model is developed to calculate the T=0 and T=1 ground state binding energies for N=Z nuclei. The method is tested in the sd shell and is then extended to 28-50 shell which is currently the object of many experimental studies.