Fernando Alonso says Ferrari can beat Red Bull despite finishing sixth and tenth as Daniel Ricciardo won in Canada.

Ahead of the Canadian Grand Prix, Alonso said the target was to beat the two Red Bull cars and try to edge closer to it in the constructors' championship. However, with Ricciardo winning the race - his first F1 victory - and Sebastian Vettel third, Ferrari lost 31 points to Red Bull and dropped 52 points behind its rival for second place.

While Alonso admitted it wasn't an easy target to chase, he said it had been one that he himself has set and feels the gap in time shows Ferrari is not too far away.

"It was an ambitious target but it was my target," Alonso said. "I am an ambitious target and I try to help my team all the time. My target now is to help my team in the constructors' championship to get second place. I think we will try to do so. There's a long way to go and [in Canada] we lost many points but we will try to recover as soon as possible.

"I finished 14 seconds behind the two Red Bulls, so I don't think it's a too big distance or something that we cannot recover in the rest of the season. I am sure I will recover these 14 seconds and try to finish ahead of the Red Bulls next time."

And Alonso also said Ferrari would take hope from Red Bull's surprise victory in Canada.

"We saw [in Canada] anything can happen in Formula One. If someone told us that Red Bull would win a race in the first seven or eight races of the championship after the last week of testing then nobody would believe them.

"Mercedes was so dominant, but then suddenly they had some mechanical issues and you need to be there to take the opportunity and Red Bull was there. So that gives us some motivation, that shows us how things can change quickly in Formula One over a race weekend. It can be the weather, it can be safety cars, there are many factors that can dictate the final result of a Formula One grand prix.

"So, can we win a race this year? Yes, obviously, anything can happen."