bit more than 40 million years, noodle - more like approx. 5 billion years, at which time it is predicted that Sol we become a red dwarf.
Some of the numbers associated with the Sun are staggering;
"The Sun is about halfway through its main-sequence stage, during which nuclear fusion reactions in its core fuse hydrogen into helium. Each second, more than four million tonnes of matter are converted into energy within the Sun's core, producing neutrinos and solar radiation. At this rate, the Sun has so far converted around 100 Earth-masses of matter into energy. The Sun will spend a total of approximately 10 billion years as a main-sequence star"
4 million tonnes of matter per second converted to energy, and it has been burning at that rate for around 4.5 billion years, and will be burning mass at that same rate for another 5 billion!! Gives you a real sense of the sheer immensity of the Sun :)