Two ways to use resolution planning
The first workflow starts with pixel dimensions and DPI, then calculates the physical print size. The second starts with a target print width and height plus DPI, then calculates the required pixel dimensions and resulting megapixel count. Both workflows describe the same underlying relationship from opposite directions.
That is why this helper is more practical than a one-way converter. In real projects you often move back and forth between an image you already have and a print target you are trying to hit.
print size (inches) = pixels / DPI
Used when you already know the image resolution.
required pixels = target inches × DPI
Used when you know the physical output size first.
megapixels = width pixels × height pixels / 1,000,000
Expresses the total image resolution as an easier planning figure.