The size of your mattress can affect sleep quality. Factors such as sharing a bed with a partner, your body size, ideal sleep temperature, medical conditions, and sleep position can affect which mattress size best helps you get a good night’s sleep.