Shipping company Shipcraft said it had paid the hijackers "considerable millions, substantially more than previous kidnappings where Danish citizens have been involved".
It declined to reveal the amount "considering possible future kidnapping situations".
Danish broadcaster TV2 said the hostage-takers received USD 6.9 million (5.2 million euros), paid in two instalments dropped into the sea on Tuesday and Thursday last week.
The sailors will be reunited with their families as soon as possible and are receiving medical treatment and counselling, the Danish government said in a statement.
"I have just talked to the families of the seamen. It was a very emotional moment, and it goes without saying that the happy news was received with great joy," chief executive Claus Bech said in a statement.
The crew spent most of their time in captivity on land after the pirates damaged the cargo ship before leaving it adrift.
"They were moved to different locations in Somalia. On a few occasions the hostages have been allowed to talk to their families," Shipcraft said.
"These are cynical and unscrupulous people who deserve to be caught and prosecuted," Foreign Minister Villy Soevndal said in a statement.
"Although the international effort against piracy means it's increasingly rare for Somali pirates to successfully take new hostages, there are still other sailors caught out there," he added.
You’ve hit your limit of {{free_limit}} free articles this month.
Subscribe now for unlimited access.
Already subscribed? Log in
Subscribe to read the full story →
Smart Quarterly
₹900
3 Months
₹300/Month
Smart Essential
₹2,700
1 Year
₹225/Month
Super Saver
₹3,900
2 Years
₹162/Month
Renews automatically, cancel anytime
Here’s what’s included in our digital subscription plans
Access to Exclusive Premium Stories Online
Over 30 behind the paywall stories daily, handpicked by our editors for subscribers


Complimentary Access to The New York Times
News, Games, Cooking, Audio, Wirecutter & The Athletic
Business Standard Epaper
Digital replica of our daily newspaper — with options to read, save, and share


Curated Newsletters
Insights on markets, finance, politics, tech, and more delivered to your inbox
Market Analysis & Investment Insights
In-depth market analysis & insights with access to The Smart Investor


Archives
Repository of articles and publications dating back to 1997
Ad-free Reading
Uninterrupted reading experience with no advertisements


Seamless Access Across All Devices
Access Business Standard across devices — mobile, tablet, or PC, via web or app