El Salvador vs Morocco: Tax revenue as share of GDP

El Salvador
20.6%
in 2023
Morocco
21.0%
in 2023
El Salvador rank
87th
Morocco rank
84th

Tax revenue as share of GDP over time

  • El Salvador
  • Morocco
510152025198020012023

How they compare

Morocco currently reports 21.0% against 20.6% in El Salvador, a difference of 0.4%.

The two have swapped places 2 times across 34 shared years of data; in 1990 it was Morocco ahead.

El Salvador ranks 87th and Morocco ranks 84th of 192 countries.

Morocco has averaged higher in every one of the 4 decades both report.

Head to head by decade

Decade El Salvador Morocco Difference Ahead
1990s 9.5% 17.7% 8.2% Morocco
2000s 13.8% 19.7% 5.9% Morocco
2010s 16.9% 20.5% 3.6% Morocco
2020s 19.9% 20.7% 0.8% Morocco

Averages of every year both report within each decade.

Frequently asked questions

Which has higher tax revenue as share of gdp, El Salvador or Morocco?
Morocco, at 21.0% against 20.6% in El Salvador as of 2023.
What is the difference in tax revenue as share of gdp between El Salvador and Morocco?
0.4%, with Morocco ahead.
How many years of comparable data are there for El Salvador and Morocco?
34 years are reported by both, from 1990 to 2023.
How do El Salvador and Morocco rank globally for tax revenue as share of gdp?
El Salvador ranks 87th and Morocco ranks 84th of 192 countries.
Where does this data come from?
UNU-WIDER Government Revenue Dataset (2025) – with major processing by Our World in Data, published as Tax revenue as share of GDP. Statizoid refreshes it automatically from the source and publishes the full history for both places.

Individual pages

Share, cite or embed this page

Cite this page

El Salvador vs Morocco: Tax revenue as share of GDP. Statizoid, drawing on UNU-WIDER Government Revenue Dataset (2025) – with major processing by Our World in Data. Retrieved 16 September 2026, from https://economy.statizoid.com/compare/tax-revenues-as-a-share-of-gdp-unsdg/el-salvador/morocco/

Embed or link this data

Paste this into a page to link back to these figures. The data itself is free to reuse under CC BY 4.0 (Our World in Data); please keep the attribution.

<a href="https://economy.statizoid.com/compare/tax-revenues-as-a-share-of-gdp-unsdg/el-salvador/morocco/">El Salvador vs Morocco: Tax revenue as share of GDP</a> β€” Statizoid

About this data

Indicator
Tax revenue as share of GDP
Unit
% of GDP
Source
UNU-WIDER Government Revenue Dataset (2025) – with major processing by Our World in Data
Licence
CC BY 4.0 (Our World in Data)
Coverage
192 places, 6,348 data points, 1980–2023
Last refreshed

Direct and indirect taxes as well as social contributions included.