Scales for typography are used in order to ensure consistency and harmony. They are typically based on a ratio and number of steps that are used to compute the font sizes.
How exactly you come up with a scale doesn't really matter. What's important is that you use one.
Below is a curated list of some of the most popular type scales.