<P> The 2017 estimates are as follows: </P> <P> GDP (Nominal) of Africa 2017 </P> <Table> <Tr> <Th> 2017 Rank </Th> <Th> Country </Th> <Th> Nominal GDP ($billions) </Th> <Th> Nominal GDP <P> per capita (US $) </P> </Th> <Th> Notes </Th> </Tr> <Tr> <Td> </Td> <Td> Nigeria </Td> <Td> 376.284 </Td> <Td> 1,994.235 </Td> <Td> </Td> </Tr> <Tr> <Td> </Td> <Td> South Africa </Td> <Td> 349.299 </Td> <Td> 6,179.870 </Td> <Td> </Td> </Tr> <Tr> <Td> </Td> <Td> Egypt </Td> <Td> 237.037 </Td> <Td> 2,500.772 </Td> <Td> </Td> </Tr> <Tr> <Td> </Td> <Td> Algeria </Td> <Td> 178.287 </Td> <Td> 4,292.272 </Td> <Td> </Td> </Tr> <Tr> <Td> </Td> <Td> Angola </Td> <Td> 124.209 </Td> <Td> 4,407.657 </Td> <Td> </Td> </Tr> <Tr> <Td> 6 </Td> <Td> Sudan </Td> <Td> 119.00 </Td> <Td> 1,428.000 </Td> <Td> </Td> </Tr> <Tr> <Td> 7 </Td> <Td> Morocco </Td> <Td> 109.824 </Td> <Td> 3,151.145 </Td> <Td> </Td> </Tr> <Tr> <Td> 8 </Td> <Td> Ethiopia </Td> <Td> 80.874 </Td> <Td> 872.840 </Td> <Td> </Td> </Tr> <Tr> <Td> 9 </Td> <Td> Kenya </Td> <Td> 79.511 </Td> <Td> 1,701.550 </Td> <Td> </Td> </Tr> <Tr> <Td> 10 </Td> <Td> Tanzania </Td> <Td> 51.725 </Td> <Td> 1,033.567 </Td> <Td> </Td> </Tr> <Tr> <Td> 11 </Td> <Td> Ghana </Td> <Td> 47.032 </Td> <Td> 1,663.190 </Td> <Td> </Td> </Tr> <Tr> <Td> 12 </Td> <Td> Democratic Republic of the Congo </Td> <Td> 41.441 </Td> <Td> 478.237 </Td> <Td> </Td> </Tr> <Tr> <Td> 13 </Td> <Td> Ivory Coast </Td> <Td> 40.360 </Td> <Td> 1,616.981 </Td> <Td> </Td> </Tr> <Tr> <Td> 14 </Td> <Td> Tunisia </Td> <Td> 40.275 </Td> <Td> 3,496.286 </Td> <Td> </Td> </Tr> <Tr> <Td> 15 </Td> <Td> Cameroon </Td> <Td> 34.006 </Td> <Td> 1,400.743 </Td> <Td> </Td> </Tr> <Tr> <Td> 16 </Td> <Td> Libya </Td> <Td> 31.331 </Td> <Td> 4,858.672 </Td> <Td> </Td> </Tr> <Tr> <Td> 17 </Td> <Td> Uganda </Td> <Td> 26.349 </Td> <Td> 699.410 </Td> <Td> </Td> </Tr> <Tr> <Td> 18 </Td> <Td> Zambia </Td> <Td> 25.504 </Td> <Td> 1,479.542 </Td> <Td> </Td> </Tr> <Tr> <Td> 19 </Td> <Td> Zimbabwe </Td> <Td> 17.491 </Td> <Td> 1,175.723 </Td> <Td> </Td> </Tr> <Tr> <Td> 20 </Td> <Td> Botswana </Td> <Td> 17.168 </Td> <Td> 7,876.997 </Td> <Td> </Td> </Tr> <Tr> <Td> 21 </Td> <Td> Senegal </Td> <Td> 16.463 </Td> <Td> 1,038.094 </Td> <Td> </Td> </Tr> <Tr> <Td> 22 </Td> <Td> Mali </Td> <Td> 15.318 </Td> <Td> 810.771 </Td> <Td> </Td> </Tr> <Tr> <Td> 23 </Td> <Td> Gabon </Td> <Td> 15.206 </Td> <Td> 7,971.589 </Td> <Td> </Td> </Tr> <Tr> <Td> 24 </Td> <Td> Namibia </Td> <Td> 12.687 </Td> <Td> 5,413.508 </Td> <Td> </Td> </Tr> <Tr> <Td> 25 </Td> <Td> Mozambique </Td> <Td> 12.681 </Td> <Td> 429.296 </Td> <Td> </Td> </Tr> <Tr> <Td> 26 </Td> <Td> Burkina Faso </Td> <Td> 12.569 </Td> <Td> 663.806 </Td> <Td> </Td> </Tr> <Tr> <Td> 27 </Td> <Td> Mauritius </Td> <Td> 12.428 </Td> <Td> 9,794.102 </Td> <Td> </Td> </Tr> <Tr> <Td> 28 </Td> <Td> Madagascar </Td> <Td> 11.463 </Td> <Td> 447.558 </Td> <Td> </Td> </Tr> <Tr> <Td> 29 </Td> <Td> Equatorial Guinea </Td> <Td> 10.725 </Td> <Td> 12,726.956 </Td> <Td> </Td> </Tr> <Tr> <Td> 30 </Td> <Td> Chad </Td> <Td> 9.872 </Td> <Td> 810.163 </Td> <Td> </Td> </Tr> <Tr> <Td> 31 </Td> <Td> Guinea </Td> <Td> 9.721 </Td> <Td> 749.463 </Td> <Td> </Td> </Tr> <Tr> <Td> 32 </Td> <Td> Benin </Td> <Td> 9.238 </Td> <Td> 830.404 </Td> <Td> </Td> </Tr> <Tr> <Td> 33 </Td> <Td> Rwanda </Td> <Td> 9.137 </Td> <Td> 771.702 </Td> <Td> </Td> </Tr> <Tr> <Td> 34 </Td> <Td> Congo </Td> <Td> 8.513 </Td> <Td> 1,958.174 </Td> <Td> </Td> </Tr> <Tr> <Td> 35 </Td> <Td> Niger </Td> <Td> 8.253 </Td> <Td> 439.997 </Td> <Td> </Td> </Tr> <Tr> <Td> 36 </Td> <Td> Somalia </Td> <Td> 7.382 </Td> <Td> 547.32 </Td> <Td> </Td> </Tr> <Tr> <Td> 37 </Td> <Td> Malawi </Td> <Td> 6.206 </Td> <Td> 323.740 </Td> <Td> </Td> </Tr> <Tr> <Td> 38 </Td> <Td> Eritrea </Td> <Td> 5.813 </Td> <Td> 979.692 </Td> <Td> </Td> </Tr> <Tr> <Td> 39 </Td> <Td> Mauritania </Td> <Td> 5.116 </Td> <Td> 1,317.938 </Td> <Td> </Td> </Tr> <Tr> <Td> 40 </Td> <Td> Togo </Td> <Td> 4.767 </Td> <Td> 611.133 </Td> <Td> </Td> </Tr> <Tr> <Td> 41 </Td> <Td> eSwatini (Swaziland) </Td> <Td> 4.491 </Td> <Td> 3,914.821 </Td> <Td> </Td> </Tr> <Tr> <Td> 42 </Td> <Td> Sierra Leone </Td> <Td> 3.641 </Td> <Td> 491.448 </Td> <Td> </Td> </Tr> <Tr> <Td> 43 </Td> <Td> Burundi </Td> <Td> 3.396 </Td> <Td> 312.463 </Td> <Td> </Td> </Tr> <Tr> <Td> 44 </Td> <Td> Liberia </Td> <Td> 3.285 </Td> <Td> 729.292 </Td> <Td> </Td> </Tr> <Tr> <Td> 45 </Td> <Td> South Sudan </Td> <Td> 2.870 </Td> <Td> 228.034 </Td> <Td> </Td> </Tr> <Tr> <Td> 46 </Td> <Td> Lesotho </Td> <Td> 2.768 </Td> <Td> 1,425.310 </Td> <Td> </Td> </Tr> <Tr> <Td> 47 </Td> <Td> Djibouti </Td> <Td> 2.029 </Td> <Td> 1,988.765 </Td> <Td> </Td> </Tr> <Tr> <Td> 48 </Td> <Td> Central African Republic </Td> <Td> 1.928 </Td> <Td> 386.806 </Td> <Td> </Td> </Tr> <Tr> <Td> 49 </Td> <Td> Cape Verde </Td> <Td> 1.741 </Td> <Td> 3,237.597 </Td> <Td> </Td> </Tr> <Tr> <Td> 50 </Td> <Td> Seychelles </Td> <Td> 1.482 </Td> <Td> 15,685.955 </Td> <Td> </Td> </Tr> <Tr> <Td> 51 </Td> <Td> Guinea - Bissau </Td> <Td> 1.350 </Td> <Td> 794.107 </Td> <Td> </Td> </Tr> <Tr> <Td> 52 </Td> <Td> The Gambia </Td> <Td> 1.009 </Td> <Td> 480.040 </Td> <Td> </Td> </Tr> <Tr> <Td> 53 </Td> <Td> Comoros </Td> <Td> 0.652 </Td> <Td> 787.831 </Td> <Td> </Td> </Tr> <Tr> <Td> 54 </Td> <Td> São Tomé and Príncipe </Td> <Td> 0.379 </Td> <Td> 1,785.280 </Td> <Td> </Td> </Tr> <Tr> <Th>--</Th> <Th> Total </Th> <Th> 2,191.104 </Th> <Th> </Th> <Th> </Th> </Tr> </Table> <Tr> <Th> 2017 Rank </Th> <Th> Country </Th> <Th> Nominal GDP ($billions) </Th> <Th> Nominal GDP <P> per capita (US $) </P> </Th> <Th> Notes </Th> </Tr>

The country that has the best economy in africa