If that old mattress of yours is better at keeping you up all night than it is at lulling you off to La La Land, we’ve got news for you: It may be time to shop for a new one. Before you cue the groans, however, there is a silver lining here. You can push aside all those images you have of haggling with a salesman over your new bed’s price, then ruining your floors, scuffing up the walls and throwing out your back as you awkwardly drag your heavy new mattress up the stairs à la Friends. Nowadays, you can get an in-the-box solution delivered to your doorstep from Amazon with the click of a button, which you can open up in your bedroom and wait for it to expand right then and there—if you can figure out which one to pick among the site’s 1,000+ results, that is! Before you look for the best mattress on Amazon, however, there are a few things to consider.