Past work has suggested that perception of object distances in natural scenes depends on the environmental surroundings, even when the physical object distance remains constant. The cue bases for such effects remain unclear and are difficult to study systematically in real-world settings, given the challenges in manipulating large environmental features reliably and efficiently. Here, we used rendered scenes and crowdsourced data collection to address these challenges. In 4 experiments involving 452 participants, we investigated the effect of room width and depth on egocentric distance judgments. Targets were placed at distances of 2–37 meters in rendered rooms that varied in width (1.5–40 meters) and depth (6–40 meters). We found large and reliable effects of room width: Average judgments for the farthest targets in a 40-meter-wide room were between 16–33% larger than for the same target distances seen in a 1.5-meter-wide hallway. Egocentric distance cues and focal length were constant across room widths, highlighting the role of environmental context in judging distances in natural scenes. Obscuring the fine-grained ground texture, per se, is not primarily responsible for the width effect, nor does linear perspective play a strong role. However, distance judgments tended to decrease when doors and/or walls obscured more distant regions of the scene. We discuss how environmental features may be used to calibrate relative distance cues for egocentric distance judgments.