Home / Image / Resolution & Megapixel Calculator
Resolution & Megapixel Calculator
Get megapixels, exact and common aspect ratio, pixel density (PPI) and print size from a width and height in pixels.
Free, no uploads, no sign-up. Runs 100% in your browser.
How Resolution & Megapixel Calculator works
Everything runs in your browser. Nothing is uploaded, and no account is needed. Megapixels are width times height in millions. PPI is the diagonal in pixels divided by the diagonal in inches. Print size is pixels divided by the print DPI.
Output: Text.
How to use Resolution & Megapixel Calculator
- Enter the width and height, or pick a preset.
- Add the screen diagonal for PPI.
- Add a DPI to see the print size.
- Copy the results.
Tips
- Most image tools accept many files at once.
- WebP and AVIF give much smaller files than JPG at the same visual quality.
- Set a default image quality in Settings. Tools that do not choose their own quality use it.
Resolution & Megapixel Calculator FAQ
- How big can I print a 12 MP photo?
- A 4000 × 3000 photo prints at about 13.3 × 10 inches at 300 DPI, which is photo quality. At 150 DPI it can go twice as large for posters seen from a distance.
- Are my files uploaded?
- No. This tool runs entirely in your browser tab. Files are read from your disk into memory and the result is generated locally.
- Is it free? Are there limits or watermarks?
- Free. There are no file-size caps, daily quotas, accounts or watermarks.
- Does it work offline?
- Yes, once the page (and any engine it needs) has loaded, it keeps working without a connection thanks to the service worker cache.
Related tools
- Aspect Ratio Calculator: Keep an aspect ratio while resizing: enter a ratio and a width or height to get the other side, plus common scaled sizes.
- Image Resizer: Resize to exact pixels, percentages or social presets.
- Unit Converter: Length, weight, temperature, data, speed and more.
- Image Compressor: Shrink images in bulk with quality and width controls and live savings.