When to use these utilities
- Print & wall-art: size files in inches or centimeters, then convert to exact pixels at 300–350 DPI.
- UI/UX & web: document assets in both px and physical size for cross-device consistency.
- Home theater: use the FOV helper to sanity-check seating vs screen width.
Conversion formulas
| Conversion | Formula | Example |
|---|---|---|
| Pixels → Inches | in = px ÷ DPI | 3000 ÷ 300 = 10 in |
| Inches → Pixels | px = in × DPI | 8 × 300 = 2400 px |
| Inches → CM | cm = in × 2.54 | 10 in × 2.54 = 25.4 cm |
| CM → Inches | in = cm ÷ 2.54 | 25.4 ÷ 2.54 = 10 in |
Pro tips
- Keep aspect ratio consistent when exporting assets across multiple sizes.
- Label deliverables with both inches and pixels (e.g., 8x10in_2400x3000px).
- Round pixels to whole numbers for print templates to avoid off-by-one artifacts.