How to use this tool
- Enter width, height, bits per pixel.
- Select Calculate to view the result.
- Check the method and assumptions below before using the result.
Input reference and sample values
Use the units and choices shown for each field. Sample values are provided for practice, not as recommendations.
| Input | Format and units | Sample |
|---|---|---|
| Width | Whole numbers only. Minimum: 1. Maximum: 100000. | 6000 |
| Height | Whole numbers only. Minimum: 1. Maximum: 100000. | 4000 |
| Bits per pixel | Whole numbers only. Minimum: 1. Maximum: 128. | 24 |
Result for these sample inputs
68.6645508 MiB
Select Try the example in the form to load these values and calculate them again. This replaces the current form inputs. Compare the result with the method and worked explanation below.
The method, explained
Bytes = ceil(width × height × bits per pixel/8). MiB = bytes/1,048,576.
Using width = 6000, height = 4000, bits per pixel = 24, the result is 68.6645508 MiB. Change these example inputs to match your task; use the method above to check each step.
What to keep in mind
Excludes row padding, metadata, file headers and compression. An ideal geometric or exposure estimate. Lens behavior, stabilization, sensor crop and scene conditions may change practical results.
Methodology maintained by ClarityKit. How these tools are built and checked.