Compare public debt with nominal GDP Use government debt and nominal GDP in the same currency to calculate the debt-to-GDP ratio, optional debt per capita, and a simple scenario view for debt and GDP changes.
Input basis
Set the currency display and unit scale before entering national-account figures. Debt and GDP must use the same current-price currency basis.
Display currency
Example presets
Definition note
Current numerator: gross general government debt. Keep this definition consistent before comparing countries, sources, or time periods.
Scenario changes
Model a simple change in debt and nominal GDP to see how the ratio would move. Use negative numbers to test declines.
Formula reference
Debt-to-GDP ratio = total government debt ÷ nominal GDP × 100.
Debt per capita = total government debt ÷ population.
For a like-for-like ratio, debt and GDP should use the same current-price currency basis.
Result
114.29%
gross general government debt of $32T against nominal GDP of $28T produces a debt-to-GDP ratio of 114.29%.
1.14x
Debt as a multiple of GDP
$94.12K
Debt per capita
$16.8T
Debt at 60% of GDP
-$15.2T
Headroom to 60%
Above the 90% discussion range Current debt is 24.29 percentage points above 90% of GDP. Research does not support a single magic threshold, so treat this as a prompt for deeper analysis rather than an automatic distress verdict.
Scenario
Scenario ratio rises
Adjusted debt$33.28T
Adjusted nominal GDP$28.84T
Scenario debt-to-GDP ratio115.4%
Change from current ratio+1.11 pts
Interpretation note
The ratio is most useful when the numerator and denominator come from the same reporting basis. Gross debt, debt held by the public, and nominal GDP can all produce different answers if you mix definitions.
Debt-to-GDP ratio calculator: formula, nominal GDP, debt per capita
A debt-to-GDP ratio calculator compares public debt with nominal GDP so you can see the ratio as a percentage of annual economic output instead of as a standalone currency number. This version also shows debt per capita, compares the current position with 60% and 90% reference markers, and lets you test simple debt and GDP change scenarios without pretending the ratio alone decides fiscal sustainability.
What a debt-to-GDP calculator is measuring
Debt-to-GDP compares the stock of government debt with the flow of nominal economic output over a year. That matters because a raw debt total tells you almost nothing on its own. A debt figure that looks large for a small economy can be modest for a larger economy, which is why the debt-to-GDP ratio is used as a scaling tool instead of a standalone headline.
The ratio is best treated as a framing metric, not a verdict. OECD and IMF publications use debt-to-GDP as one indicator of government-finance sustainability, but they also emphasise growth, borrowing costs, debt composition, maturity structure, and fiscal trajectory. A country with a high but falling ratio can look very different from a country with a lower but rapidly rising one.
The debt-to-GDP formula and the definition trap most pages skip
The basic formula is simple: divide total government debt by nominal GDP and multiply by 100. The harder part is choosing compatible inputs. Debt and GDP need to be on the same currency basis and the GDP figure should usually be nominal rather than inflation-adjusted real GDP, because the debt stock is also measured in current money terms.
The other trap is the numerator. Some datasets use gross government debt, while others use narrower measures such as debt held by the public or central-government marketable debt. Those are not interchangeable. If you swap numerator definitions, the ratio can move materially even when the economy itself has not changed. That is why a useful debt-to-GDP ratio calculator should help with the arithmetic but still tell you that the answer depends on which debt measure you chose.
Debt-to-GDP ratio = Total government debt / Nominal GDP x 100
The standard ratio expression used to scale debt against annual output.
Debt per capita = Total government debt / Population
A supporting view that translates the debt stock into a per-person arithmetic figure.
Using billions, trillions, and local currency without distorting the answer
Public-debt and GDP figures are usually reported in millions, billions, or trillions rather than as fully written-out currency amounts. The calculator therefore lets you set the amount scale before entering the debt and GDP numbers. If both values use the same scale, 32 trillion divided by 28 trillion gives the same percentage as 32,000 billion divided by 28,000 billion.
The display currency is only a formatting preference. It does not perform a foreign-exchange conversion or transform a local-currency debt figure into U.S. dollars, euros, pounds, yen, or any other currency. For a valid debt-to-GDP percentage, use debt and nominal GDP from the same source basis or convert both values consistently before entering them.
Worked example: debt of 3.2 trillion against GDP of 4.0 trillion
Suppose total government debt is 3.2 trillion and nominal GDP is 4.0 trillion in the same currency. The ratio is 3.2 divided by 4.0, which equals 0.8. Multiply by 100 and the debt-to-GDP ratio is 80%. In plain language, the public debt stock is equal to 80% of one year's nominal output.
If the population is 80 million, debt per capita is 40,000. The 60% reference-point debt level for the same GDP base would be 2.4 trillion, so the current debt stock would sit 0.8 trillion above that marker. That does not automatically mean crisis or safety. It simply shows where the current position sits relative to a benchmark people often cite in fiscal discussions.
What 60%, 90%, and 100% mean and what they do not mean
The 60% figure is widely recognised because it became part of the Maastricht fiscal criteria in the European Union. That gives it policy visibility, but not universal scientific authority. It is better treated as a reference point than as a universal cutoff that cleanly separates healthy from unhealthy public finances.
The 90% figure appears often in public debate because of older debt-and-growth research, but later IMF work argued there is no single magic threshold above which growth suddenly collapses. That is an important content gap on thin competitor pages. A higher ratio can matter, but the path of debt, the interest-growth relationship, the domestic versus external holder mix, and refinancing conditions all matter alongside the level itself.
A ratio above 100% does not automatically imply insolvency. It only means the debt stock exceeds one year's nominal GDP. Japan has spent long periods above that level, while some countries with much lower ratios have still faced market stress because structure and financing conditions were worse. The ratio is therefore a starting point for analysis, not a default-probability meter.
Debt per capita does not measure who legally owes what, and it should not be read as an invoice for each resident. Its value is interpretive. It gives you a scale reference that some readers find easier to grasp than trillions or billions alone. That can be useful in journalism, teaching, and first-pass policy communication.
Scenario testing adds another layer. If debt rises 10% while nominal GDP rises only 5%, the ratio goes up. If GDP grows faster than debt, the ratio can fall even when the nominal debt stock is still rising. That makes a scenario block much more useful than a one-shot calculator because it shows the directional sensitivity of the ratio rather than leaving users with one static number.
What this calculator does not cover
This page does not forecast debt sustainability, interest costs, refinancing needs, inflation effects, or the political feasibility of fiscal adjustment. It also does not choose a debt definition for you. If your source uses gross debt and someone else's uses debt held by the public, the two ratios can differ enough to change the story.
It also does not model real GDP, cyclically adjusted balances, off-balance-sheet obligations, contingent liabilities, or debt maturity. Those omissions matter because countries with identical headline debt-to-GDP ratios can face very different real-world financing risks. Use this calculator to standardise the core arithmetic first, then move to the richer fiscal context.
Frequently asked questions
How do you calculate debt-to-GDP?
Divide total government debt by nominal GDP and multiply by 100. If debt is 3.2 trillion and nominal GDP is 4.0 trillion, the ratio is 80%.
Should debt-to-GDP use nominal GDP or real GDP?
Usually nominal GDP. Debt is a current-money stock, so nominal GDP keeps the numerator and denominator on a comparable currency basis. Using real GDP with a nominal debt stock can distort the ratio.
Should I use gross debt or debt held by the public?
Use the definition that matches the question you are trying to answer and keep it explicit. Gross debt is broader. Debt held by the public is narrower and often used for market-facing fiscal analysis. The ratio changes materially when the numerator definition changes.
Is a debt-to-GDP ratio above 100% automatically bad?
No. It means the debt stock is larger than one year's nominal output, but it does not automatically mean default or crisis. Interest rates, debt holders, maturity profile, growth, inflation, and fiscal credibility all matter as well.
Is 60% of GDP a hard safe limit?
No. It is a well-known policy benchmark from the Maastricht framework, not a universal economic law. It is useful as a reference point, but it should not be treated as a one-line pass-fail rule for every country.
Does debt per capita show what each citizen owes?
Not literally. It is a scaling device that divides the aggregate debt stock by population. It can help with communication, but it is not a legal or tax liability assigned to each person.
Why can the ratio fall even when debt is still rising?
Because the denominator can grow faster than the numerator. If nominal GDP expands more quickly than debt, the debt-to-GDP ratio can decline even though the debt stock is larger in currency terms.
Can this calculator forecast whether a country will face a debt crisis?
No. It only standardises the core debt-to-GDP arithmetic and basic scenario moves. It does not model refinancing stress, interest burdens, debt maturity, fiscal policy response, or market confidence.
What is a good debt-to-GDP ratio?
There is no single universally safe number. Lower ratios can reduce pressure, but the interpretation still depends on growth, interest costs, debt structure, credibility, and financing conditions. That is why this page treats the ratio as a benchmarking tool rather than as a one-number verdict.
Can I enter debt and GDP in billions or trillions?
Yes. Choose the amount scale first, then enter debt and nominal GDP using that same scale. The percentage is unchanged as long as both numbers use the same scale and currency basis.
Does changing the display currency convert the inputs?
No. The currency preference only controls how results are displayed. It does not convert values between currencies, so debt and GDP should already be entered on a consistent local-currency or converted basis.