Andy Weir at Johnson Space Center.
Andy Weir at Johnson Space Center. - 
Listen To The Story

The movie "The Martian," directed by Ridley Scott and starring Matt Damon, hits theaters this Friday. It's a big-budget Hollywood production about an astronaut stranded on Mars using his wits to survive. But this man-versus-nature epic has a surprisingly humble origin. It was initially published online for free by computer programmer Andy Weir, who used his computer design background and the combined knowledge of his readers to write what might be the most scientifically detailed novel about space travel. 

After offering "The Martian" as a free web serial online, Weir was met with a demand for an easier way to access the his writing on e-readers. So he listed his book for the cheapest price available on Amazon: 99 cents. The publication quickly became a best-seller on the site. Soon, Weir sealed a print deal with Random House and a film deal with Twentieth Century Fox. 

During the writing process, Weir wanted to make his story as realistic as possible. An experienced computer programmer, he built his own computer simulation of the orbital trajectory. But there were also places in the story where he sacrificed accuracy for drama. In the beginning of the book, for example, the protagonist confronts a sandstorm on Mars. In reality, that would feel like "somebody blowing on you on Earth," Weir explains.

But in a man-versus-nature story, Weir wanted "nature to get the first punch."

Click on the multimedia player below to hear the extended conversation with Andy Weir. 

“I think the best compliment I can give is not to say how much your programs have taught me (a ton), but how much Marketplace has motivated me to go out and teach myself.” – Michael in Arlington, VA

As a nonprofit news organization, what matters to us is the same thing that matters to you: being a source for trustworthy, independent news that makes people smarter about business and the economy. So if Marketplace has helped you understand the economy better, make more informed financial decisions or just encouraged you to think differently, we’re asking you to give a little something back.

Become a Marketplace Investor today – in whatever amount is right for you – and keep public service journalism strong. We’re grateful for your support.

Follow Molly Wood at @mollywood