Escaping unhurt after being involved in one of the most insane crashes in the history of motorsports is nothing but a miracle, and 17-year-old Brazilian Pedro Piquet has lived to tell the tale.

Pedro, the defending Brazilian Formula three champion, with team Cesário F3, suffered a horrific crash in the opening lap of the Porsche GT3 Cup Challenge race in Goiania, Brazil on Sunday.

The teenager's car came in contact with Ricardo Baptista's car at the Autodromo Internacional Ayrton Senna, and following the contact, Pedro's car lost control and flipped nine times in the ground and in the air.

A thick cloud of smoke and dust came out from near the car, making the spectators a worried bunch.

Pedro, the son of three-time Formula One Champion Nelson Piquet and younger brother of FIA Formula E champion Nelson Piquet Jr., was then taken to a hospital in Goiania for observation.

However, no major injury affected Pedro as he suffered just minor injuries to his hand along with some bruising on his face.

Also, no damage was done to either Baptista's car or any of the cars passing by the scene of the devastating crash, during the race.

Pedro posted a message on instagram, saying: "Just a small scare, I am fine up here. Thanks for all the support."

The 17-year-old currently leads the drivers' championships standings in the 2015 Brazilian Formula three season, and could be in line to retain his championship at the end of the year.

Watch the devastating crash: