Your neck doesn’t care what the packaging says. A “medium loft” pillow rated at 4 inches does one thing for a 200-pound side sleeper with broad shoulders on a firm mattress, and a completely different thing for a 130-pound back sleeper on a plush one. The physics are simple: loft has to bridge the gap between your ear and the mattress surface, and that gap is set by your body geometry and how much your mattress compresses under you not by a size label.

The research on pillow height and cervical alignment has been converging on this for years. A 2021 systematic review in Healthcare covering studies published from 1997 to 2021 identified body dimensions as a primary determinant of optimal pillow height as important as sleep position, and more measurable than “comfort.” Use the calculator above to get your number, or read through the inputs below to understand exactly what drives the result.
Loft is the uncompressed height of a pillow the measurement you’d get if you laid it flat on a hard surface and held a ruler to its highest point. That number matters, but it’s not what your spine feels. What your spine feels is compressed loft: the height the pillow holds under your actual head weight.
The gap between stated and compressed loft can be substantial. A shredded memory foam pillow advertised at 5 inches may compress to around 3.5-4 inches under head pressure. A latex pillow at 4 inches may compress to about 3.5 inches latex holds its shape better than most fills. A cheap polyester pillow claiming 5 inches may flatten below 2 inches within a few months. This is why the calculator uses position, body dimensions, and mattress interaction to arrive at a target compressed loft, not a raw purchase number.
The other thing loft does not mean: firmness. These are separate variables. A high-loft pillow can be soft (lots of loosely packed down) or firm (solid memory foam block). A low-loft pillow can be either. You need both to be right for correct cervical alignment, but this calculator addresses loft first the height variable because that’s the one most people get wrong by the widest margin.
Enter your sleep position, shoulder width, and mattress firmness to calculate your exact pillow loft target backed by published biomechanics research
The Three Inputs That Determine Your Target
Input 1: Sleep Position
Position sets the baseline. The structural job of the pillow changes completely depending on how you sleep.
A side sleeper needs the pillow to fill the lateral gap between the ear and the mattress surface – the entire width of one shoulder. A 2025 Beihang University study published in Medical and Biological Engineering and Computing confirmed that individualized pillow height for side sleepers must be matched to shoulder width to keep the cervical curve closest to its natural standing geometry. The optimal individualized height range they identified was roughly 9.7-11.8 cm (about 3.8-4.6 inches) – but that range was derived for the specific subjects in that study. Your shoulder width shifts that number.

A back sleeper needs the pillow to maintain the cervical lordosis – the gentle forward arc of the neck – without pushing the chin toward the chest or letting the head fall back. Research converges on roughly 7-10 cm (about 3-4 inches) as the target range for back sleepers on a medium-firm mattress.
A stomach sleeper presents the hardest biomechanical problem. The head rotates 45-90 degrees for the entire night, compressing the cervical facet joints on one side. The pillow’s job here is to minimize the rotation angle, which means minimal loft – under 7 cm (under 3 inches), and often no pillow at all under the head with a thin pillow under the pelvis instead.
| Sleep Position | Baseline Loft Target | Structural Job |
|---|---|---|
| Side | Roughly 4-5.5 in (10-14 cm) | Fill shoulder-to-ear gap and maintain lateral cervical alignment. |
| Back | Roughly 3-4 in (7-10 cm) | Support cervical lordosis without forced flexion or extension. |
| Stomach | Under 3 in (under 7 cm) | Minimize head rotation angle and reduce cervical compression. |
| Combination | Roughly 3.5-4.5 in (9-11 cm) | Split the difference and adjust toward the dominant sleeping position. |
Input 2: Shoulder Width
For side sleepers, shoulder width is the single most important variable. The gap your pillow must bridge is not an average – it’s your shoulder-to-ear distance measured while lying on your side.
The Tian et al. 2025 study derived individualized loft predictions from shoulder width, and reported an R² correlation of around 0.80 with cervical alignment outcomes – strong enough to make shoulder width a meaningful primary predictor of pillow needs.
The practical rule: broader shoulders require more loft. A person with wide shoulders (roughly 20+ inches across) will need loft at or above the high end of the side-sleeper range. A person with narrow shoulders (roughly 14 inches or under) may need loft at the lower end or below. The calculator adds or subtracts from the position baseline based on where your shoulder width falls relative to an average adult frame.
For back and stomach sleepers, shoulder width has a smaller but nonzero effect. Broader-framed back sleepers often find that a slightly higher loft better supports the neck-to-shoulder transition. The calculator applies a minor modifier here rather than ignoring it.
Input 3: Mattress Firmness
This is the input most people skip, and it’s the one that most commonly explains why a pillow that worked on one bed fails on another.
A study published in Applied Sciences (NCBI PMC9311775) found that on a soft mattress, the body sinks deeper into the surface, increasing the craniocervical height by a measurable amount compared to a medium mattress. The same pillow that kept the cervical spine aligned on a firm surface pushed it into flexion on a soft one. The authors specifically recommended using a lower or thinner pillow when the mattress is soft.
The mechanical reason is straightforward: when your shoulder sinks into a soft mattress, the effective gap between ear and sleep surface decreases. If the pillow stays the same height, your head ends up angled upward – cervical spine in lateral flexion, loading the facet joints on the upper side through the night. A firmer mattress keeps the shoulder closer to the surface, so the gap stays larger and a higher-loft pillow is needed to fill it correctly.
| Mattress Firmness | Effect on Side Sleeper Loft |
| Soft (1-3 ILD feel) | Shoulder sinks deeper: reduce loft by roughly 0.5-1 in from baseline |
| Medium (4-6 ILD feel) | Reference condition: use baseline loft |
| Firm (7-10 ILD feel) | Shoulder stays elevated: add roughly 0.5-1 in to baseline |
Every major mattress and pillow retailer publishes the same table: side sleepers 4-6 inches, back sleepers 3-5 inches, stomach sleepers 1-3 inches. Those numbers are not wrong. They’re just incomplete to the point of being nearly useless as a purchase decision.
The actual range that shows up consistently in published biomechanics research is narrower and more conditional than retail guides suggest. A study in PeerJ (PMC5012320) testing four pillow heights between 110-170 mm found that increasing from the lowest to the highest height raised cervical angle by roughly 66% and changed lordosis distance by about 25%. That is a large mechanical change across a small physical range. An inch of pillow height is not a cosmetic difference – it changes the load on every cervical facet joint through the night.
The retail table also treats everyone in a given position as equivalent. The Tian 2025 Beihang University data shows that’s not true: optimal height varied by individual shoulder width even within a single position group. A generic recommendation aimed at the middle of the distribution will be wrong for most people at the tails – which includes almost every person who is significantly broader or narrower than an average adult frame.
The takeaway: use the position baseline as a starting point, apply the shoulder width and mattress modifiers, and treat the result as a calibration target to validate across a few nights not as a guaranteed answer.
Adjustable Fills: the Only Way to Dial This In Precisely
The calculator gives you a target. Getting to that target precisely requires a pillow with adjustable fill volume. Two fills make this practical:
Shredded memory foam allows fill to be added or removed in small increments, typically through a zippered inner liner. The compression behavior of shredded foam means there’s some relationship between fill volume and compressed loft that varies by manufacturer, so you’ll need to test after each adjustment. Most shredded foam pillows come overfilled by default removing material is the usual first step.
Buckwheat hull fill adjusts differently: the hulls are individual rigid pieces that don’t compress significantly. The loft you set when you fill the pillow is close to the loft you sleep on. This makes buckwheat the most accurate fill for hitting a specific loft target, at the cost of a firmer, noisier sleep surface that some sleepers dislike.
Down and polyester fills both compress unpredictably and cannot be reliably adjusted to a loft target. Solid foam pillows are fixed. If you’re using a non-adjustable pillow, the calculator still gives you a target – it just tells you what to look for in a fixed-fill purchase rather than what to set.
For a full comparison of adjustable fills, the adjustable pillow guide covers the options in more detail, including how different shredded fills behave under compression over time.
Frequently Asked Questions
What does loft mean on a pillow?
Loft is the uncompressed height of a pillow measured from the sleep surface to its highest point. A stated loft of 5 inches means the pillow is 5 inches tall when lying flat on a hard surface before any weight is applied. Compressed loft what you actually sleep on is always lower.
How do I calculate the right pillow loft?
Use sleep position as your baseline, then adjust for shoulder width (broader = more loft for side sleepers) and mattress firmness (softer mattress = less loft needed, firmer = more). The calculator on this page does this in three inputs. A more detailed breakdown for side sleepers specifically covers the measurement method.
What is medium pillow loft?
Medium loft typically describes a pillow in the roughly 3-5 inch range. This fits most back sleepers on a medium-firm mattress reasonably well. For side sleepers, medium loft is usually insufficient unless shoulder width is narrow.
Does body weight affect pillow loft?
Yes, indirectly. Heavier sleepers compress a mattress further, which decreases the effective gap that a side-sleeper’s pillow must fill. The primary modifier for side sleepers is shoulder width, but heavier sleepers on soft mattresses will often find they need less pillow height than the position baseline suggests, because the shoulder sinks lower.
Can I adjust my pillow’s loft?
Yes, but only with specific fills. Shredded memory foam and buckwheat hull pillows allow material removal or addition to change compressed loft. Down, polyester, and solid foam pillows cannot be meaningfully adjusted.




