At the end of June, the Federal Reserve released the results of this year's stress tests, the purpose of which are to make sure that large banks have enough capital on their balance sheets to survive a severe economic downturn akin to the financial crisis.

The most important metric that the Fed uses to determine this is the common equity tier 1 capital ratio, or CET1 ratio. This reflects how much high-quality, highly liquid capital a bank has relative to a risk-weighted measure of assets -- it's a proxy for leverage.

Doctor speaking with patient.

The nation's biggest banks just got a clean bill of health. Image source: Getty Images.

Banks must maintain a 4.5% CET1 ratio through both stages of the annual tests. In the first stage, known as the Dodd-Frank Act stress tests, or DFAST, the Fed projects what would happen to a bank's CET1 ratio if the economy descends into a deep recession, where the unemployment rate reaches 10% and stock and real estate prices swoon.

The Fed then expands on this in the second stage, the Comprehensive Capital Analysis and Review, or CCAR. This stage incorporates proposals by the participating banks to increase their dividends or share buybacks over the next 12 months. So long as a bank is able to maintain a 4.5% CET1 ratio through both stages, and has a sufficiently sophisticated capital-planning process, it'll get a passing grade.

Here's how the 27 U.S.-based banks fared on the 2017 stress tests:

Bank

Actual 4Q16

(CET1 ratio)

DFAST Minimum

(CET1 ratio)

CCAR Minimum

(CET1 ratio)

Ally Financial

9.4%

6.5%

5.2%

American Express

12.3%

10.6%

5%

Bank of America

12.1%

8.9%

6.8%

Bank of New York Mellon

12.3%

11.2%

9.1%

BB&T

10.2%

7.9%

6.3%

BMO Financial

12.5%

8%

8%

Capital One

10.1%

7%

5.6%

CIT Group

14%

12.9%

5.4%

Citigroup

14.9%

9.7%

8%

Citizens Financial

11.2%

7.7%

6.5%

Comerica

11.1%

9.4%

7.5%

Discover Financial

13.2%

10.4%

6.9%

Fifth Third Bancorp

10.4%

8%

6.3%

Goldman Sachs

14.5%

8.4%

6%

Huntington Bancshares

9.6%

7%

6%

JPMorgan Chase

12.5%

9.1%

6.9%

KeyCorp

9.5%

6.8%

5.5%

M&T Bank

10.7%

7.9%

6.2%

Morgan Stanley

17.8%

9.4%

7.9%

Northern Trust

11.8%

10.9%

9.1%

PNC Financial

10.6%

8%

6.3%

Regions Financial

11.2%

8.2%

6%

State Street

11.6%

7.4%

6%

SunTrust Banks

9.6%

7.1%

5.4%

U.S. Bancorp

9.4%

7.6%

6.3%

Wells Fargo

11.1%

8.6%

7.4%

Zions Bancorp

12.1%

8.5%

6.6%

Source: Federal Reserve.

All of these banks have at least $50 billion worth of assets on their balance sheets, the threshold that triggers their participation in the stress tests. All of them also had enough capital to make it through both stages of the tests while maintaining CET1 ratios above the requisite 4.5%.

The banks that came closest to breaching this were Ally Financial (ALLY 6.73%) and SunTrust Banks (STI). In the first stage of the test, Ally Financial's CET1 ratio declined from an initial 9.4% down to 6.5%. This then bottomed out at 5.2% after Ally's proposed capital actions were factored into the analysis. SunTrust Banks, meanwhile, saw its original 9.6% CET1 ratio fall to 5.4% through the two stages.

Most of the other banks that took this year's test emerged with larger margins for error. At the conclusion of the CCAR, the average CET1 ratio among these 27 banks was 6.3%. That represents a meaningful drop from the average 11.2% CET1 ratio at the start of the tests, but the end result is still comfortably above the 4.5% regulatory minimum.

These performances are good news for investors in bank stocks. It means that, unlike the crisis nine years ago, another one in the future is likely to cause much less damage to banks. This should limit the downside risk of owning bank stocks for years, if not decades, ahead.