The debt-to-GDP ratio is an economic indicator that measures the relative size of a country's total debt in relation to its gross domestic product (GDP). It is often used to assess a country's financial health and its ability to repay its debts. The ratio is expressed as a percentage and is calculated using the following formula: