Toolyard

PPI vs DPI

The short version

PPI is pixels per inch: how densely the pixels of an image or a screen are packed. DPI is dots per inch: how many ink dots a printer lays down. The two get used interchangeably, and for most practical purposes the number you are asked for is PPI, even when the box says DPI.

Pixel density of a screen

A display's PPI comes from its resolution and its diagonal:

PPI = √(width² + height²) ÷ diagonal in inches

A 1920 × 1080 panel on a 24 in monitor is √(1920² + 1080²) = 2,202.9 pixels across the diagonal, ÷ 24 = 91.8 PPI. The same resolution on a 15.6 in laptop is 141 PPI, which is why text looks crisper on the laptop. Phones sit in the 400 to 500 PPI range, far beyond what the eye resolves at arm's length.

PPI of an image file

An image file is just a grid of pixels; it has no physical size until you give it one. The PPI is a tag that says how big to print it:

print size = pixels ÷ PPI

A 3000 × 2000 photo at 300 PPI prints 10 × 6.7 in. The same file at 150 PPI prints 20 × 13.3 in, with no change to the file at all. Changing the PPI tag alone never adds detail.

What resolution do I need to print?

  • 300 PPI: photo prints and anything held in the hand. The usual target.
  • 150 to 200 PPI: posters and signs seen from a metre or more.
  • 100 PPI or less: billboards and banners, viewed from far enough that it does not show.

Working backwards, a 4 × 6 in print at 300 PPI needs 1200 × 1800 pixels, which almost any phone beats. An A2 poster at 200 PPI needs about 3,300 × 4,700.

Where DPI really means dots

An inkjet quoting 1200 or 4800 DPI is describing ink droplets, and it needs several of them to mix one pixel's colour. That is why a 1200 DPI printer is still happy with a 300 PPI image. Scanners are the other place the number is literal: scanning at 600 DPI genuinely samples 600 points per inch of the original, and that is the figure to raise when you want to enlarge a small photo or a negative.

Why screen PPI does not change web images

A web image is measured in CSS pixels, not inches, so its PPI tag is ignored. What matters on a high density screen is supplying enough actual pixels, usually two or three times the layout size, which is what the 2x and 3x versions of an asset are for.

Tools

The PPI Calculator gives the density, dot pitch and aspect ratio of a screen from its resolution and size. Resize Image changes the pixel dimensions, Crop Image trims a photo to the shape a print needs, and the Aspect Ratio Calculator keeps the shape right.

Tools in this guide

More guides

How to Open HEIC Files on WindowsHow to Reduce PDF File SizeHow to Remove Location Data from PhotosHow to Extract Audio from a VideoHow to Make a Wi-Fi QR CodeHow to Sign a PDFHow to Verify a File Checksum (SHA-256)PNG vs JPG vs WebP: Which Image Format to UseHow to Merge PDF FilesHow to Copy Text from an ImageHow to Convert JPG to PDFHow to Convert a PDF to JPGHow to Split a PDF or Extract PagesHow to Rotate a PDF PermanentlyHow to Add Page Numbers to a PDFHow to Watermark a PDFHow to Convert HEIC to JPG on a MacHow to Convert WebP to JPGHow to Reduce Image File SizeHow to Convert a Video to GIFHow to Convert WAV to MP3How to Create a Strong PasswordHow to Convert Celsius to FahrenheitGB vs GiB: Why Your Drive Shows Less SpaceHow to Calculate PercentagesHow to Calculate the Number of Days Between Two DatesWhat Is a Unix Timestamp?How to Compare Two Text FilesHow to Count Words in a DocumentHow to Scan a QR Code from a Screenshot or ImageWhat Is a Hash? MD5, SHA-1 and SHA-256 ExplainedHow to Compress a Photo to 20 KB (or Any Size)How to Remove the Background From a PhotoHow to Test Your MicrophoneHow to Check a Screen for Dead PixelsHow to Record Your ScreenHow to Make a Ringtone for iPhoneHow to Compress a Video to Send ItHow to Remove a Password From a PDFHow to Password Protect a PDFHow to Fill In a PDF FormHow to Convert a PDF to WordHow to Blur a Face in a PhotoHow to Calculate Your BMIHow to Calculate a Mortgage PaymentHow to Schedule a Meeting Across Time ZonesWhat Is a Cron Expression?How to Reverse Complement a DNA SequenceHow to Translate DNA to ProteinHow to Convert GenBank to FASTAHow to Find Restriction Sites in a DNA SequenceHow to Align Two DNA or Protein SequencesHow to Design and Check PCR PrimersHow to Calculate Molar MassHow to Balance a Chemical EquationHow to Make a Solution of a Given MolarityHow to Calculate a Dilution (C1V1 = C2V2)How to Calculate pHHow to Calculate DNA Concentration From A260How to Calculate Insert Amount for a LigationHow to Convert RPM to g (RCF)How to Count Cells With a HemocytometerHow to Use a Punnett SquareHow to Make a Budget With the 50/30/20 RuleDebt Snowball vs Debt AvalancheHow Much Do I Need to Retire?How to Convert Salary to Hourly PayProfit Margin vs MarkupHow to Calculate VAT and Sales TaxHow to Make an InvoiceHow Much House Can I Afford?How to Read Resistor Color CodesHow to Choose a Resistor for an LEDHow to Calculate Voltage Drop in a CableHow Much Concrete Do I Need?How Much Paint Do I Need?How to Calculate a SubnetSignificant Figures RulesHow Loan Amortization WorksROI vs CAGR: How to Measure an Investment's ReturnHow Inflation Shrinks Your SavingsHow to Calculate Your GPAHow to Calculate a TipMinesweeper Strategy: Patterns and TipsSudoku Strategies for BeginnersHow to Win at 2048Solitaire Strategy: How to Win More GamesHow to Type FasterRegex Basics: A Beginner's Guide With ExamplesHEX vs RGB vs HSL ColorsWhat Is Base64 (and URL Encoding)?How to Calculate Half-LifeThe Ideal Gas Law ExplainedHow a Voltage Divider Works555 Timer CalculationsHow to Calculate Roof PitchHow to Calculate Board FeetDNA and Protein Sequence Statistics ExplainedHow to Do a Serial DilutionHow to Calculate qPCR Fold Change With ΔΔCtHow to Calculate Primer Tm and Annealing TemperatureHow to Measure Protein Concentration at A280How to Resuspend Primers and OligosHow to Calculate MOI for Viral InfectionHow to Find the Limiting ReagentHow to Find an Empirical FormulaMolarity vs Molality vs NormalityHow to Count the Words in a PDFHow to Calculate Aspect RatioHow to Use Ohm's LawHow to Calculate TorqueAWG vs mm²: Wire Sizes ExplainedMetric vs Imperial Screw ThreadsShould I Rent or Buy a Home?How to Set a Freelance Hourly RateHow to Make a Standard CurveHow to Calculate an IC50How to Make a PCR Master MixHow to Make an Agarose GelHow to Make an SDS-PAGE GelHow to Make a Stock SolutionHow to Calculate Cable SizeHow to Calculate Cutting Speed and RPMHow to Calculate Roof AreaHow to Split Tips FairlyWAV vs MP3: Bitrate and File SizeHow to Compare Two PDFsStandard Deviation vs Standard ErrorHow to Convert kW to AmpsHow to Plan Stairs