A few years ago, I posted an idea on how to decide ideal font sizes for a screen. I’ve since simplified the method in a way that can be implemented into a website adaptively, and explained it in this image.

See my Typography Script on Github

 

4-step process for calculating the ideal font size for any screen