As per International Monetary Fund (IMF) 2019 estimates, the GDP (nominal) of Germany is USD 3,863,344 million. This GDP (nominal) is around 4.43% of Entire World’s GDP. Currently (2019), the world rank of Germany is 4 in terms of GDP Nominal.
However, as per 2018 estimates by World Bank, the GDP (Nominal) of Germany is USD 3,996,759 million. As per World Bank Estimates, the global rank of Germany is 4.

Germany GDP [PPP]

On the other hand, as per 2019 estimates by International Monetary Fund, the GDP (PPP) of Germany is USD 4,444,368 Million. This is 3.13% of World. Germany on this basis has a global rank of 5.