Aspect Ratio, Image Dimensions & Storage Converter

Compute GCD aspect ratios, responsive image dimensions, megapixels, and decimal (GB) vs. binary (GiB) storage capacities.

Simplified Aspect Ratio & Responsive Size
16:9 (1.778:1)
Scaled to 1280px width → 720px height • 2.07 MP
Scaled Dimensions 1280 × 720 px
Resolution (Megapixels) 2.07 MP
256 GB (Decimal) in GiB 238.42 GiB
MB (10⁶) vs. MiB (2²⁰) 256,000 MB / 244,141 MiB
Inputs
px
Source image, video, or viewport width in pixels.
px
Source image, video, or viewport height in pixels.
px
Enter desired width to compute exact proportional height.
GB (10⁹ B)
Advertised drive/cloud size in decimal Gigabytes (GB) to convert to binary GiB.
Results & Graph
Simplified Aspect Ratio & Responsive Size
16:9 (1.778:1)
Scaled to 1280px width → 720px height • 2.07 MP
Scaled Dimensions
1280 × 720 px
Resolution (Megapixels)
2.07 MP
Raw 24-bit RGB: 6.22 MB
256 GB (Decimal) in GiB
238.42 GiB
OS binary reporting (2³⁰ bytes)
MB (10⁶) vs. MiB (2²⁰)
256,000 MB / 244,141 MiB

Decimal (SI 1000³) vs. Binary (IEC 1024³) Storage Capacity

Why a 256 GB drive displays ~238.42 GiB in binary operating systems
Graph 1 • Measured Values • Decimal (SI 1000³) vs. Binary (IEC 1024³) Storage Capacity Why a 256 GB drive displays ~238.42 GiB in binary operating systems
Decimal Gigabytes (GB, 10⁹): 256Binary Gibibytes (GiB, 2³⁰): 238.4 Decimal Gigabytes (GB, 10⁹) 256 Binary Gibibytes (GiB, 2³⁰) 238.4
Graph 2 • Calculated Values Compared Values retain their calculator-defined labels and units.
Decimal Gigabytes (GB, 10⁹) 256 Binary Gibibytes (GiB, 2³⁰) 238.4
Graph 3 • Image Frame Proportion & Scaled Dimensions The rectangle follows the entered aspect ratio; scaled height preserves that ratio.
1920 × 1080px Ratio 1920:1080 → 16:9 (1.778:1) At 1280px wide: 1280 × 720px Storage input: 256 GB
Summary: 1920x1080 has aspect ratio 16:9, and 256 GB equals 238.42 GiB.
Summary: A 1920 × 1080 px frame simplifies by greatest common divisor (120) to a 16:9 aspect ratio (2.07 megapixels). Resizing proportionally to a 1280px width produces 1280 × 720 px. For storage, a 256 GB decimal drive (256,000,000,000 bytes) reports as 238.42 GiB in binary operating systems.
Interactive chart & math engine powered by CalculatorGraph

Formula & Mathematical Methodology: Euclidean GCD Aspect Reduction & IEC Binary Storage Conversion

Ratio = Wgcd(W, H) : Hgcd(W, H),   GiB = GB × 109230
Ratio = (W / gcd(W, H)) : (H / gcd(W, H)); H_target = W_target × (H / W); GiB = GB × 10⁹ / 2³⁰
  • gcd(W, H): Greatest common divisor of integer pixel width and height
  • 1 GB vs 1 GiB: 1 GB = 1,000,000,000 bytes (10⁹); 1 GiB = 1,073,741,824 bytes (2³⁰)

Rounding: Aspect ratios are reduced by exact integer Greatest Common Divisor (GCD); binary storage rounds to 2 decimal places.

Worked Example: 1920 × 1080 Resolution Resized to 1280px Width & 256 GB SSD Conversion

Reduce 1920×1080 to its simplest ratio, scale to 1280px width, and convert a 256 GB SSD to binary GiB.

  1. gcd(1920, 1080) = 120 → 1920/120 : 1080/120 = 16:9.
  2. Target height = 1280 × (1080 ÷ 1920) = 720 px (2.07 MP original).
  3. 256 × 10⁹ bytes ÷ 2³⁰ = 238.42 GiB.
Result: 16:9 aspect ratio, 1280×720 scaled size, and 256 GB = 238.42 GiB.

Frequently Asked Questions

Why does a 1 TB (1,000 GB) drive show as 931 GB in Windows?

Storage manufacturers label drives using SI decimal prefixes (1 TB = 10¹² bytes), while Windows reports capacity using binary powers of 1,024 (1 TiB = 2⁴⁰ bytes). Dividing 10¹² by 2⁴⁰ yields 931.32 GiB.

Developer Tools · Media Dimensions & Digital Storage

Aspect Ratio, Image Dimensions & Storage Converter: inputs, method, and how to read the result

Compute GCD aspect ratios, responsive image dimensions, megapixels, and decimal (GB) vs. binary (GiB) storage capacities.

Choose inputs for the case you are checking

The defaults are illustrative. Replace them with values for your case and keep the units shown beside each field.

  • Original Width (Pixels): Source image, video, or viewport width in pixels.
  • Original Height (Pixels): Source image, video, or viewport height in pixels.
  • Target Width for Proportional Resize: Enter desired width to compute exact proportional height.
  • Decimal Storage Capacity (GB): Advertised drive/cloud size in decimal Gigabytes (GB) to convert to binary GiB.

What the calculation includes

With the default values shown, Simplified Aspect Ratio & Responsive Size is 16:9 (1.778:1). The calculation follows Euclidean GCD Aspect Reduction & IEC Binary Storage Conversion; the formula and variable definitions above show how the inputs combine.

One-input check: With the other defaults held constant, changing Original Width (Pixels) from 1,920 px to 2,112 px changes Simplified Aspect Ratio & Responsive Size from 16:9 (1.778:1) to 88:45 (1.956:1). This is a comparison inside the calculator's stated model, not a prediction.

Where to use caution

  • Raw uncompressed image buffer size assumes 24-bit RGB (3 bytes per pixel).
  • Compressed JPEG, WebP, or AVIF file sizes depend on image entropy and quantization quality settings.

Scope: Global (IEC 80000-13 & SI Standards) Check the assumptions and limitations against your situation before relying on the estimate.

More in Developer Tools: Unit Conversion Calculator, API Token Cost Calculator, Geometry Calculator (Right Triangle, Circle & Cylinder).