WalletHub.com took a look at the best and worst states for taking a summer road trip. It's that time of the year, when the family hits the road to head to the beach or the amusement park. About 85 percent of Americans are planning a summer vacation and nearly 90 percent of them will be behind the wheel.

So what are the best and worst states to take that summer road trip?

WalletHub compared the 50 U.S. states across 20 key metrics to find the most fun, scenic and wallet-friendly road trip destinations. In each state, they examined the attractions, road conditions, costs and even the weather.

Here's a chart of the rankings.