Audio By Carbonatix
South Africa has regained the title of Africa's largest economy, two years after Nigeria rebased its economy to claim the spot, according to IMF data.
A recalculation using current exchange rates put South Africa on top because the rand has strengthened against the dollar.
Nigeria's currency has fallen sharply since a peg to the dollar was dropped.
But BBC Africa Business Report editor Matthew Davies says both economies could be on the brink of recession.
Nigeria rebased its economy in 2014 to include previously uncounted industries like telecoms, information technology, music, online sales, airlines, and film production.
Most countries do rebasing, updating the measure of the size of the economy, at least every three years or so, but Nigeria had not updated the components in its GDP base year since 1990.
Analysis by Matthew Davies, BBC News
On the basis of these numbers, there's not a lot between the two. South Africa's economy is worth around $301bn (£232bn) and Nigeria comes in at $296bn.
The exercise in calculating the numbers using last year's IMF figures and this year's currency exchange numbers, technically puts South Africa back on top.
But look behind the league table and the light-hearted jostling about who has the largest economy in Africa and things, economically speaking, are a little bleaker.
Both economies contracted in the first quarter. Another contraction and they'll both be in recession.
Nigeria is almost entirely dependent on its oil exports. And as the price of oil slumps so does the flow of petrodollars coming into the country's coffers. South Africa's economy is more diverse.
Indeed, after Nigeria knocked it off the top spot two years ago, we started describing it as "Africa's most industrialised economy", rather than Africa second-largest economy.
But economic growth is unlikely to make it above 1% in South Africa this year and many, including the country's Reserve Bank, are forecasting it at zero.
Unemployment remains stubbornly high and a credit rating review is looming at the end of the year.
If the whole "largest economy in Africa" competition was a horse race, the two leading contenders would be virtually neck and neck.
But they wouldn't be galloping, they'd be trotting at best. And looking increasingly tired and in need of sustenance.
Latest Stories
-
Iran war lands ‘triple blow’ to flood-ravaged Sri Lankans
33 minutes -
Gunmen kill at least 11 people at Afghanistan picnic spot
46 minutes -
Woman, 25, in court for stealing baby at Bogoso
47 minutes -
Trump unveils giant gold-accented victory arch design for US capital
50 minutes -
We spoke to the man making viral Lego-style AI videos for Iran. Experts say it’s powerful propaganda
55 minutes -
Hungarians vote in big numbers on whether to end Orbán rule and elect rival
56 minutes -
At least 30 feared dead in crush at Haitian tourist site
56 minutes -
Boxing: Abdul Ahmed wins WBA Africa Cruiserwight title after dispatching Nigeria’s Eradeye
1 hour -
Nearly 2,000 displaced, schools damaged as windstorm wreaks havoc in Gushegu
1 hour -
Ghana’s Derrick Kohn to work under Marie-Louise Eta as she becomes first woman to coach men’s Bundesliga team
2 hours -
Accra Open Championships conclude with strong performances ahead of African Championships
2 hours -
Ghana to begin camping with 12 athletes after Accra Open Championships – Bawa Fuseni
2 hours -
Anthony Joshua declines showdown with Tyson Fury but admits they ‘probably’ clash next
2 hours -
Tyson Fury dominates Makhmudov, calls out Joshua next
3 hours -
I have supported highway authority financially to fix roads in my constituency – A PlusÂ
4 hours