Photography Math: Exposure, Depth of Field and Crop Factor
The numbers that sharpen your photography — the exposure triangle, exposure value, depth of field and hyperfocal distance, crop factor, flash guide numbers and print size.
Verified formula Updated Jun 2026 Private — runs on your device
Megapixels
24.00
For general information only — not financial, tax, legal or medical advice. Verify before you rely on it.
The Megapixel Calculator works out your megapixels, along with 1 related figure in an instant. Enter width in pixels and height in pixels and the result updates as you type — it is free, needs no sign-up, and runs entirely in your browser so your figures stay private.
The Megapixel Calculator uses the formula:
Megapixels = Width in pixels × Height in pixels ÷ 1000000
For example, with width in pixels of 6,000 and height in pixels of 4,000, the megapixels is 24.00.
| Width in pixels | 6,000 |
|---|---|
| Height in pixels | 4,000 |
| Megapixels | 24.00 |
|---|---|
| Total pixels | 24,000,000 |
Results are estimates for educational use, not professional advice.
The numbers that sharpen your photography — the exposure triangle, exposure value, depth of field and hyperfocal distance, crop factor, flash guide numbers and print size.
Reference table of megapixels for Megapixel across a range of width in pixels values — exact, engine-computed figures you can read off at a glance.
Learn how to calculate Megapixel — the formula explained step by step, with worked examples and a free calculator to check your answer.
Reference table of photos that fit for Memory Card Photo Count across a range of card capacity values — exact, engine-computed figures you can read off at a glance.