Red giant and the creation of a planetary nebula finally ends the red-giant phase of the star's evolution. The red-giant phase typically lasts only around a billion years in total for a solar mass star, almost all of which is spent on the red-giant branch. The horizontal-branch and asymptotic-giant-branch phases proceed tens of times faster. If the star has about 0.2 to , it is massive enough to become a red giant but does not have enough mass to initiate the fusion of helium. These "intermediate" stars cool somewhat and increase their luminosity but never achieve the tip of the red-giant branch
Subgiant than core hydrogen burning. Low- and intermediate-mass stars expand and cool until at about 5,000 K they begin to increase in luminosity in a stage known as the red-giant branch. The transition from the main sequence to the red giant branch is known as the subgiant branch. The shape and duration of the subgiant branch varies for stars of different masses, due to differences in the internal configuration of the star. Stars less massive than about are convective throughout most of the star. These stars continue to fuse hydrogen in their cores until essentially the entire star has been converted