There aren't that many multibeam sonar vessels in the world. They acquire data over narrow swaths. Mapping all ocean basins with multibeam would take a long time. I've always heard estimates of a few hundred years, though those were based on total the number of academic multibeam vessels operating 24/7. Obviously, it scales with the number of vessels you have doing it, so a large-scale coordinated effort that built lots of new, single-purpose vessels could take significantly less.
At any rate, the cost of one survey made with one ship is not a good way to estimate the total cost, unless you're willing to wait a _really_ long time.
The annual budget for the entire USGS is $1.2 billion. NOAA has a budget of $5.6 billion. NASA has a budget of $19.5 billion. The NSF has a budget of about $2 billion. If these agencies dropped everything else and invested purely in this map, it would take about 5 years to create it.
Or, yeah, you could buy not even 0.1 Iraq wars with those 5 years, if that sounded better...
There is also the opportunity cost to take account of, but that's much harder (impossible?) to put an accurate figure on.
Nasa has been able to pull off the Apollo program for roughly $150B adjusted for inflation. Those are not real dollars neither because people supported it ?
https://eos.org/opinions/airline-flight-paths-over-the-unmap...
A better application of money than redoing work already done, might be talking the navy into releasing their data. Declassification isn't cheap, but its cheaper than having civilians re-run the mission.
The vast majority of the ocean hasn't been mapped with multibeam, civilian or military. Unless it's an area that's of strategic interest (i.e. mostly costal areas), it's very unlikely that the military has mapped it in detail.
That having been said, getting the military to declassify more of its magnetic anomaly data for the ocean basins would be immensely helpful for understanding global tectonic evolution. They have mapped it in quite a bit of detail from airborne and marine platforms. However, an accurate and detailed map of magnetic anomalies gives a huge edge in submarine detection, so it's unlikely they'll declassify all of it anytime soon.
1. https://www.theguardian.com/world/2017/jan/17/malaysia-airli...