This article presents a unified model of the two main demand-based explanations of economic growth: Thirlwall's law and the two-gaps model. It is shown that, with certain specifications, the external gap is equivalent to Thirlwall's law with capital movements. The unified model is expressed in rates of growth and is useful to explain mainly short term growth in developing countries. Also, some policy implications are derived from the results.