CVR Energy (CVI) reported Q2 adjusted earnings late Wednesday of $0.34 per diluted share, swinging from a loss of $0.23 a year earlier.
Three analysts polled by FactSet expected a loss of $0.26.
Revenue for the three months ended June 30 rose to $2.74 billion, from $1.76 billion a year earlier.
Analysts expected $2.22 billion.
CVR Energy reported Q2 dividend of $0.10 per share, payable on Aug. 17 to stockholders of record as of Aug. 10.