Stronger than expected resource revenue helped the Saskatchewan government finish the last fiscal year with a deficit almost $400 million smaller than initially forecast.

The province finished 2017-18 spending $303 million more than it took in.

But that's $393 million better than what was projected in last year's budget.

Finance Minister Donna Harpauer says a stronger performance in the oil and potash sectors helped.

Other factors included an increase in provincial sales tax to six per cent from five per cent and lower crop insurance claims.

Harpauer says her government is on track to return the province to a balanced budget by 2019-20.