How the ledger was drawn up
General government, consolidated. Central, state and local government and social-security funds together, with transfers between them removed so nothing is counted twice. India's year is FY2025/26.
Spending by function (UN COFOG), revenue by type (IMF GFS). Interest on public debt is pulled out of general public services so you can see it.
Totals. US, Germany, UK, Japan: IMF World Economic Outlook, April 2026. China: the four official 2025 budgets, consolidated. India: Centre + States FY2025/26 budget estimates. Each checked against the IMF (no gap above 2 percentage points of GDP).
Categories. Where 2025 detail isn't published yet, the 2025 total is split by the latest available structure (2024) and marked estimated. Anything that can't be sourced is left as Other / unallocated.
Dollars. IMF 2025 average market rates; PPP at the IMF's 2025 PPP GDP. Status: official (published as such), provisional (first estimate or budget), estimated (derived — the hover card says how).
Names. Country names follow the Unicode CLDR (the sources are national and IMF statistics, which publish no Chinese names); category names follow the Chinese of the UN's COFOG and the IMF's GFS classifications.