Perfect! Our new bed is about 40”. This is a life saver for me. I can get into bed without scrambling.  The “secret” compartment is great for storing headphones, chargers, etc.