New York sent nearly $41 billion more to Washington than it received back in federal spending — more than double the gap four years ago, according to a report released on Tuesday.

For every dollar New York State taxpayers sent to D.C., last year, they received back just 84 cents, State Comptroller Thomas DiNapoli said.

“Most states received more than they paid,” he said.

On average, states received $1.18 cents per tax dollar sent to the federal government, but New York paid $40.9 billion more, by DiNapoli’s reckoning.

In 2013, the gap was $19.9 billion.

New York ranks first in the nation for the overall loss from the exchange, DiNapoli said.

“While the Empire State fares well in some areas, in total it receives significantly less per tax dollar than the vast majority of states,” he said.

Policymakers should take that into account while considering eliminating state and local income tax deductions, he said.

“Federal decision-makers should consider this imbalance as they debate proposed budget and policy changes that could significantly impact New York and other states,” DiNapoli said.

New Jersey had the next largest deficit at $27.5 billion, according to the report.

New Yorkers paid almost $255 billion in taxes to the federal government last year.

The federal government gave the state $55 billion in Social Security payments, $47 billion for Medicare and more than $46 billion for Medicaid and other safety net grants during the 2016 federal fiscal year.

The state also received billions for transportation, education and veterans’ benefits programs.

New York’s per capita contribution to the federal treasury in 2016 was $12,914, which was 36 percent more than the national average of $9,476.

Through income taxes alone, New Yorkers paid an average of $7,361 to the feds, 54 percent higher than the national average of $4,768, DiNapoli said.

New York received $10,844 in per capita federal spending, slightly below the national average of $11,183, the comptroller’s report found.