How to Convert a JPG to PDF: Page Size, DPI, and Margins
TL;DR: Turning a JPG into a PDF is not a format swap — it is a page layout decision. One photo becomes a page with a size, an orientation, margins, and a resolution that determines how large it can be printed. Get those four right and the result looks intentional. Get them wrong and you get a PDF of a photo floating on white space, or a 40 MB file that is only 72 DPI.
Why JPG to PDF is a layout decision
A JPG has no page. It has pixels and an aspect ratio, and that is all. A PDF has a physical page size measured in points (72 per inch), and the image has to be placed somewhere on that page at some scale.
The conversion tool makes four decisions on your behalf, whether or not you specify them: page size, page orientation, image scale, and compression level. Most tools pick defaults that are acceptable for a quick share and wrong for anything printed or submitted to an institution. Knowing the four decisions lets you override them.
Pick a page size before anything else
Two page sizes cover almost every real need, and picking the wrong one is visible immediately in print.
- A4 — 210 × 297 mm, the standard for most of the world outside North America. Letter and A4 differ by about 6 mm in width, which is enough to clip a margin.
- US Letter — 8.5 × 11 inches, the standard for the United States, Canada, and a handful of other regions.
If the document is going to an institution — a visa office, a university, a law firm, a tax authority — check their stated requirement rather than assuming. A four-page application that arrives on A4 when Letter was specified is a plausible reason for rejection at a counter, and the applicant never learns why.
A third option is to size the page to the image, so the PDF fills edge to edge with no white border. This is correct for photo portfolios and screenshots, and wrong for anything meant to read as a document.
Where DPI hides in a JPG
JPG files carry an optional metadata field stating the intended resolution, most commonly 72 DPI, which is the web default. That number does not change how the image looks on screen, but it changes how large the image is assumed to be when placed on a page.
A 3000-pixel-wide photo at 72 DPI is nominally 41 inches wide. Placed on an A4 page and scaled to fit, it prints at roughly 300 DPI — excellent. The same photo on a page sized to the image ends up as a 41-inch page, which is inconvenient to print and rejected by many portals.
The rule that resolves all of this: pixel dimensions determine print quality; the DPI field only determines the default placement size. For a full-page A4 document at 300 DPI you need roughly 2480 × 3508 pixels. Below about 1500 pixels wide, text in a scanned image starts to soften when printed.
Portrait or landscape: reading the photo
A single photo converted to PDF should take the orientation of the photo. A landscape photo forced onto a portrait page either gets letterboxed with large white bands or gets cropped.
Mixed batches are the common failure. Ten photos of a whiteboard, eight portrait and two landscape, converted into one portrait PDF, produce two unreadable pages. Two fixes: rotate the landscape images before conversion so they fit the page, or split the batch by orientation and produce two PDFs.
For photos of documents — receipts, forms, pages of a book — it is worth despending thirty seconds straightening each image first. A PDF of a tilted photograph looks like a photocopy of a photocopy, and the tilt gets worse as it is scaled up.
Margins that keep printers happy
Consumer printers cannot print to the edge of the paper. The unprintable border is typically 3 to 6 mm per side, and anything inside it is silently cut off.
If your PDF has content running to the page edge — because the image was placed full-bleed — a home printer will either crop it or refuse to print borderless. Adding a margin of 10 to 12 mm on all sides absorbs the printer’s limit and gives the page a deliberate frame rather than an accidental one.
The exception is a document destined for a commercial print shop, which can handle bleed. If you are sending to a shop, ask for their margin and bleed specification instead of guessing; it is a two-line email that prevents a reprint.
Multiple JPGs into one PDF: order and page breaks
The single biggest source of frustration in batch conversion is page order. Files sort alphabetically by default, which means IMG_2.jpg comes after IMG_10.jpg — no, it does not; alphabetically it comes before, because 1 sorts before 2. This is why scanned documents come out in the wrong sequence roughly every time.
Rename with zero-padded numbers (page-01, page-02, … page-10) before converting, or use a tool that lets you drag pages into order after import. Then check the output page count against the input file count — a mismatch means a file was skipped or duplicated.
One page per image is right for documents and wrong for photo albums. If you want several photos on one page, that is a layout job, and a PDF converter is the wrong tool for it.
Checking the result before you send it
Three checks catch nearly all problems, and they take under a minute.
- Page count — does it match the number of images you selected?
- Zoom to 300 percent — is the text still sharp, or is it visibly soft? Soft text means the source resolution was too low for the page size.
- File size — a 20 MB PDF of five phone photos is normal; a 20 MB PDF of three text pages means the compression setting is wrong.
If the pages are sharp but the file is too large for an email limit, resample to 200 DPI rather than switching to heavy JPEG compression. Compression introduces visible blocking around text edges, while a modest resolution reduction is nearly invisible at reading size.
When the arrow points the other way
Most of this site is about the reverse direction, and it is worth knowing why. Once a document is a PDF, the pages are locked to a layout, which is exactly what you want for sending and exactly what you do not want when a portal, a chat app, or a slide deck needs an image.
Going JPG to PDF makes a document portable. Going back — a PDF page rendered as a crisp image — makes it visible everywhere. If that is what you need, the PDF to image converter handles the reverse trip with the resolution control this article has been describing from the other side.
The short version
Choose A4 or Letter deliberately, let the photo decide orientation, add 10 mm of margin to survive a printer’s limits, and zero-pad filenames so pages stay in order. Resolution is a function of pixel dimensions, not the DPI field, and 2480 pixels wide is the threshold for a sharp A4 page. Check page count, text sharpness, and file size before sending.

