Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Screen Sizes, Pixel Density and A/B Tests: Numbers That Settle Arguments

· in Guides

Cover picture: Screen Sizes, Pixel Density and A/B Tests: Numbers That Settle Arguments

Work out pixels per inch and the right viewing distance for any screen, then learn how to tell if version B of a web page really beats A.

Two arguments come up again and again: "is that screen sharp enough?" and "did our change really work?" Both have clear answers once you do the maths, and two new tools do it for you.

How sharp is a screen?

Sharpness depends on pixel density: pixels per inch, or PPI. Take the number of pixels along the diagonal and divide by the diagonal's length. For a 27 inch monitor at 2560 × 1440:

  • the diagonal has √(2560² + 1440²) ≈ 2937 pixels
  • 2937 ÷ 27 ≈ 109 PPI

The same monitor at 4K (3840 × 2160) reaches about 163 PPI. A 24 inch Full HD screen is only about 92 PPI.

Tip: the diagonal hides the shape. A 34 inch ultrawide is about as tall as a 27 inch 16:9 monitor, just much wider. Compare heights, not diagonals.

How far away should you sit?

Normal (20/20) vision separates details about one arcminute apart (1/60 of a degree). Sit further than the distance where one pixel shrinks below that, and the pixels blend into a smooth picture.

For TVs, home-cinema guidance talks about the angle the screen fills. A 65 inch TV is about 57 inches wide. To fill a comfortable 30° of your view, sit about 57 ÷ (2 × tan 15°) ≈ 106 inches away, roughly 2.7 m. For a cinema-like 40°, sit about 78 inches (2 m) away.

Did version B really win?

You change a button and conversions go from 500 out of 10,000 visitors (5.0 %) to 570 out of 10,000 (5.7 %). Is that real, or luck?

The A/B test calculator runs a two-proportion z-test. Here z ≈ 2.2 and p ≈ 0.028. That means a difference this big would happen less than 3 % of the time if the two versions were really the same, so it is significant at 95 %.

But plan before you test. To reliably detect a change from 5 % to 5.5 % (a 10 % relative lift) at 95 % significance and 80 % power, you need about 31,234 visitors per version. Halve the change you want to detect and you need about four times as many visitors.

Tip: decide the sample size first and stop when you reach it. Peeking every day and stopping at the first good-looking result produces false winners.

Both tools run in your browser, with your numbers kept on your device. Try them beside this post.

Tags:

All blog posts

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product