This paper summarizes depositional models of carbonates related to carbon circulation on the earth surface. The paper lists the following examples of modelling the Recent coral reefs: A model that divides coral reefs into several boxes corresponding to geographies, and estimates organic and inorganic carbon production in each box; and a model that discusses seawater flows to estimate fluxes of organic and inorganic carbons between the boxes and between the reefs and open seas. Carbon circulation in a time scale of the Quaternary may be described appropriately by the box model corresponding to the condition of deposition and dissolution of the carbonate rocks. Several examples of modelling oceans and coral reefs are described briefly. The paper lists a model by Berner et al. that notes migration of carbon, Ca, and Mg among five boxes of Ca-Mg silicate, ocean, atmosphere, calcite, and dolomite regarding the geochemical cycle during about 600 million years in the Phanerozoic era. It also explains a model developed from the former model. 39 refs., 1 fig.