DIY Cost Tools
Print Size and DPI Calculator
Convert image pixel dimensions and a chosen print density into physical print dimensions and megapixels.
How to use this calculator
- Replace the example values with your own measurements, schedule, prices, or media settings.
- Keep each value in the unit printed beside its field.
- Select Calculate and review every result together with the assumptions below.
Formula and method
Print inches = pixels ÷ pixels per inch. Centimeters = inches × 2.54. Megapixels = width pixels × height pixels ÷ 1,000,000.
Calculations run in your browser. Results are hidden whenever an input changes or validation fails, preventing an old answer from being mistaken for the current calculation.
Worked example
Pixel width = 6000 px; Pixel height = 4000 px; Print density = 300 ppi. The calculator returns Print width = 20 in; Print height = 13.33333333 in; Print width = 50.8 cm; Print height = 33.86666667 cm; Image resolution = 24 MP.
The worked example uses the same default values shown in the interface, so the displayed result and explanation can be checked directly.
Limitations
PPI describes pixel density; printer DPI describes ink-dot placement and is not always numerically equivalent. Viewing distance, sharpening, resampling and printer behavior affect perceived quality.
Use the result as a planning estimate. Confirm prices, policies, equipment ratings, units and professional requirements that apply to your situation.
Frequently asked questions
Does changing metadata change the pixels?
No. Assigning a PPI value changes the intended print scale unless the image is actually resampled.
Why does the calculator reject my entry?
Each field shows its supported range. Whole-number fields reject decimals, and all fields reject blanks, words, comma-formatted numbers, fractions and non-finite values.
How should I round the result?
Keep extra digits while planning, then round to the precision supported by your inputs, package sizes, billing rules or equipment settings.
Review notes and reference
Reviewed October 4, 2026. The formula was checked against the displayed worked example. The script was tested for defaults, field boundaries, invalid formats, condition-specific errors and recovery after an error. Reference: NIST guidance on bits, bytes, and binary prefixes. Explanations and examples are original.
Related calculators
Video calculators · Aspect Ratio Calculator · Screen Size Calculator · Search all calculators