Pakistan ranks behind the 40th largest economy regarding its nominal GDP .
The economy of Pakistan is the 24th largest in the world in terms of purchasing power parity ( PPP ) , and 39th largest in terms of nominal gross domestic product .