The 2012 Chevrolet Sonic just earned some bragging rights when it comes to safety. The National Highway Traffic Safety Administration gave the affordable small car an overall safety score of five stars, which is the highest rating possible. The Sonic beat one of its closest rivals, the Ford Fiesta, which received an overall score of four out of five stars.

The Sonic also earned five stars in front and side crash tests, as well as a slightly lower score of four stars in rollover tests.

“We developed Sonic to exceed customer expectations of subcompacts in terms of segment-leading safety features,” said Gay Kent, GM executive director of vehicle safety, in a press release. “From the largest vehicles in our lineup to the smallest, we are putting overall crashworthiness and state-of-the-art safety technologies at the top of the list of must-haves.”

While the Sonic and a number of other small cars were named Top Safety Picks by the Insurance Institute for Highway Safety, the federal government hasn’t fully crash tested many small cars. The Sonic’s standard safety features include 10 airbags, traction control, anti-lock brakes and OnStar with automatic crash response.

Shopping for a Chevrolet Sonic or an affordable small car? Check out the U.S. News rankings of this year's best cars. Then, look for a great deal on a new car by checking out this month’s best car deals. You can also skip negotiating with a dealer by using our Best Price Program. Also, be sure to follow us on Twitter and Facebook.