Jan 27 (Reuters) - U.S. refiner Valero Energy Corp posted a quarterly profit on Thursday, compared with a year-ago loss, as demand for fuel and refined products soared due to a vaccine-fueled economic recovery.

Valero said net income attributable to stockholders stood at $1.01 billion, or $2.46 per share, for the three months ended Dec. 31, compared with a loss of $359 million, or 88 cents per share, a year earlier. (Reporting by Shariq Khan; Editing by Ramakrishnan M.)