Some close calls are enough to keep you awake at night, especially if they concern huge chunks of flaming rock smashing into the planet.

Astronomers marked one such close shave at the weekend after an asteroid larger than a Blue Whale whizzed between the Earth and the moon – a hair’s breadth in astronomical terms.

Brazilian sky watchers had only just discovered the asteroid, called 2016 QA2, the day before it zoomed by within 50,000 miles (80,000 km) of Earth.

Scroll down for video

Astronomers in Brazil captured a close shave on Sunday, as an asteroid between 80 and 180 feet wide passed between the Earth and the moon (stock image used)

HOW CLOSE DID IT PASS? Astronomers in Brazil believe asteroid 2016 QA2 passed within 50,000 miles (80,000 km) of Earth. For comparison, the average distance to the moon is 239,000 miles (384,000 km). Advertisement

That's less than a quarter of the distance between Earth and the moon.

Astronomers at the Sonear observatory in Brazil discovered the rock on Saturday 27th August, and estimate its size to be between 80 and 180 feet wide (25 and 55 metres).

The upper end of the range would make it far larger than the object which exploded over Chelyabinsk in Russia in 2013, smashing windows and injuring more than 1,000 people.

The team at Sonear believes the asteroid has been travelling in an elliptical orbit around the sun, completing a lap of the star approximately once every 350 days.

But its orbit is more elliptical than Earth’s, sending it slightly further out from the sun – around 1.2 times the distance from the Earth to the sun.

Scientists at the Sonear observatory believe the asteroid has been travelling in an elliptical orbit around the sun, completing a lap of the star approximately once every 350 days, and bringing it so close to Earth. Still of orbit animation pictured

The space rock passed within 50,000 miles (80,000 km) of Earth. For comparison, the average distance to the moon is 239,000 miles (384,000 km)

A network of telescopes is trained on the skies to watch for asteroids coming within striking distance of Earth.

While the majority of these near Earth objects (NEOs) pose little real threat to us, but astronomers are closely monitoring a number which are potentially hazardous.

An object the size of 2016 QA2 – as named by the Minor Planet Center – would certainly do significant damage at the local scale, it wouldn’t be enough to wipe out civilisation.

For comparison, the rock which caused the Chicxulub crater – believed to be responsible for the demise of the dinosaurs – was about 6.2 miles (10km) across.

But the rock which hit Tunguska in Siberia in 1908, scorching forest and flattening trees across thousands of square miles, is believed to have been between 200 and 620 feet wide (60 and 190 metres).

According to Space.com, an asteroid would need to be of larger than 0.6 miles wide (1 km) to have the force to wipe out humanity.