Equirectangular projection is the mapping that stores a full spherical view of 360 by 180 degrees in a flat rectangle with a 2:1 aspect ratio, where the horizontal axis represents longitude and the vertical axis represents latitude. In XR content creation, it is the default interchange format for 360-degree video, VR panoramas and environment maps, because almost every camera, stitching tool, encoder and headset player understands it.
The format is simple to produce and to edit, but it spends pixels unevenly: the poles are heavily oversampled while the horizon receives the intended density. Understanding that trade-off explains why streaming platforms often convert equirectangular masters into cube maps or other layouts before delivery.
How equirectangular projection maps a sphere to a rectangle
Equirectangular projection assigns every viewing direction a pixel position by linear scaling of yaw and pitch. A yaw of minus 180 to plus 180 degrees spans the image width, and a pitch of minus 90 to plus 90 degrees spans the height, so each pixel covers the same angular step in both directions. Cartographers call the same idea the plate carrée, a projection of the globe onto a grid of equal-sized latitude and longitude cells.
Because the angular step is equal everywhere, a horizontal row near the top or bottom still contains the full image width, although it represents a much smaller circle on the sphere. The horizontal stretch factor equals 1 divided by the cosine of latitude, so a row at 60 degrees is stretched twice and a row at 80 degrees almost six times. At the exact poles, an entire row collapses into a single point of the sphere.
The table below shows how much the projection stretches content at different latitudes.
| Latitude | Stretch factor | Visual effect in the flat frame |
|---|---|---|
| 0 degrees (horizon) | 1.0x | Shapes appear undistorted |
| 30 degrees | About 1.15x | Barely noticeable widening |
| 60 degrees | 2.0x | Clearly wide objects and text |
| 80 degrees | About 5.8x | Strong smearing of detail |
| 90 degrees (pole) | Infinite | One point spread across the full row |
A headset player reverses the mapping. It wraps the frame onto the inside of a sphere or uses a fragment shader to convert each screen pixel direction back to longitude and latitude, so the viewer sees an undistorted scene in every direction.
Resolution, aspect ratio and pixel density
The useful sharpness of an equirectangular frame is measured in pixels per degree at the horizon, not in total pixel count. A frame 3840 pixels wide divides 360 degrees into about 10.7 pixels per degree, while modern headset displays resolve roughly 20 to 35 pixels per degree. That gap explains why 4K 360-degree video often looks soft inside a headset even though the same pixel count looks sharp on a flat television.
Common monoscopic and stereoscopic frame sizes compare as follows.
| Frame size | Layout | Horizontal pixels per degree | Typical use |
|---|---|---|---|
| 3840 x 1920 | Monoscopic 2:1 | About 10.7 | Web players and social platforms |
| 5760 x 2880 | Monoscopic 2:1 | 16 | Higher-quality headset playback |
| 7680 x 3840 | Monoscopic 2:1 | About 21.3 | Premium 8K 360-degree video |
| 3840 x 3840 | Stereoscopic top-bottom | About 10.7 per eye | Entry-level 3D 360-degree video |
| 8192 x 8192 | Stereoscopic top-bottom | About 22.8 per eye | High-end cinematic VR masters |
Stereoscopic content usually stacks two equirectangular images for the left and right eye in a top-bottom layout, which keeps the full horizontal resolution per eye. Side-by-side packing is less common for full spheres because it halves the horizontal density. Metadata such as the Spherical Video V2 specification signals the projection and stereo mode so that players render the file correctly.
Equirectangular projection compared with cube maps and other layouts
Equirectangular projection is the most compatible format, but not the most efficient one for storage or streaming. Alternative layouts redistribute pixels more evenly across the sphere, which lowers the bitrate needed for the same perceived quality.
| Layout | Pixel distribution | Main advantage | Main drawback |
|---|---|---|---|
| Equirectangular | Oversampled poles | Universal tool and player support | Wastes roughly 30 percent of pixels |
| Cube map | Near uniform | Efficient, native to game engines | Visible seams if faces are encoded poorly |
| Equi-angular cube map | More uniform than cube map | Better quality per bit for streaming | Limited support in editing software |
| Fisheye pair | Raw lens circles | No resampling before stitching | Must be stitched before viewing |
| VR180 half sphere | Front hemisphere only | Double density on the visible field | No content behind the viewer |
In practice, creators edit and master in equirectangular because color grading, titles and compositing tools expect it, then let the platform transcode to a cube-based layout for delivery. Game engines such as Unity and Unreal Engine accept equirectangular images as HDRI environment maps for sky lighting and reflections.
Producing and editing equirectangular content
Most 360-degree cameras record two or more fisheye images, and video stitching software aligns them, blends the overlap zones and outputs an equirectangular frame. Stitch lines usually fall at the sides of the camera, so the operator turns the lens axis toward the main subject to keep critical action away from seams.
Editing requires spherical awareness. A standard blur, sharpen or text layer applied directly to the flat frame will look distorted near the poles and may break at the left and right edge, which must wrap seamlessly. Professional editing suites therefore offer 360-degree effects that operate on the sphere and then reproject the result.
- Place titles and graphics near the horizon band, where distortion is smallest.
- Use a nadir patch or logo to hide the tripod at the bottom pole.
- Check the wraparound seam at the left and right edges after every effect.
- Preview in a headset, because a flat monitor hides scale and comfort problems.
- Embed correct projection metadata before upload, or players will show a flat stretched image.
Limitations and common mistakes
The main limitation of equirectangular projection is inefficient pixel use: a large share of the frame stores sky and floor detail that viewers rarely look at, while the horizon receives only its nominal density. Video codecs also suffer because the stretched polar regions produce motion vectors that do not match real movement, which wastes bitrate.
The following problems appear most often in real projects.
| Symptom | Likely cause | Fix |
|---|---|---|
| Video plays as a flat stretched rectangle | Missing spherical metadata | Inject projection metadata before upload |
| Visible vertical line behind the viewer | Effect did not wrap at frame edges | Use 360-aware filters or edge padding |
| Pinched or swirling sky | Pole oversampling with heavy compression | Raise bitrate or deliver as a cube map |
| Horizon tilts as the viewer turns | Camera not leveled before stitching | Apply horizon leveling in the stitcher |
| Soft image in the headset | Too few pixels per degree | Capture and master at 5.7K or higher |
A frequent misconception is that equirectangular projection adds parallax or depth. It does not: a monoscopic frame offers three degrees of freedom, rotation only, and moving the head forward does not change the view. Depth requires stereoscopic pairs, while free movement requires volumetric video or 6DoF video.
Understanding it simply
Think of a world map on a classroom wall. The whole round Earth fits on one flat rectangle, but Greenland looks enormous because the top and bottom of the map are stretched. Equirectangular projection does the same for a 360-degree photo or video: it unrolls everything you could see around you into one wide picture that is twice as wide as it is tall.
On a computer screen, that picture looks oddly bent, especially at the top and bottom. When you put on a headset, the player wraps it back into a sphere around you, and the scene looks normal again in every direction you turn.
Applied in practice
A small production team films a 360-degree tour of a botanical garden greenhouse for visitors who cannot travel. They use a dual-lens camera recording at 5.7K, stitch the footage into 5760 by 2880 equirectangular frames, and point one lens toward the main path so the stitch lines fall on plain glass walls rather than on plants.
During editing, they place the location captions just below the horizon line, cover the tripod at the bottom pole with a round logo patch, and inject spherical metadata before export. The master file is uploaded to a video platform that converts it automatically to a cube-based layout for streaming. Viewers on headsets see sharp foliage at eye level, and the stretched glass roof, which looked distorted on the editing monitor, appears smooth and natural inside the headset.