I am a web developer but I am noob in designing. I have an html page of size 640 pixel * 800 pixel. I have converted this html page to pdf using wkhtmltopdf. But my boss is saying that we need to print this in 300 DPI. So make it so that it looks good. I am not understanding how to treat pixel with dots?


ppi is how many pixels are squeezed into a real-world inch (pixels per inch). If you want to print something 6x8 inches at 300ppi, it needs to be 1800 x 2400 pixels (6 x 300 and 8 x 300).

Typically for screen we use 72 or 96 ppi, but it is irrelevant as screen will display 1 image pixel per screen pixel.

For print, you can make the print quality sharper by increasing the number of pixels in each inch, so 400ppi is sharper than 100ppi for example. In other words, it is about how big an area you want to disperse those pixels. 300ppi is industry standard for printed materials.

A 1800x2400px image is the same size regardless of whether it is set at 72ppi or 300ppi. The ppi just tells you how to display those same number of pixels (which only really matters for print, as onscreen, density is dictated by your monitor).

  • Is PPI and DPI are same?
    – user960567
    Jul 10 '13 at 6:55
  • No. See the link I posted in the question comments for a more detailed explanation of the differences
    – John
    Jul 10 '13 at 10:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.