The advantages of using the formulas are:
You learn more details of the internals of data and index storage.
The formulas provide flexibility for specifying averages sizes for character or binary columns.
While computing the index size, you see how many levels each index has, which helps estimate performance.