Methodology

How EU Debt Map calculates live government debt estimates

EU Debt Map starts with official Eurostat quarterly debt data. The live counters are then estimated from the latest available trend, so visitors can understand the direction and scale of government debt across the EU-27.

Important

The live ticker is an educational estimate. It is not an official real-time statistic. The official source remains Eurostat.

Quick answer

What you are looking at

The number on each country page is a live estimate built from official quarterly debt data. It keeps moving because we convert the most recent change into a per-second rate.

1

Fetch official data

We use Eurostat’s quarterly government debt dataset and request the latest available periods for all EU-27 countries.

2

Select the latest trend

For each country, we keep the latest two quarters with valid values. This creates a recent debt movement, not a long-term forecast.

3

Convert to euros

Eurostat reports the selected series in millions of euros. EU Debt Map converts this to euros for the large live counters.

4

Estimate per second

The difference between the two latest quarters is divided by the seconds between the two reference dates.

Source

Official data source

EU Debt Map uses Eurostat gov_10q_ggdebt: quarterly general government gross debt under the Maastricht definition.

Datasetgov_10q_ggdebt
FrequencyQ, quarterly
SectorS13, general government
Debt itemGD, gross debt
UnitMIO_EUR, converted to euro by multiplying by 1,000,000
CountriesEU-27 member states only
Greece codeEurostat uses EL, EU Debt Map displays GR
LookbacklastTimePeriod=8, then we select the latest two available quarters per country
Why Eurostat?

Eurostat gives a consistent, comparable data source across EU member states. That matters because national debt figures can differ in timing, format, definitions, and publication rhythm.

Calculation

How the live estimate is calculated

The calculation is intentionally simple. It avoids hidden economic assumptions and makes the numbers easy to audit.

Per-second rate(latest debt - previous debt) / seconds between reference dates
Live estimate after latest quarterlatest debt + per-second rate × seconds since latest reference date

Simple example

Suppose a country’s debt increases by €7.8 billion between two quarter-end dates. A quarter is roughly 7.8 million seconds. In that simplified case, the live estimate would move by about €1,000 per second.

If the change is negative, the counter moves down. If the latest two values are the same, the counter stays flat.

Pseudocode
previous_value_eur = debt value at previous quarter end
latest_value_eur   = debt value at latest quarter end

seconds_between_dates =
  latest_reference_timestamp - previous_reference_timestamp

rate_per_second =
  (latest_value_eur - previous_value_eur) / seconds_between_dates

if now <= latest_reference_timestamp:
  estimate =
    previous_value_eur +
    (latest_value_eur - previous_value_eur) *
    ((now - previous_reference_timestamp) / seconds_between_dates)

if now > latest_reference_timestamp:
  estimate =
    latest_value_eur +
    rate_per_second * (now - latest_reference_timestamp)
Safeguards

How we prevent misleading ticker behaviour

Live counters can look precise, but the input data is quarterly. The site therefore uses a few conservative safeguards.

Outlier protection

The app caps extreme per-second values to prevent runaway counters if a source value, date, or generated field is abnormal.

Missing previous quarter

If only one recent valid value is available, the estimate is treated as flat until more data is available.

Quarter-end dates

Quarter labels such as 2025-Q3 are converted to quarter-end dates so the per-second movement has a consistent time span.

EU-27 only

The site intentionally excludes non-EU countries to keep the scope clear and comparable.

Limitations

What the live ticker cannot tell you

The site is designed for public understanding, not for official accounting, trading, forecasting, or fiscal reporting.

It is not official real-time debt

Governments do not publish a fully comparable live second-by-second debt number through Eurostat. The official data is quarterly.

It assumes a linear path

Debt does not actually change smoothly every second. The ticker spreads the latest quarterly movement evenly over time.

It focuses on gross debt

Gross government debt is useful for comparison, but it does not include every measure of fiscal strength, assets, future obligations, or budget quality.

Updates

When the numbers change

The live movement changes when new official Eurostat data is fetched and the site is regenerated.

Data source refreshThe build script requests Eurostat data with lastTimePeriod=8, then selects the latest two available quarters per country.
Generated data fileLast generated: 28 Apr 2026
Method versionVersion 1.1, reviewed April 2026
For technical users

Reproduce the input data

The exact transformed values are generated during the build process. The public Eurostat API call below shows the source dataset and filters.

Example Eurostat API call
https://ec.europa.eu/eurostat/api/dissemination/statistics/1.0/data/gov_10q_ggdebt
  ?lang=EN
  &format=JSON
  &freq=Q
  &sector=S13
  &na_item=GD
  &unit=MIO_EUR
  &lastTimePeriod=8
  &geo=FR
  &geo=DE
  &geo=IT

In production, EU Debt Map requests all EU-27 country codes. Eurostat uses EL for Greece, while the app displays Greece as GR.