1 Introduction

Exports are a major driver of growth fluctuations and development trajectories, significantly shaping the evolution of living standards over time. In the short term, exports are a major source of foreign exchange that encourage economic activity and reduce balance-of-payment constraints. In the medium term, the diversification of exports leads to higher and more sustainable growth rates (Hausmann et al., 2007; Hesse, 2008). In addition, exports are a crucial source of productivity growth through the accumulation of technological capabilities and “learning by exporting” (De Loecker, 2013; Cimoli et al., 2009). In fact, the efficiency gains for less productive firms associated with “learning by exporting” seem relevant in developing countries, where exporters are further away from the technological frontier.

A critical aspect that shapes the performance and competitiveness of exports is trade costs. Trade costs are shaped by multiple economic policies, including tariffs, tariff equivalents of quotas, and trade barriers, but also by connectivity, logistics, regulations, and cultural and historical aspects. Elevated trade costs restrain comparative advantages by making exports uncompetitive, limiting access to technology and intermediate inputs, preventing participation in global value chains, and making diversification more difficult. In addition, changes to trade costs can influence trade, investment, and innovation decisions at the firm level, with effects on productivity as well.Footnote 1 In brief, as emphasized by Anderson and Wincoop (2004), “the death of distance is exaggerated…trade costs are large, even aside from trade-policy barriers and even among highly integrated economies”.

Trade costs are relatively high in Africa, in comparison not only to developed countries but also to other developing countries (Arvis et al., 2016; Porteous, 2019; World Bank, 2015). The lack of transport infrastructure, inefficient law enforcement and related property rights institutions, poor business services and logistics, and deficient regulations are particularly acute. In some cases, trade costs between neighboring African countries are extremely high. In fact, it is often cheaper for African exporters to trade with developed countries that are far away, rather than with neighboring economies. Currently, Africa is undergoing a massive trade integration initiative, called the African Continental Free Trade Area (AfCFTA).Footnote 2 Once it is fully implemented, 90% of goods tariff lines between countries will have zero duty. Under the AfCFTA, the rules of origin will play a crucial role in fostering the nexus between trade, industrialization, and the emergence of regional value chains (UNCTAD, 2019).

The literature on trade costs in Africa has made considerable progress. Geda and Seid (2015) show that there is immense potential for the expansion of trade within Africa, but this is constrained by high trade costs and a lack of productive capacities. Likewise, Hoekman and Shepherd (2015) and Hoekstra (2013) highlight that trade facilitation measures can improve African exporters’ participation in global value chains. Seck (2016) stresses that improving customs clearance and energy and telecommunication infrastructure increases the likelihood of African firms entering into foreign markets and the extent of their trading activity. The results from that paper also suggest that African firms tend to respond more strongly to changes in trade costs, due to the greater constraints they face. Brenton et al. (2012) find that the low survival of African firms in export markets is largely explained by high trade costs. Using commodity-level data, Nkansah et al. (2022) show that the Economic Community of West African States (ECOWAS) increased the survival rate of Ghana’s exports. Finally, Iwanow and Kirkpatrick (2009) and Clarke (2005) show that the performance of exporters is limited by poor infrastructure and unfriendly regulations, particularly inefficient customs administration.

In this paper, we first describe aggregate characteristics regarding exporter dynamics in African countries, including the number and size of exporters and the patterns of entry, exit, and survival of exporters, export products, and export destinations. Then, we investigate how trade costs affect the size and survival of exporting firms in Africa vis-à-vis other regions. From a theoretical standpoint, lower trade costs can facilitate the emergence, survival, and expansion of new exporters. For example, theoretical and empirical contributions from the “new” new trade theory have emphasized that when trade costs fall, fewer productive exporters exit and more productive exporters expand, a process that promotes aggregate productivity growth (Melitz, 2003). Finally, we examine whether differences in trade costs among African countries are systematically related to diversification.

The rest of this paper is organized as follows. Section 2 describes the data used for the empirical analysis. Section 3 describes the characteristics of exporter dynamics in Africa. Section 4 presents an empirical approach to econometric analysis, and Sect. 5 discusses the main results. Section 6 provides concluding remarks.

2 Data

The statistical information comes from the Exporter Dynamics Database.Footnote 3 This database compiles firm-level merchandise export information from national customs agencies, covering the universe of all exporter transactions. It contains information for 40 developing countries and 10 developed countries between 1997 and 2014. The sample includes 15 African countries: Botswana, Cameroon, Ethiopia, Gabon, Guinea, Kenya, Madagascar, Malawi, Mali, Mauritius, Morocco, Senegal, South Africa, Uganda, and Zambia. Two levels of disaggregation were used in this analysis: the country–year level and the country–year–sector level. Sectoral-level information was used at the two-digit level of the Harmonized System (HS) 2002 Classification for 95 sectors, excluding oil sector exports. The database contains information at country and sectoral levels regarding: (i) the number of exporters and average exporter size in export value; (ii) export diversification (the average number of products and destinations per exporter); (iii) firm dynamics (exporter entry, exit, and first-, second-, and third-year entrants (new exporters in year t), and survival rates); (iv) firm–product dynamics (product entry, exit, and survival rates for incumbent exporters); and (v) firm–destination dynamics (destination entry, exit, and survival rates for incumbent exporters).

Our proxy for trade costs comes from the ESCAP-World Bank Trade Cost database.Footnote 4 This trade cost measure, based on Novy (2012), describes average bilateral trade costs by country and year. It captures all the additional costs involved in trading goods bilaterally relative to those involved in trading goods domestically, in ad valorem equivalent form. Thus, it comprises a diverse set of trade costs, including international shipping and logistics costs, tariff and non-tariff costs (indirect and direct costs associated with trade procedures and regulations), and even additional costs from differences in language, culture, or currency.Footnote 5

Though trade costs have declined over time, developing countries continue to exhibit higher trade costs than developed countries, with African countries displaying the highest levels (Fig. 1). Yet, there is some heterogeneity as well. South Africa and Kenya display lower trade costs than the average Asian countries or the average Latin American countries in our sample, with levels comparable to even European countries. On the contrary, Ethiopia, Madagascar, and Uganda exhibit among the highest trade costs.

Fig. 1
figure 1

Source: Authors’ calculations based on data from ESCAP-World Bank Trade Cost database. The data cover 44 countries

Average trade costs, 2010–2012.

3 African Exporter Dynamics

Exporter dynamics in Africa exhibit some well-defined characteristics in comparison to the rest of the world. African exporters are fewer, smaller, and relatively less diversified (Table 1). African countries display the lowest average number of exporting firms. They also display the smallest size of exporting firms and size of new exporters. In addition, export products per firm are few, with an average of only 6.1, in comparison to 8.3 export products in developed countries. Furthermore, excluding South Africa, African export products average just 5.5 per exporter. African countries also exhibit the lowest number of destinations per exporter. These findings are not unexpected, and they can be largely attributed to the size of the countries and their level of development and technological capabilities (Vergara, 2021).

Table 1 Characteristics of African exporter firms, 2010–2012.

African countries display higher rates of entry and exit of exporting firms. This high turnover means that many firms in Africa begin exporting frequently but stop shortly afterwards. In Guinea, Malawi, and Uganda, between 2010 and 2012, over half of exporting firms did not export during the previous year, either because they were first-time exporters or because they had returned to exporting activity after at least a year of inactivity. In developed countries, just over one-third were in the same situation. African countries also exhibit higher rates of entry and exit of exporting products. In Botswana, between 2010 and 2012, over 70% of exported products among incumbents (i.e., firms who exported in the year prior to the analysis) had not been exported the year prior. At the same time, over 70% of products that were exported the year prior were not exported the following year. This contrasts with rates of only about 40% of products in developed countries for both the former and latter. In addition, entry and exit (turnover) of export destinations is also higher in Africa (Fig. 2).

Fig. 2
figure 2

Source: Authors’ calculations based on the Exporter Dynamics Database. The turnover rate is the sum of entry and exit rates. ‘Other developing’ refers to all developing countries in the sample apart from African countries

Average destination turnover rate.

African countries also exhibit the lowest survival rate of exporting firms, amid relatively high entry rates and a very low number of firms exporting for more than one year. The average first-year survival rate for entrants is particularly low for African countries, excluding South Africa. In Cameroon, Guinea, and Malawi, less than 30% of firms continue exporting after their first year, in comparison to 41% in developed countries. This pattern is similar for longer time spans. The same behavior is observed among African firms regarding the survival of export products. In Botswana, Kenya, Malawi, Senegal, South Africa, and Zambia, less than a quarter of their export products continue being exported after one year, compared to 31% in developed countries.

These patterns indicate that African exporting activity across firms, products, and destinations is dynamic and volatile. There seems to be a lot of experimentation, as firms easily become exporters and non-exporters and continually change and adjust their export products and export destinations. Furthermore, African exporters seem face difficulties maintaining trade relationships.

4 Empirical Approach

From a theoretical viewpoint, a reduction in trade costs can encourage the expansion and survival of exporters (Brenton et al., 2012; Melitz, 2003). To empirically investigate the effect of trade costs on the size and survival of exporters, we follow the approach proposed by Fernandes et al. (2016) and specify the following equations:

$${\mathrm{Size}}_{ijt}={\alpha }_{i} {+ {\delta }_{t}+\theta {\mathrm{Trade Costs}}_{jt}+\gamma {\mathrm{Trade costs}}_{jt}*{\mathrm{Africa}}_{j}+\beta X}_{jt}+{\varepsilon }_{ijt},$$
(1)
$${\mathrm{Survival}}_{ijt}={\alpha }_{i} {+ {\delta }_{t}+\rho {\mathrm{Size}}_{ijt}+\theta {\mathrm{Trade Costs}}_{jt}+\gamma {\mathrm{Trade costs}}_{jt}*{\mathrm{Africa}}_{j}+\beta X}_{jt}+{\varepsilon }_{ijt},$$
(2)

where i, j, and t represent the sector, country, and year, respectively. Equations (1) and (2) provide a suitable and pragmatic empirical approach to analyze the role of country-level characteristics (e.g., trade costs) on the size and survival of exporters.Footnote 6 In Eq. (1), the dependent variable Size is the log of the average exports per exporter and the log of the average exports per entrant at the sectoral level. In Eq. (2), the dependent variable Survival is the 1- and 3-year (average) survival rate of new exporters in foreign markets. As discussed, the Trade costs variable describes average bilateral trade costs by country and year (Novy, 2012). To test for the specific effects of trade costs for Africa in comparison to other regions, we include a multiplicative variable between Trade costs and Africa, a dummy variable that takes the value 1 for African countries, and 0 otherwise.

The vector X encompasses several control variables that have been identified as playing a potentially relevant role in exporter dynamics across countries: GDP is the log of GDP in constant US dollars, and GDP per capita is the log of GDP per capita in constant US dollars. Trade over GDP denotes the total merchandise exports and imports over GDP. Financial sector is an index of financial development that summarizes information regarding financial depth, access, and efficiency (Sahay et al., 2015). The development of the financial sector can be a relevant factor in explaining the performance of exporters in foreign markets, as it can facilitate large-scale investments and high-return projects that can allow firms to initiate or expand export activities (Beck, 2002).

The Exchange rate is an index that measures the fluctuations of the real effective exchange rate, a major factor that affects the profitability of exporters (Berman et al., 2012). Commodity-dependent is a dummy variable that takes the value 1 for commodity-dependent countries. In the case of survival, we also include the size of exporters as an additional control variable. Finally, \({\alpha }_{i}\) and \({\delta }_{t}\) correspond to sectoral and year effects, respectively. Following Fernandes et al. (2016), Eq. (1) is estimated by ordinary least squares (OLS). Equation (2) is estimated with a generalized linear model (GLM) using a logit link function, given that the dependent variable (survival rate) ranges between 0 and 1 (Papke & Wooldridge, 1996).Footnote 7

To investigate whether differences in trade costs across African countries are correlated with differences in diversification, we specify the following equation:

$${\mathrm{Diversification}}_{ijt}={\alpha }_{i}{+ {\delta }_{t}+\rho {\mathrm{Size}}_{ijt}+\theta {\mathrm{Trade Costs}}_{jt}+\gamma {\mathrm{Trade costs}}_{jt}*{\mathrm{Landlocked}}_{j}+\varphi \mathrm{Productive Capacities}+ \beta X}_{jt}+{\varepsilon }_{ijt},$$
(3)

where i, j, and t represent the sector, country, and year, respectively. The dependent variables are the (i) Products per exporter (log of the average number of products per exporter – products defined at six digits of the HS 2002 Classification); and (ii) Destinations per exporter (log of the average number of destination countries per exporter). In order to analyze the role of trade costs, we include the variable Trade costs and the multiplicative variable between Trade costs and a dummy that takes the value 1 for landlocked countries. Landlocked African countries could be relatively more affected by higher trade costs. There is ample evidence showing that landlocked economies are affected by the high cost of freight services and unpredictability in transportation time, owing to physical constraints, rent-seeking activities, and severe flaws in transit systems (Arvis et al., 2010). In our sample, there are six landlocked economies: Botswana, Ethiopia, Malawi, Mali, Uganda, and Zambia. As expected, these countries display higher trade costs, and it could be argued that being landlocked disproportionally affects trade in these economies (World Bank, 2014).

In addition, a proxy for productive capacity is included, as this plays a crucial role in export diversification (Hausmann et al., 2011). We use the economic complexity index (ECI) as a proxy for productive capacity. The ECI measures the multiplicity of productive knowledge in an economy by combining information on the diversity of a country’s exports and the ubiquity of its products. While including a variable that is built upon product diversification can generate estimation doubts in Eq. (3) when using product diversification as a dependent variable, we believe this is not problematic. First, the ECI measures the “stock of productive knowledge” at the country level, while product diversification (i.e., the average number of exported products per exporter) is defined at the sectoral level. Second, as discussed by Mealy et al. (2018) and Kemp-Benedict (2014), the ECI seems to be orthogonal to diversity, and it captures information on what types of products and capabilities countries are competitive in. The vector X encompasses a set of control variables: GDP, GDP per capita, Trade over GDP, Financial sector, and Exchange rate. As with Eq. (1), Eq.(3) is estimated by OLS.

5 Econometric Results

Table 2 presents the results on how trade costs correlate with the size of exporters. Columns 1, 3, and 5 provide the baseline estimations with the control variables, while columns 2, 4, and 6 display the regressions, including the trade cost variable. For all exporters, the coefficient associated to the Trade costs is not significant. In addition, there seems to be no specific effect related to countries in Africa. However, the size of the economies and how open they are to international trade are relevant dimensions to explain the size of exporters.

Table 2 Trade costs and size of exporters

The subsequent regressions show that trade costs are actually a relevant dimension to explain the size of new exporters and surviving new exporters. The coefficients are negative and significant, as shown in columns 4 and 6. Thus, sectors from countries that face higher trade costs tend to have smaller exporters. On average and across sectors, new exporters and surviving new exporters from a country with trade costs that are 20% lower are about 12% and 17% larger, respectively, than their counterparts from the other country.

The multiplicative variable of trade costs and the dummy for Africa is significant at 5% for the sample of new exporters and surviving new exporters. This suggests that trade costs play a disproportionate role in affecting the size of new exporters and new surviving exporters in Africa in comparison to exporters from other regions. A decline in trade costs of 20% in an African country—which in the middle of the distribution implies a change in the trade costs of a country in the 25th percentile to the value of a country in the 75th percentile—is associated with an increase in the size of new exporters and new surviving exporters of 14% and 19%, respectively. These results should be taken with caution, as the empirical framework prevents strong inferences on causality. Also, the response of a reduction in trade costs would be heterogeneous across sectors.

Similar to the case of all exporters, differences in the size of the economies and in trade openness are significantly and positively correlated with differences in the size of new exporters. The development of the financial sector is also a relevant dimension. Sectors from countries with more developed financial sectors tend to have smaller exporters. Intuitively, the development of the financial sector can motivate smaller firms to become exporters.

Table 3 displays the results on the survival of exporters. Trade costs do not seem to be a relevant factor in explaining survival differences. Yet, trade costs do play a role for the specific case of Africa, as the multiplicative variable is negative and significant for the 1- and 3-year survival regressions. Thus, in the comparison across sectors, exporters from Africa display lower rates of survival in foreign markets vis-à-vis other regions. A decline in trade costs of 20% is associated with an increase in the 1-year and 3-year survival probability for new exporting firms of 0.5% and 0.8%, respectively. While these numbers might seem small, it is worth emphasizing that trade costs play a relevant role in export survival only in African countries. This is in line with other studies showing how trade integration efforts increased export survival for African firms (Socrates et al., 2020). As expected, the regressions also show that larger exporters are associated to higher survival rates in foreign markets. Furthermore, sectors from countries that are more open to international trade have exporters with higher survival rates. Finally, the exchange rate, a major aspect of the profitability of exporting activity, also plays a role in the survival of exporters.

Table 3 Trade costs and survival of exporters

Table 4 displays the results regarding trade costs and diversification among African countries. The size of exporters is a crucial aspect explaining diversification, even within a sample of African countries. Larger exporters in Africa tend to be more diversified. The results also show that differences in trade costs are not correlated with differences in product and market diversification. However, trade costs affect landlocked and non-landlocked countries differently. Sectors from landlocked countries in Africa have, on average, exporters that are less diversified in terms of destinations. Thus, trade costs are an important dimension to explain the reduced market diversification in these economies. The size of the coefficient is small, but this is likely due to the distribution of the dependent variable, which is heavily skewed to the left.Footnote 8 The negative effect of trade costs is intuitive, as landlocked countries face immense challenges in developing their trade activity.Footnote 9

Table 4 Trade costs and diversification in Africa

The regressions also suggest that sectors from countries with more productive capacities tend to have significantly more diversified exporters in terms of products and destinations. The coefficients associated to productive capacities are significant at 5% in both cases. Overall, these results show that while trade liberalization reforms and reduced trade costs can open new markets and encourage trade flows, promoting the diversification of export products will likely remain limited unless productive capacities are strengthened.

In order to analyze the sensitivity of the results, several robustness checks were implemented. A key aspect to consider is to what extent the results could be driven by the estimation sample, which is not balanced across countries, and some countries are observed in the database for longer periods of time. To address this issue, we follow a twofold strategy. First, the estimations are implemented on a restricted sample where countries have at least 700 observations. Second, we estimate the equations with a balanced sample containing the same number of observations per country. Thus, the “additional” observations for some countries, in comparison to countries with fewer observations, are left out of the sample. Finally, we use another proxy variable for trade costs, from the World Bank’s World Integrated Trade Solutions.Footnote 10 This is a country-level variable that measures the official fees associated with completing administrative and transport procedures for exporting or importing goods, in US dollars per container. The robustness checks largely confirm the main results.Footnote 11

6 Concluding Remarks

This paper showed that Africa’s exporter dynamics display idiosyncratic features vis-à-vis the rest of the world. African exporters are fewer, smaller, and relatively less diversified than exporters from other regions. This can be largely explained by the smaller size of their economies and their lower level of development. More interestingly, African countries have the highest rates of entry and exit of exporting firms, exporting products, and export destinations. As such, African countries also exhibit the lowest probability of survival of exporting firms, products, and destinations. Therefore, Africa’s exporting activity is volatile, with much experimentation, and African exporters face difficulties maintaining trade relationships. While this experimental environment resonates with the Schumpeterian idea of “creative destruction”, the case is different here. This environment is more likely associated with structural problems. The reasons behind this could be related to market inefficiencies, profit uncertainties, a lack of information regarding foreign markets, and limited productive capacities.

We also confirmed that trade costs are a crucial dimension in explaining exporter dynamics not only in Africa vis-à-vis other regions but also within African countries. Trade costs play a disproportionate role in affecting the size and survival of new exporters in Africa in comparison to exporters from other regions. Together with the evidence on the size and entry of exporters, this suggests that Africa’s exports are more constrained by the size of exporters than by the number of exporters. In addition, we showed that differences in trade costs across African countries are a relevant factor in explaining the lower market diversification of exporters from landlocked countries. The results indicate that productive capacities play a crucial role in product and market diversification among African exporters.

An important implication of this study is that reducing trade costs through the AfCFTA can lead to development benefits in the medium term in terms of export flows and destination markets. Productivity gains might also arise as a result of the expansion of more productive exporters and the exit of less productive ones. Yet, a key message is that, without strengthening productive capacities, the effects on product diversification and industrial upgrading will remain limited. This is consistent with the long-standing development view that, while trade liberalization can encourage benefits from comparative advantages, such benefits will be insufficient for substantial export diversification and structural change. Thus, there is a need for a much broader, strategic, and targeted set of productive and industrial policies in areas such as infant industries, foreign direct investment, innovation, science and technology, and labor markets, which should be designed according to national development priorities.Footnote 12