Sleep efficiency is a measure of how effectively a person sleeps, calculated as the ratio of total sleep time to time spent in bed, expressed as a percentage. A higher sleep efficiency indicates less time spent awake while in bed, reflecting better sleep quality and overall restfulness.