Aspect Ratio Calculator
English

1024x768 Aspect Ratio

1024 × 768 pixels has an aspect ratio of 4:3 (1.3333:1) and is known as XGA. It is a landscape size with 0.79 megapixels.

1. Find the aspect ratio

×
4:3
Decimal 1.3333 ·
aspect-ratio: 4 / 3;

2. Resize keeping the ratio

×
WidthHeightSize

1024x768 at a glance

Simplified ratio4:3
Decimal (width ÷ height)1.3333:1
Written as x:912:9
Closest standard ratioexactly 4:3 (Classic TV, iPad)
Megapixels0.79 MP (786,432 pixels)
Pixels compared with 1920 × 10800.38×
OrientationLandscape
CSSaspect-ratio: 4 / 3;
Padding-top trickpadding-top: 75%;

What is 1024x768 used for?

The classic 4:3 resolution of older monitors, projectors and early laptops. It has the same 4:3 shape as the iPad, and many slide templates and older web layouts were designed around it.

How the ratio is calculated

Divide both sides by their greatest common divisor (GCD). The GCD of 1024 and 768 is 256, so 1024 ÷ 256 = 4 and 768 ÷ 256 = 3, which gives 4:3. In CSS that is aspect-ratio: 4 / 3; with the older padding trick the height is 75% of the width.

Same-ratio sizes (4:3)

1024x768 scaled down and up without changing its shape. Rows marked ≈ are rounded to whole pixels, so they are less than one pixel off.

Size (px)ScaleMegapixels
256 × 19225%0.05
≈ 341 × 25633.3%0.09
512 × 38450%0.2
≈ 683 × 51266.7%0.35
768 × 57675%0.44
1024 × 768100%0.79
≈ 1365 × 1024133.3%1.4
1536 × 1152150%1.77
2048 × 1536200%3.15
3072 × 2304300%7.08
4096 × 3072400%12.58

Other standard 4:3 resolutions

Nearby common sizes

Frequently asked questions

What is the aspect ratio of 1024x768?

1024 × 768 has an aspect ratio of 4:3. The greatest common divisor of 1024 and 768 is 256; dividing both sides by it gives 4:3. As a decimal that is 1.3333:1.

How many megapixels is 1024x768?

1024 × 768 contains 786,432 pixels, or 0.79 megapixels. That is 0.38× the pixel count of 1920 × 1080 (Full HD).

Which sizes have the same aspect ratio as 1024x768?

Exact scaled versions include 256 × 192, 512 × 384, 768 × 576, 1536 × 1152, 2048 × 1536, 3072 × 2304, and 4096 × 3072. Standard resolutions with the same 4:3 ratio are 2048 × 1536. Any size of the form 4n × 3n has exactly the same shape.

How do I resize an image to 1024x768 without distortion?

Crop it to 4:3 first, then scale it to 1024 × 768. For any width W the matching height is W × 3 ÷ 4. The calculator on this page does the arithmetic: type a new width in box 2 and it fills in the height.

Open the full aspect ratio calculator All common resolutions · All platform sizes