The mass of a star can be estimated from its diameter using the equation R=M^{0.8} for main sequence stars, where R represents diameter. However, this relationship does not apply to non-main sequence stars, such as red giants and supergiants. For example, while the Sun's mass remains constant as it expands into a red giant, its radius significantly increases. Similarly, Betelgeuse has a mass 14 times that of the Sun but a radius 630 times greater. Understanding these distinctions is crucial for accurately determining stellar mass across different types of stars.