Aspect Ratio Calculator: Screen Shapes, PPI and Real Screen Size
By FindMySum · Last reviewed
An aspect ratio calculator tells you the shape of a screen or image, the relationship between its width and its height, and helps you resize it without stretching. With a screen size added, it also gives the pixel density (PPI), the dot pitch and the physical width and height. This article covers each of those calculations, works through the calculator's default example of a 27-inch Full HD monitor, and explains why resolutions like 1366 × 768 or 3440 × 1440 don't reduce to the ratio they are sold as.
Reducing a resolution to a ratio
An aspect ratio is width to height in its simplest whole-number form. To get it, divide both numbers by their greatest common divisor (GCD), the largest number that divides both exactly. The quickest way to find it is Euclid's algorithm: repeatedly replace the larger number by the remainder of dividing it by the smaller, until the remainder is zero.
For 1920 × 1080: 1920 mod 1080 = 840, 1080 mod 840 = 240, 840 mod 240 = 120, 240 mod 120 = 0, so the GCD is 120. Dividing gives 16:9.
Ratios are also written as a single decimal, width divided by height. 16:9 is 1.78:1, and cinema formats are usually described this way (1.85:1, 2.39:1).
Ratios that don't reduce neatly
Not every resolution simplifies to the ratio on the box. 1366 × 768, common on budget laptops, reduces only to 683:384, because 1366 is 2 × 683 and 683 is prime. Its decimal ratio, 1.7786, is within 0.05% of 16:9, close enough that it is sold as a 16:9 panel. Ultrawide monitors are similar: 2560 × 1080 is exactly 64:27 (2.37:1), while 3440 × 1440 is 43:18 (2.39:1), and both are marketed as "21:9", although 21:9 itself would be 2.33:1. The calculator gives the exact reduced ratio and, separately, the named ratio the shape is closest to, when it is within 3%.
Resizing without stretching
To keep the shape when changing one dimension, scale the other by the same factor:
new height = new width × original height ÷ original width
Shrinking 1920 × 1080 to 1280 pixels wide gives 1280 × 1080 ÷ 1920 = 720, so 1280 × 720, which is the standard 720p HD size. When the result is not a whole number, the calculator rounds to the nearest pixel, which changes the shape by less than one pixel.
Pixel density and dot pitch
Screens are sold by their diagonal, so pixel density starts from the diagonal in pixels, found with Pythagoras' theorem:
diagonal (px) = √(width² + height²)
PPI = diagonal (px) ÷ diagonal (inches)
Dot pitch, the distance between the centres of neighbouring pixels, is the inverse of density converted to millimetres: dot pitch = 25.4 ÷ PPI, since an inch is exactly 25.4 mm.
Worked example with the default settings
The calculator opens with a 1920 × 1080 screen with a 27-inch diagonal.
- Ratio: GCD 120, so 16:9 (1.7778:1).
- Diagonal in pixels: √(1920² + 1080²) = √4,852,800 = 2,202.91 px.
- Density: 2,202.91 ÷ 27 = 81.59 PPI, or 32.12 pixels per centimetre.
- Dot pitch: 25.4 ÷ 81.59 = 0.3113 mm.
- Width: 27 × 1920 ÷ 2,202.91 = 23.53 in (59.77 cm). Height: 27 × 1080 ÷ 2,202.91 = 13.24 in (33.62 cm).
- Total pixels: 2,073,600, about 2.07 megapixels.
The same 27-inch size with QHD (2560 × 1440) gives 108.79 PPI, and with 4K UHD (3840 × 2160) 163.18 PPI. The physical width and height stay the same because the shape is the same.
When pixels become invisible
A person with 20/20 vision can make out detail about one minute of arc wide, one sixtieth of a degree. Once a single pixel takes up less than that angle, neighbouring pixels blend together. The distance where that happens is:
distance = 1 ÷ (PPI × tan 1′) ≈ 3,438 ÷ PPI inches
For the default 27-inch Full HD monitor that is about 42 inches (107 cm), farther than most people sit from a desk monitor, which is why its pixels can be visible. For a 27-inch 4K monitor it falls to about 21 inches, and for a phone at 450 PPI or more it is under 8 inches. This is the idea behind "retina" marketing. It is a guide rather than a hard limit: many people see better than 20/20, and fine diagonal lines and text edges can show aliasing beyond this distance.
Choosing a screen
Use the calculator to compare models on equal terms. Two monitors with the same diagonal but different shapes have different areas: a 34-inch 21:9 ultrawide is about 31.4 inches wide but only 13.1 inches tall, the same height as a 27-inch 16:9 monitor. If you mostly read documents, height matters more than diagonal; for games and films, width and density usually matter most.
More questions
What PPI do I need for a monitor?
It depends on how far away you sit. At a typical desk distance of 60 to 80 cm (24 to 32 inches), around 110 PPI looks sharp at normal scaling, which is why 27-inch QHD (109 PPI) is a popular choice. Higher densities such as 27-inch 4K (163 PPI) look crisper but usually need the operating system to scale text and icons up by 150% or so, otherwise everything is too small to read comfortably.
Why do photos print with a different shape from my screen?
Common print sizes have different aspect ratios from screens and camera sensors. A 6 × 4 inch print is 3:2, matching most DSLR and mirrorless sensors, but 7 × 5 is 1.4:1 and 10 × 8 is 5:4, so a 3:2 photo must be cropped to fit them. Phone photos are usually 4:3, which crops on 6 × 4 prints. Check the ratio of the print size against your photo before ordering.
What is the difference between PPI and DPI?
PPI counts the pixels per inch on a screen or in a digital image. DPI (dots per inch) strictly describes printers, which build each pixel out of many tiny ink dots, so a 300 DPI print setting and a 1,200 DPI printer resolution measure different things. People often use DPI loosely to mean PPI, especially for scanners and image files, which is where the confusion comes from.
Should I letterbox or crop a video to change its aspect ratio?
Letterboxing (black bars above and below) or pillarboxing (bars at the sides) keeps the whole picture but wastes screen area. Cropping fills the screen but cuts off part of the frame. Stretching does neither well and distorts people and circles into ovals. For social video, export in the platform's preferred shape, such as 9:16 for vertical stories, and frame the important action near the centre so a crop doesn't lose it.
Does a bigger screen with the same resolution look worse?
It has lower pixel density, so it looks softer up close. A 1920 × 1080 picture on a 24-inch monitor is 92 PPI, but on a 32-inch monitor it drops to 69 PPI and individual pixels become visible at desk distance. TVs get away with large sizes at 1080p or 4K because they are watched from two or three metres, where the eye cannot resolve the pixels anyway.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.