Measure how much of a page is readable text versus markup.
Estimating visible text weight from the word count and dividing by total page bytes gives the content share, with the rest counted as markup and scripts. A low ratio hints at a bloated shell around thin text. A page weighed down by markup loads slower and buries its meaning, so a healthy text ratio nudges SEO and user experience in the same direction.
Content to Code Ratio
Ratio = content bytes / total page bytes x 100
Ratio = content bytes / total page bytes x 100 Estimating visible text weight from the word count and dividing by total page bytes gives the content share, with the rest counted as markup and scripts. A low ratio hints at a bloated shell around thin text.
A page weighed down by markup loads slower and buries its meaning, so a healthy text ratio nudges SEO and user experience in the same direction.
This calculator takes 3 inputs: Content words, Total page bytes, Bytes per word. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.