Resolution lookup
512×768 Aspect Ratio: 2:3 Calculator
Find the 512×768 aspect ratio (2:3), see the reduction steps, and calculate resized dimensions without stretching.
512 × 768 is an exact 2:3 portrait resolution. Dividing both numbers by 256 gives 2:3. It contains 393,216 pixels.
Resize With This Ratio — 2:3
Change either side. The other updates proportionally. Results show whole pixels and the exact value before rounding.
Exact height: 768 px
How the ratio is calculated
512 ÷ 256 = 2; 768 ÷ 256 = 3. Dividing both sides by the same value preserves the proportions and gives 2:3. 256 is the greatest common divisor of these dimensions.
Height = width × 3 ÷ 2. Width = height × 2 ÷ 3. These formulas change size without changing shape. They do not crop or pad the source.
2:3 portrait: scaling and framing
Doubling both dimensions gives 1024 × 1536 with the same shape. Enlarging this small source may look soft because interpolation cannot add original detail. To create a square crop instead, keep 512 × 512 and remove 128 pixels from the top and bottom when centered.
Ratio, resolution and units
A ratio compares width with height; it does not describe file size, compression or image quality. Enter both sides in pixels, inches or another matching unit. This calculator assumes square pixels for digital images. Video with a non-square pixel aspect ratio needs its display aspect ratio checked separately.
2:3 resizing examples
| Width | Exact height | Rounded height |
|---|---|---|
| 320 px | 480 px | 480 px |
| 640 px | 960 px | 960 px |
| 1080 px | 1620 px | 1620 px |
| 1920 px | 2880 px | 2880 px |
Decimal heights are displayed to four decimal places. Rounding can change the final ratio slightly. For an exact integer result, use dimensions that are whole-number multiples of 2:3.