Google released a study on Thursday that shows that it can predict box office revenue for films with incredible accuracy, just by using search data.

The Internet search giant’s media and entertainment analyst, Andrea Chen, wrote in a blog post that the study, titled ‘Quantifying Movie Magic with Google Search,’ was based on data related to the 99 top grossing hits from 2012. Google concluded that there is a direct correlation between search and ad-clicking activity and with the amount of money each film made.

The study showed that searching in Google’s movie category grew by 56 percent from 2011 to 2012, even though Hollywood actually released fewer films. That shows that people are only doing more research before they decide what movies to spend their hard-earned money on.

According to The Hollywood Reporter, Google then said that by tracking the YouTube searches for trailers four weeks out before a film is released, it could peg the opening weekend numbers with 94 percent accuracy.

To get its prediction, Google takes searches for the film’s title, trailer volume, theater counts and other data.

One of the more interesting points in the study is that on slow box office weekends, Google will see more searches for “new movies,” “movie tickets” and other generic terms. But on the weekends that major tentpoles like The Hunger Games andThe Avengers came out, people searched specifically for those titles.

Google does have one important lesson - 48 percent of people are still deciding to buy their movie tickets on the day they go to see a movie. So, once a movie comes out, it’s important for a studio to continue promoting it online.