A4 paper does not have a single fixed pixel size. Physically, an ISO 216 A4 sheet measures 210 × 297 mm (21.0 × 29.7 cm, or roughly 8.27 × 11.69 inches) with a 1:√2 aspect ratio. Because a pixel is a unit of digital sampling rather than a fixed ruler measurement, the pixel dimensions of an A4 canvas depend entirely on resolution—measured in DPI (dots per inch) or PPI (pixels per inch).
At 300 DPI (the standard for crisp physical printing), A4 is 2480 × 3508 px. In standard web layout where CSS defines one reference pixel as 1/96 of an inch (96 DPI), A4 corresponds to 794 × 1123 px.
How Pixels Map to A4
Converting physical paper dimensions into raster pixel dimensions uses one straightforward formula:
$$text{Pixels} = frac{text{Millimeters}}{25.4} times text{DPI}$$
Because 1 inch equals 25.4 mm, 210 mm is approximately 8.2677 inches and 297 mm is approximately 11.6929 inches. Multiply those lengths by your target resolution and round to the nearest whole pixel:
- At 300 DPI: 8.2677 × 300 = 2480.31 → 2480 px wide; 11.6929 × 300 = 3507.87 → 3508 px tall.
- At 96 DPI: 8.2677 × 96 = 793.70 → 794 px wide; 11.6929 × 96 = 1122.52 → 1123 px tall.
Swapping width and height gives portrait versus landscape dimensions. Note that changing the DPI tag in an image editor without resampling does not add real image detail—it only changes how tightly existing pixels pack onto the physical page.
A4 Pixel Dimensions by Resolution
| Resolution | Portrait (px) | Landscape (px) | Typical Use Case |
|---|---|---|---|
| 72 DPI | 595 × 842 | 842 × 595 | Legacy screen previews, lightweight digital drafts |
| 96 DPI | 794 × 1123 | 1123 × 794 | CSS reference pixel sizing, on-screen mockups |
| 150 DPI | 1240 × 1754 | 1754 × 1240 | Draft prints, classroom handouts, wall posters viewed at a distance |
| 300 DPI | 2480 × 3508 | 3508 × 2480 | Standard commercial and office printing, photos, sharp text |
| 600 DPI | 4961 × 7016 | 7016 × 4961 | Fine line art, intricate typography, high-detail scans |
Practical Pitfalls in Print, Web, and Design
Print vs. Screen Mismatches
Exporting an A4 layout at 794 × 1123 px and sending it straight to a print shop forces each pixel to stretch across roughly 0.26 mm of paper, producing soft edges and blockiness. Conversely, building a full-bleed 300 DPI A4 raster canvas (8.7 megapixels) for a lightweight web page creates unnecessarily heavy files.
Bleed and Printer Margins
The pixel counts above describe the full untrimmed sheet. Most desktop printers cannot print all the way to the edge without white borders, and commercial prints that run ink off the edge usually require extra bleed (for example, 3 mm on each side, which at 300 DPI adds about 71 px to both width and height) plus a safe zone for text.
CSS Units and A4 vs. US Letter
In web stylesheets, high-DPI displays scale crisp device pixels behind the scenes while keeping CSS reference pixels anchored at 96 per inch. For print stylesheets (@media print), declaring @page { size: A4; } or using physical CSS units (mm or cm) is often cleaner than hardcoding pixel widths. Also watch out for US Letter (215.9 × 279.4 mm, or 8.5 × 11 inches): A4 is narrower and taller, so switching between the two shifts line breaks and margins.
Raster vs. Vector Workflows
When a layout relies on crisp logos, sharp icons, or scalable typography, vector formats (such as PDF, SVG, or native vector artboards) preserve clean edges at any output scale. Raster pixel dimensions matter most when working with photographs, digital painting, or baked bitmap exports.
Leave a Reply