The examples and the formula and notes on the cited page come down to the simple idea that the width of the character is half the size of the font.
This is just a rough rule and not very accurate, even average. The width depends on the font and character. "Average character width" is a very vague concept. In a print shop, for example. Robert Brinhurst’s Typographic Style Elements uses the length of the lowercase English alphabet (a to z) as a measure, but it actually means calculating the average of these letters, as if the texts consisted only of them and with each character equally frequent.
In fact, the average width of characters in English prose seems to be closer to 0.4 font size, not 0.5.
In conclusion, if you want to set the column width to, say, 50 characters, then a sensible attempt:
width: 20em; width: 50ch;
Older browsers that do not support the CSS3 ch block will use 20em , which corresponds to a score of 0.4. You can use a slightly larger ratio, or significantly more, if you have verified that your basic font suggestions are for fonts where the characters are relatively wide. But this is not an exact science. Even using the ch block is not an exact science, since it simply denotes the width of the zero digit (0), although this can be considered as a reasonable approximation of the "average character width".
Jukka K. Korpela
source share