Skip to content

How-to guide

How to Calculate Image Size from Dimensions: Formula, Steps & Examples

Learn how to calculate Image Size from Dimensions — the formula explained step by step, with worked examples and a free calculator to check your answer.

By Vikram Iyer, M.Sc Mathematics · Updated Jun 2026 · 2 min read

Calculating your uncompressed size is straightforward once you know the Image Size from Dimensions formula and what each input means. This guide explains the method in plain language, walks through a manual calculation, and gives worked examples you can follow — then you can do it instantly with the Image Size from Dimensions Calculator.

What is Image Size from Dimensions?

The Image Size from Dimensions calculation tells you your uncompressed size from a few simple inputs. The figure you are solving for here is the uncompressed size.

The Image Size from Dimensions formula

The core formula is:

Uncompressed size = Width × Height × Bits per pixel ÷ 8 ÷ 1048576

Here is what each input means:

  • Width — a value measured in px. Example: 1,920 px.
  • Height — a value measured in px. Example: 1,080 px.
  • Bits per pixel — a number. Example: 24.

How to calculate it step by step

  • Write down the width (for example, 1,920 px).
  • Write down the height (for example, 1,080 px).
  • Write down the bits per pixel (for example, 24).
  • Apply the formula above to get your uncompressed size.
  • Double-check the result with the Image Size from Dimensions Calculator.

Worked examples

Example 1

Input / OutputValue
Width1,920 px
Height1,080 px
Bits per pixel24
Uncompressed size5.93
In bytes6,220,800

With width of 1,920 px, height of 1,080 px and bits per pixel of 24, the uncompressed size works out to 5.93.

Example 2

With width of 3,800 px, height of 1,080 px and bits per pixel of 24, the uncompressed size works out to 11.74.

ResultValue
Uncompressed size11.74
In bytes12,312,000

Example 3

With width of 960 px, height of 1,080 px and bits per pixel of 24, the uncompressed size works out to 2.97.

ResultValue
Uncompressed size2.97
In bytes3,110,400

Tips for an accurate result

  • Keep your units consistent — mixing, say, months with years or grams with kilograms is the most common source of error.
  • Round only at the very end. Rounding inputs early can shift the final answer noticeably.
  • Re-run the numbers whenever an input changes, rather than estimating from an old result.

Prefer not to do the maths by hand? — the Image Size from Dimensions Calculator does it instantly, for free, with the formula and a worked example built in.

Continue exploring utility calculators with these tools: Bleach Dilution Calculator, Pool Chlorine Calculator, Age Calculator, Percentage Calculator, Date Difference Calculator.

Calculators in this guide

Frequently asked questions

The formula is: Uncompressed size = Width × Height × Bits per pixel ÷ 8 ÷ 1048576. With width of 1,920 px, height of 1,080 px and bits per pixel of 24, the uncompressed size works out to 5.93.

Gather each input, apply the formula step by step keeping your units consistent, and round only at the end. You can verify your answer instantly with the Image Size from Dimensions Calculator.

It uses the standard formula with exact arithmetic, so the result is correct for the inputs you enter. Bear in mind that real-world outcomes can still differ when underlying assumptions change.

Vikram Iyer · M.Sc Mathematics

Vikram Iyer is a mathematics educator with over fifteen years of teaching experience, specialising in making quantitative concepts clear and practical for everyday use.