Find the pixels you need for a given print size.
Print size = pixels ÷ DPI.
Pixels needed = print size × DPI. We multiply your print dimensions by the target DPI to find the exact pixel dimensions and megapixels required for a sharp print.
Multiply each print dimension (inches) by your target DPI. 20×30 in at 300 DPI needs 6000×9000 px.
About 28.8 MP at 300 DPI (4800×6000).
Software upscaling helps a little, but it can’t add true detail.
150 DPI is often fine for posters viewed from a distance.
Phone images may lack the pixels for big prints at 300 DPI.